Mopar1973Man Posted November 17, 2023 Posted November 17, 2023 During my upgrade it failed I'm not sure what setting I've got to change> Please give me a hand to understand what needs to be changed.
teraßyte Posted November 17, 2023 Posted November 17, 2023 From which version are you upgrading? Also, which PHP version is the server using?  I've never seen this error before. I've seen the session one plenty of times, but never together with the other about the return type not being compatible.
Mopar1973Man Posted November 17, 2023 Author Posted November 17, 2023 From the previous version to the current version. PHP 8.1 currently Just got done swapping from CentOS7 and cPanel to AlmaLinux and Interworx Â
Jim M Posted November 17, 2023 Posted November 17, 2023 4 minutes ago, Mopar1973Man said: PHP 8.1 currently Just got done swapping from CentOS7 and cPanel to AlmaLinux and Interworx Would check your PHP configuration then as mentioned there. Sessions are not being stored properly and ensure that your server is compatible with the software:Â Â
Mopar1973Man Posted November 17, 2023 Author Posted November 17, 2023 (edited) Already did that and everything checks out. Green check marks on everything... Site was working just fine after the server swap and then started the upgrade the software and that is the error code I got. Edited November 17, 2023 by Mopar1973Man
Ryan Ashbrook Posted November 17, 2023 Posted November 17, 2023 I would try downloading the full package from the client area, and upload that. It looks like the files may have only been partially applied.
Mopar1973Man Posted November 18, 2023 Author Posted November 18, 2023 Alright I did the full install of all the files and I'm still stuck at the same error as above.Â
Miss_B Posted November 18, 2023 Posted November 18, 2023 (edited) 9 hours ago, Mopar1973Man said: Alright I did the full install of all the files and I'm still stuck at the same error as above. Did you upload the files manually? If you did, what ftp program did you use? Additionally, it can also be an issue with your PHP configuration. Can you check the phpinfo for the session info and let us know what it says? If you are using a custom php.ini, user.ini and/or .htaccess files it is worth checking them out for out of date session.save_path settings. Edited November 18, 2023 by Miss_B
Mopar1973Man Posted November 18, 2023 Author Posted November 18, 2023 5 hours ago, Miss_B said: Did you upload the files manually? If you did, what ftp program did you use? Yes, Locally I'm running Ubuntu Linux and Filezilla for FTP client logged in as a SFTP. 5 hours ago, Miss_B said: Can you check the phpinfo for the session info and let us know what it says? Here you go. 5 hours ago, Miss_B said: If you are using a custom php.ini, user.ini and/or .htaccess files it is worth checking them out for out of date session.save_path settings. I'll check into that.
Jim M Posted November 18, 2023 Posted November 18, 2023 session.save_path is empty so the error is expected till you provide your PHP configuration a valid path.
Mopar1973Man Posted November 18, 2023 Author Posted November 18, 2023 So here are the results. Re-ran the upgrade path and...
Jim M Posted November 18, 2023 Posted November 18, 2023 11 minutes ago, Mopar1973Man said: So here are the results. Re-ran the upgrade path and... Is that the PHP configuration loaded by the ACP? If so, is the tmp directory writable for the account your web server is running? These are all hosting questions. I would advise contacting your hosting provider or hiring a server administrator if you do not wish to deal with this or are unsure how to proceed. Alternatively, there is our Cloud which you will never have to worry about PHP configurations.Â
Adlago Posted November 18, 2023 Posted November 18, 2023 Try to restore a previous version from backup files and database, from a backup before upgrade. Then disable 3rd party add-ons, reupload files a new version and start a new upgrade. Nathan Explosion 1
Mopar1973Man Posted November 18, 2023 Author Posted November 18, 2023 Ok. It was the session save path wrong location (null and /tmp) then the folder permission was wrong which in my case its the interworx user. So I made it past the error and the upgrade completed normally. Adlago, Miss_B, Ryan Ashbrook and 1 other 4
Marc Posted November 20, 2023 Posted November 20, 2023 Glad to hear you got that upgraded, and thank you for letting us know what was causing it for you 🙂 Mopar1973Man 1
Recommended Posts