Page 1 of 1

Posted yesterday - today !!!

Posted: Fri Aug 12, 2022 12:51 pm
by ctsnww
Hi Guys,

Yesterday I posted without any issues. Today when I went to log in - the login page was malformed and the login failed.

Any advice appreciated:

== ERROR-REPORT (DEBUGGING ENABLED) ==

== (When you copy this debug output to a forum or other places, make sure to remove your username/passwords, as they may be contained within function calls) ==

#0 /home/sites/5b/b/b693dcd14b/public_html/blog/plugins/serendipity_event_responsiveimages/lang_en.inc.php(8): errorToExceptionHandler(2, 'Constant PLUGIN...', '/home/sites/5b/...', 8)
#1 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(1269): include('/home/sites/5b/...')
#2 /home/sites/5b/b/b693dcd14b/public_html/blog/plugins/serendipity_event_responsiveimages/serendipity_event_responsiveimages.php(7): serendipity_plugin_api::load_language('/home/sites/5b/...')
#3 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(673): include('/home/sites/5b/...')
#4 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(1092): serendipity_plugin_api::load_plugin('serendipity_eve...', '0', '')
#5 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(1141): serendipity_plugin_api::get_event_plugins()
#6 /home/sites/5b/b/b693dcd14b/public_html/blog/include/functions_config.inc.php(538): serendipity_plugin_api::hook_event('backend_login', false, NULL)
#7 /home/sites/5b/b/b693dcd14b/public_html/blog/include/functions_config.inc.php(374): serendipity_authenticate_author('********', '********', false, false)
#8 /home/sites/5b/b/b693dcd14b/public_html/blog/serendipity_config.inc.php(371): serendipity_login(false)
#9 /home/sites/5b/b/b693dcd14b/public_html/blog/serendipity_admin.php(9): include('/home/sites/5b/...')

Warning: Constant PLUGIN_EVENT_RESPONSIVE_NAME already defined in /home/sites/5b/b/b693dcd14b/public_html/blog/plugins/serendipity_event_responsiveimages/lang_en.inc.php on line 8.

== ERROR-REPORT (DEBUGGING ENABLED) ==

== (When you copy this debug output to a forum or other places, make sure to remove your username/passwords, as they may be contained within function calls) ==

#0 /home/sites/5b/b/b693dcd14b/public_html/blog/include/compat.inc.php(254): errorToExceptionHandler(1, 'Uncaught ErrorE...', '/home/sites/5b/...', 8)
#1 [internal function]: fatalErrorShutdownHandler()

Fatal Error: Uncaught ErrorException: Warning: Constant PLUGIN_EVENT_RESPONSIVE_NAME already defined in /home/sites/5b/b/b693dcd14b/public_html/blog/plugins/serendipity_event_responsiveimages/lang_en.inc.php:8
Stack trace:
#0 /home/sites/5b/b/b693dcd14b/public_html/blog/plugins/serendipity_event_responsiveimages/lang_en.inc.php(8): errorToExceptionHandler(2, 'Constant PLUGIN...', '/home/sites/5b/...', 8)
#1 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(1269): include('/home/sites/5b/...')
#2 /home/sites/5b/b/b693dcd14b/public_html/blog/plugins/serendipity_event_responsiveimages/serendipity_event_responsiveimages.php(7): serendipity_plugin_api::load_language('/home/sites/5b/...')
#3 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(673): include('/home/sites/5b/...')
#4 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(1092): serendipity_plugin_api::load_plugin('serendipity_eve...', '0', '')
#5 /home/sites/5b/b/b693dcd14b/public_html/blog/include/plugin_api.inc.php(1141): serendipity_plugin_api::get_event_plugins()
#6 /home/sites/5b/b/b693dcd14b/public_html/blog/include/functions_config.inc.php(538): serendipity_plugin_api::hook_event('backend_login', false, NULL)
#7 /home/sites/5b/b/b693dcd14b/public_html/blog/include/functions_config.inc.php(374): serendipity_authenticate_author('********', '********', false, false)
#8 /home/sites/5b/b/b693dcd14b/public_html/blog/serendipity_config.inc.php(371): serendipity_login(false)
#9 /home/sites/5b/b/b693dcd14b/public_html/blog/serendipity_admin.php(9): include('/home/sites/5b/...')
#10 {main}
thrown in /home/sites/5b/b/b693dcd14b/public_html/blog/plugins/serendipity_event_responsiveimages/lang_en.inc.php on line 8.

Re: Posted yesterday - today !!!

Posted: Mon Aug 15, 2022 12:08 pm
by onli
I assume something changed on your server. Is it possible your hoster raised the PHP version? That would explain why it now dies when the constant is defined twice. If you now run PHP 8 you should upgrade to https://github.com/s9y/Serendipity/rele ... /2.4-beta1