No show of blog content in browser after update of s9y to 2.5-beta1 & php to v8.2.15 on provider side

Having trouble installing serendipity?
Post Reply
Walter
Regular
Posts: 7
Joined: Mon Sep 14, 2015 4:44 pm

No show of blog content in browser after update of s9y to 2.5-beta1 & php to v8.2.15 on provider side

Post by Walter »

Hi,
I'm experiencing a similar problem as 2 years ago: No show of our blog content in the browser after updates of Serendipity and php. At that time, I was able to identify some plugins as culprits.

So, again, I should check the error-log file first for fatal errors before asking for more specific help. But, unfortunately, I absolutely cannot remember where the heck I may find the error-login file. So, it's a trivial save silly question (excuse me for that): Where should I look for this error-login file? Within serendipity, in the htdocs, ... ?
Thank you for your kind consideration,
Walter
onli
Regular
Posts: 2829
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: No show of blog content in browser after update of s9y to 2.5-beta1 & php to v8.2.15 on provider side

Post by onli »

It's a valid question. Serendipity could try to capture the error file, write the errors to something under its control. But it does not, so the PHP error file will be somewhere your hoster configured it to be.

On a typical linux machine, that would be /var/log/apache2/error.log. On uberspace as a hoster, you enable them via a terminal and then it is under ~/logs, see https://manual.uberspace.de/web-logs/. Your provider should have some documentation about this, the keywords might be logs, PHP error logs, webserver logs or Apache error logs.

Does this help? If not, tell us what is your provider, maybe we can find the correct documentation.
Walter
Regular
Posts: 7
Joined: Mon Sep 14, 2015 4:44 pm

Re: No show of blog content in browser after update of s9y to 2.5-beta1 & php to v8.2.15 on provider side

Post by Walter »

... my provider is 'strato' and in the user's management space there is, under the path
statistik -> logfiles -> error-logs, a simple way for downloading the most recent error-logfile
(can be pretty huge: up to 100000 lines) Here is an excerpt showing the PHP Fatal error:

////////////////////////////// begin of error-logfile excerpt //////////////////
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: PHP Fatal error: Uncaught mysqli_sql_exception: Table 'DB2158873.seren_visitors_count' doesn't exist in /mnt/web206/c2/99/54486999/htdocs/serendipity_01/include/db/mysqli.inc.php:68: /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: Stack trace:: /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #0 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/include/db/mysqli.inc.php(68): mysqli_query(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #1 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/plugins/serendipity_event_statistics/serendipity_plugin_statistics.php(214): serendipity_db_query(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #2 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/include/plugin_api.inc.php(971): serendipity_plugin_statistics->generate_content(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #3 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/include/functions_smarty.inc.php(645): serendipity_plugin_api::generate_plugins(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #4 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/templates_c/2k11/21/a0/50/21a05067a3a4fd00a47c6dd605fc9cf7e5c9b2db_0.file.index.tpl.php(163): serendipity_smarty_printSidebar(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #5 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/bundled-libs/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_65b58d0025dd83_40130736(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #6 /mnt/web206/ c2/99/54486999/htdocs/serendipity_01/bundled-libs/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #7 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/bundled-libs/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(): /home/str ato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #8 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/bundled-libs/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #9 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/bundled-libs/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #10 /mnt/web206/c2/99/54486999/htdocs/serendipity_01/index.php(124): Smarty_Internal_TemplateBas e->display(): /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: #11 {main}: /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php
14.02.2024 15:52:35 marxuwa.eu [client 144.76.67.0] AH01215: thrown in /mnt/web206/c2/99/54486999/htdocs/serendipity_01/include/db/mysqli.inc.php on line 68: /home/strato/http/power/rid/69/99/54486999/htdocs/serendipity_01/index.php

////////////////// end of error-log excerpt //////////////////////

As 2 years ago, interpreting the error-logfile is far beyond my capacity, so do hope for your help...

Yesterday, I saw, that the new stable serendipity-version 2.5.0 is available and I thought this could probably solve my problem. But, unfortunately, after starting the Serendipity Auto-Upgrade Processor' , I got stuck with this messages:

"""
Download, verify, check, unzip, copy, remove temporary stuff for Serendipity Update: 2.5.0
may take a little while...
- PHP max execution time set to 210 seconds
- Fetch download to templates_c done

- Checking MD5 zip file checksum:
Error. Could not verify the update. ... ==> updating to s9y v2.5.0 stops!

So, updating serendipity to v2.5.0 is an additional problem ....
onli
Regular
Posts: 2829
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: No show of blog content in browser after update of s9y to 2.5-beta1 & php to v8.2.15 on provider side

Post by onli »

Delete this file (you can do a backup on your PC): serendipity_01/plugins/serendipity_event_statistics/serendipity_plugin_statistics.php

That should avoid the problem, if it's only about the missing table. If afterwards it is still broken you should check the error-log again - we have to make certain your database is not simply gone.
Walter wrote: Thu Feb 15, 2024 6:07 pm Yesterday, I saw, that the new stable serendipity-version 2.5.0 is available and I thought this could probably solve my problem. But, unfortunately, after starting the Serendipity Auto-Upgrade Processor' , I got stuck with this messages:
If the Auto-Upgrader does not work you can do the download manually. You download the new release from https://github.com/s9y/Serendipity/releases/tag/2.5.0, the .zip, and then extract in on the server or extract it on your pc and upload it over the old files via an FTP program. See https://docs.s9y.org/docs/users/getting ... ading.html.

Thanks though for reporting the issue, the auto-upgrader should work. Maybe I can test this out next week, if no one else has it fixed till then.
Walter
Regular
Posts: 7
Joined: Mon Sep 14, 2015 4:44 pm

Re: Problem solved! The blog content appears in browser

Post by Walter »

It works! By deleting the indicated file, the blog content appears again in the browser. Thanks a lot, onli, for your efficent support.

As for updating to 'serendipity stable v2.5.0' I'll better wait for the update of the automatic upgrade-processor. Taking into account my sound half-knowledge I likely would destroy more than achieve ...
Post Reply