Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 29Jan 29 I am moving to a new webhost.After uploading files, importing database and changed the conf_global I get errormessage "PHP Fatal error: Uncaught Error: Class "IPS\\Dispatcher" not found".
January 29Jan 29 5 minutes ago, bpn said:I am moving to a new webhost.After uploading files, importing database and changed the conf_global I get errormessage "PHP Fatal error: Uncaught Error: Class "IPS\\Dispatcher" not found".Ipb 4.7 isn't compatible with php versions above php 8.1. Additionally you can use the following tool to make sure that your new server meets all the necessary requirements for Ipb 4.7.
January 29Jan 29 11 minutes ago, bpn said:It seems to be ok:Can you downgrade your php version anyway to 8.0. or 8.1. and see if it would help?
January 29Jan 29 Author yes. I think I can do thatThe oldest php I have is 8.1.3It's the same errormessage using 8.1.3
January 29Jan 29 6 minutes ago, bpn said:yes. I think I can do thatThe oldest php I have is 8.1.3It's the same errormessage using 8.1.3What was the php version in your old server? Can you try to reupload all the files again in the off chance that some of the files weren't properly uploaded or got corrupted in the first place? Can you also check your server error log and see if there are any recent messages logged in there?
January 29Jan 29 27 minutes ago, bpn said:Lesson learned:Never trust the file uploader in plesk.Or any panel uploader generally. I would always advise using FTP
January 29Jan 29 I usually upload a ZIP/TAR file and then decompress it through SSH or a control panel. It's the fastest option instead of uploading all files 1-by-1 through FTP. 😋
January 30Jan 30 15 hours ago, teraßyte said:I usually upload a ZIP/TAR file and then decompress it through SSH or a control panel. It's the fastest option instead of uploading all files 1-by-1 through FTP. 😋I'm used to most users being aware how to use FTP but unaware how to use commands on SSH . I actually do the same as yourself
January 30Jan 30 I completely missed the PHP version in the title when I replied before:Invision: 4.7.19, php: 8.3.16Version 4.7 does NOT support PHP 8.2.0+. You can only use PHP 8.0 or 8.1. Try also downgrading the PHP version.
January 30Jan 30 1 hour ago, teraßyte said:I completely missed the PHP version in the title when I replied before:Version 4.7 does NOT support PHP 8.2.0+. You can only use PHP 8.0 or 8.1. Try also downgrading the PHP version.It's strange though that the requirement tool gave the green light for Ipb 4.7. and php 8.3, as per the op's reply to my previous post. Unless they had downgraded the php, but I saw no mention of that here.
January 30Jan 30 I've already reported it as a bug a few times, but the checker script was never updated. It only checks for PHP 8.0+, it never throws an error for PHP 8.2+, which is what causes issues. 🤷♂️
January 30Jan 30 2 minutes ago, teraßyte said:I've already reported it as a bug a few times, but the checker script was never updated. It only checks for PHP 8.0+, it never throws an error for PHP 8.2+, which is what causes issues. 🤷♂️I wasn't ware of the bug. Thank you for the clarification. That's a serious bug imo, as it gives false positives, as it was the case with the op here. Hopefully it will be fixed soon.
January 31Jan 31 I just ran into issues upgrading from PHP 8.0 to 8.4 thinking it would be okay because of the verbiage on the download modal (see attachment). This is a bit misleading and should definitely be updated. Falling back to 8.1.x worked fine as explained in this thread.