Jump to content
  • Error 500 on front after upgrade


    Hello,

    I sent an email, was asked to post my problem here.

    I have already published a few messages in a similar topic but the solution does not work for my case.

    1. We had a test site 4.7.17 (or 18 don't remember). 
    2. I uploaded the beta files
    3. I launched the update
    4. I had to run some SQL queries myself
    5. I then arrive on the confirmation page inviting you to go to the site and the admin.
    6. The front returns a 500 error
    7. Admin works

    I checked the history of "Promoted", the file was deleted, and the table that should contain this same information does not contain it.

    I sent you by email full access to the site/server/... if you ever wanted to take a look.

    Also note:
    - I have several error records, here is a screen

    Could contain: Page, Text, File, Webpage


    - I have an alert regarding the URL rewriting, however the .htaccess file provided is located at the root and the rewriting mode is activated.

    Could contain: File, Webpage, Page, Text

    Could contain: Page, Text

    Could contain: Text, Page

     

    [Mon Oct 14 22:41:12.448259 2024] [fastcgi:error] [pid 238719:tid 139989987862080] [client 109.78.166.20:49021] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Type of IPS\\core\\Statuses\\_Status::$commentClass must be ?string (as in class IPS\\Content\\Item) in /home/.../applications/core/sources/Statuses/Status.php on line 23
    [Mon Oct 14 22:46:29.192311 2024] [fastcgi:error] [pid 238718:tid 139990004647488] [client 81.65.95.136:6067] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Declaration of IPS\\forums\\widgets\\_hotTopics::isExecutableByApp($app) must be compatible with IPS\\Widget::isExecutableByApp(array|string $app): bool in /home/.../applications/forums/widgets/hotTopics.php on line 62, referer: https://dev.internazionale.fr/admin/?app=core&module=support&controller=support
    [Mon Oct 14 22:52:39.615475 2024] [fastcgi:error] [pid 238719:tid 139989987862080] [client 72.185.241.157:45961] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Declaration of IPS\\forums\\widgets\\_hotTopics::isExecutableByApp($app) must be compatible with IPS\\Widget::isExecutableByApp(array|string $app): bool in /home/.../applications/forums/widgets/hotTopics.php on line 62
    [Mon Oct 14 22:54:08.334021 2024] [fastcgi:error] [pid 238718:tid 139990935680576] [client 1.123.53.61:41091] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Type of IPS\\core\\Statuses\\_Status::$commentClass must be ?string (as in class IPS\\Content\\Item) in /home/.../applications/core/sources/Statuses/Status.php on line 23
    [Mon Oct 14 22:57:35.792042 2024] [fastcgi:error] [pid 238719:tid 139989476169280] [client 81.65.95.136:6562] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Declaration of IPS\\forums\\widgets\\_hotTopics::isExecutableByApp($app) must be compatible with IPS\\Widget::isExecutableByApp(array|string $app): bool in /home/.../applications/forums/widgets/hotTopics.php on line 62, referer: https://dev.internazionale.fr/admin/?app=cms&module=pages&controller=pages&subnode=1&do=form&id=67
    [Mon Oct 14 23:02:22.531803 2024] [fastcgi:error] [pid 238719:tid 139990541518400] [client 81.65.95.136:5772] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Declaration of IPS\\forums\\widgets\\_hotTopics::isExecutableByApp($app) must be compatible with IPS\\Widget::isExecutableByApp(array|string $app): bool in /home/.../applications/forums/widgets/hotTopics.php on line 62, referer: https://dev.internazionale.fr/admin/?app=cms&module=pages&controller=pages&subnode=1&do=form&id=67
    [Mon Oct 14 23:02:36.253691 2024] [fastcgi:error] [pid 238719:tid 139990533125696] [client 81.65.95.136:5415] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Declaration of IPS\\forums\\widgets\\_hotTopics::isExecutableByApp($app) must be compatible with IPS\\Widget::isExecutableByApp(array|string $app): bool in /home/.../applications/forums/widgets/hotTopics.php on line 62, referer: https://dev.internazionale.fr/admin/?app=cms&module=pages&controller=pages&subnode=1&do=form&id=67
    [Mon Oct 14 23:07:09.961003 2024] [fastcgi:error] [pid 238719:tid 139989987862080] [client 81.65.95.136:5868] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Declaration of IPS\\forums\\widgets\\_hotTopics::configuration(&$form = null) must be compatible with IPS\\Widget::configuration(?IPS\\Helpers\\Form &$form = null): IPS\\Helpers\\Form in /home/.../applications/forums/widgets/hotTopics.php on line 47, referer: https://dev.internazionale.fr/admin/?app=cms&module=pages&controller=pages&subnode=1&do=form&id=67
    [Mon Oct 14 23:07:11.225574 2024] [fastcgi:error] [pid 238719:tid 139989450991168] [client 81.65.95.136:5868] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Declaration of IPS\\forums\\widgets\\_hotTopics::configuration(&$form = null) must be compatible with IPS\\Widget::configuration(?IPS\\Helpers\\Form &$form = null): IPS\\Helpers\\Form in /home/.../applications/forums/widgets/hotTopics.php on line 47, referer: https://dev.internazionale.fr/admin/?app=cms&module=pages&controller=pages&subnode=1&do=form&id=67
    [Mon Oct 14 23:08:10.758649 2024] [fastcgi:error] [pid 238719:tid 139990927287872] [client 81.65.95.136:5241] FastCGI: server "/usr/lib/cgi-bin/php-Internazionaledev" stderr: PHP message: PHP Fatal error:  Type of IPS\\core\\Statuses\\_Status::$commentClass must be ?string (as in class IPS\\Content\\Item) in /home/.../applications/core/sources/Statuses/Status.php on line 23, referer: https://dev.internazionale.fr/admin/?app=cms&module=pages&controller=pages&subnode=1&do=form&id=67

    User Feedback

    Recommended Comments

    Esther E.

    Posted

    You've got a bunch of things going on here, and many of them are unrelated.

    The first screenshot you can ignore. (We'll get rid of those errors, but it's nothing you need to worry about.)

    Re: URL rewrite.... your directory structure looks extremely odd. I'm not sure why you would have an upgrade or a utf8convert folder in your root.

     

    The PHP error log at the bottom is actually what is causing most of your issues. There are 2 errors there:

    1. The system is trying to load the hotTopics widget, which is no longer supported. I've fixed that for the next beta.
    2. You appear to have a custom Page that does something with statuses. I don't know what the page content is, but it does not appear to be using a widget for this. Status updates are no longer supported in v5. I would suggest you start with modifying that particular page in the ACP to remove any reference to statuses.

     

     

    SoloInter

    Posted (edited)

    Ok for the first screenshot.
    Should I deleted folders "upgrade" and "utf8convert". 

    Here is the full directory :

    Could contain: Text, Purple

     

    Ok for HotTopics widget.
     

    About the page, this is this one (id=67)
    Could contain: Page, Text, Computer, Electronics, Pc

    Could contain: File, Webpage, Page, Text

     

    It's the only page I config to be full HTML "outside of the box". On our prod web site it's this page : 

    https://www.internazionale.fr/historique/

    It's the only one who are not like the others; I wanted that page to be like an other website. I find a way to do like that, I know it's not the best way, but until now it was not a problem. It's using file inside folder "doc" that you can see on the full directory screen shot (mostly css & js)

    So I don't know what is Statuses or what this page is doing with that thing.

    Edited by SoloInter
    Marc

    Posted

    All we can really say there, is the custom designed page there is broken on the second one. You would need to contact the author of that page to resolve that.

     

    In terms of the structure there, there should have never been upgrade or utf8convert within the root folder at all. So your structure is very very wrong there. Check on your lice one, and if its not present on your live instance, you may be best to do a copy again there.

    Marc

    Posted

    Changed Status to Cannot Reproduce


×
×
  • Create New...