Announcement

#1 2024-04-24 11:26:53

gregstah
Member
2020-10-04
1

Can't get into admin after recent update

Hi, I've just installed 14.0.0. It worked fine, but I also ran into the Strip_html error.

After upgrading to the latest version, I can login but I can't get into the admin page.

**Update: I've just re-installed the previous version and I'm experiencing the same error. :-( **

My php version is 8.2 It seems I can go to admin for the first time, after that, clicking the admin link crashes.


Here is the error generated:


Fatal error: Uncaught DivisionByZeroError: Division by zero in /home3/greglley/public_html/gallery/_data/templates_c/p6jhns^a23a3b9ce5cfbb9a5c92487938c8e53ac3ea9f47_0.file.intro.tpl.php:504 Stack trace: #0 /home3/greglley/public_html/gallery/include/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6628c736a87111_12603351(Object(Smarty_Internal_Template)) #1 /home3/greglley/public_html/gallery/include/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #2 /home3/greglley/public_html/gallery/include/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #3 /home3/greglley/public_html/gallery/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0) #4 /home3/greglley/public_html/gallery/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0) #5 /home3/greglley/public_html/gallery/include/template.class.php(483): Smarty_Internal_TemplateBase->fetch('intro.tpl') #6 /home3/greglley/public_html/gallery/include/template.class.php(406): Template->parse('intro', true) #7 /home3/greglley/public_html/gallery/admin/intro.php(497): Template->assign_var_from_handle('ADMIN_CONTENT', 'intro') #8 /home3/greglley/public_html/gallery/admin.php(346): include('/home3/greglley...') #9 {main} thrown in /home3/greglley/public_html/gallery/_data/templates_c/p6jhns^a23a3b9ce5cfbb9a5c92487938c8e53ac3ea9f47_0.file.intro.tpl.php on line 504

Last edited by gregstah (2024-04-24 14:02:21)

Offline

 

#2 2024-04-24 22:08:17

erAck
Only trying to help
2015-09-06
2075

Re: Can't get into admin after recent update

Searching the forum for DivisionByZeroError reveals a topic of which [Forum, post 188544 by erAck in topic 33290] Cannot view admin after first synchronization. Getting an error. might help.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2024-06-06 11:07:11

eriklysoe
Member
2021-07-24
4

Re: Can't get into admin after recent update

Same problem here, a cache purge did not help. No access to admin page

Fatal error: Uncaught DivisionByZeroError: Division by zero in /config/www/_data/templates_c/p6jhns^97fe272ea0e342f147a8d8650c738e329e4c10f1_0.file.intro.tpl.php:504 Stack trace: #0 /app/www/public/include/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_666171f3f1fee7_97525670() #1 /app/www/public/include/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #2 /app/www/public/include/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #3 /app/www/public/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #4 /app/www/public/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #5 /app/www/public/include/template.class.php(483): Smarty_Internal_TemplateBase->fetch() #6 /app/www/public/include/template.class.php(406): Template->parse() #7 /app/www/public/admin/intro.php(497): Template->assign_var_from_handle() #8 /app/www/public/admin.php(346): include('...') #9 {main} thrown in /config/www/_data/templates_c/p6jhns^97fe272ea0e342f147a8d8650c738e329e4c10f1_0.file.intro.tpl.php on line 504

Offline

 

#4 2024-06-06 14:50:38

erAck
Only trying to help
2015-09-06
2075

Re: Can't get into admin after recent update

Did you mean that pointing your browser to
https://YourPiwigoSite/admin.php?page=maintenance
and refreshing cache size there as indicated in the post I mentioned did not help?
Then try the second advice given, editing the admin/intro.php file.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact