Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with PHP7. #2

Closed
Jonadabe opened this issue Oct 7, 2017 · 1 comment
Closed

Error with PHP7. #2

Jonadabe opened this issue Oct 7, 2017 · 1 comment

Comments

@Jonadabe
Copy link

Jonadabe commented Oct 7, 2017

Hi there,

Thank you for your great work on Piwigo.
I got this error accessing profile.php:

Deprecated: Function mcrypt_get_iv_size() is deprecated in /home/.../public_html/piwigo/plugins/Subscribe_to_Comments/include/functions.inc.php on line 579

Deprecated: Function mcrypt_create_iv() is deprecated in /home/.../public_html/piwigo/plugins/Subscribe_to_Comments/include/functions.inc.php on line 580

Deprecated: Function mcrypt_encrypt() is deprecated in /home/.../public_html/piwigo/plugins/Subscribe_to_Comments/include/functions.inc.php on line 581

Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/piwigo/plugins/Subscribe_to_Comments/include/functions.inc.php:579) in /home/.../public_html/piwigo/include/page_header.php on line 101

@mistic100
Copy link
Member

The encrypt/decrypt methods could be rewritten using OpenSSL if available https://paragonie.com/blog/2015/05/if-you-re-typing-word-mcrypt-into-your-code-you-re-doing-it-wrong

Keeping in mind that old share links must still be decoded with mcrypt (the new links encrypted with OpenSSL must have a distinct prefix).

Unfortunately I am done with PHP.

@Jonadabe Jonadabe closed this as completed Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants