Error when auto-upgrading project.
Author: Andy W.
Visited 1077,
Followers 1,
Shared 0
Hey :o) I just updated WX5 from 2022.2.x to 2022.3.4 with excitement for use of PHP 8.1.
The update went without a hitch. However, upon opening my test project and being prompted to upgrade the project for functionality, I hit an issue:- Generic Error. (An unexpected network error occurred).
I will now proceed to export/import the test project, and report back here if I get stuck. (This is correct?)
Environment:
Windows Domain (with folder redirection)
Windows 11 22H2 (22621.819) – Upgrade [not clean installed (yet)]
PS. Thank you Dev team!
Posted on the
Author
Update…
Because I couldn’t skip the project upgrade and access the export step, I deselected the ‘Duplicate’ option on the upgrade prompt to see what would happen. The error wasn’t produced!
Proceeding to upload & testing.
Author
Testing failed :o( I’m still unable to send messages on PHP 8.1 as posted here: https://helpcenter.websitex5.com/en/post/252358
My test site: https://test.whartonsworld.co.uk
I’ll do some digging and see what I can find before posting a new thread (if needed).
I did just read that PHP 8.1 is now supported. Could someone please confirm that they are using PHP8.1 and have no issues sending messages?
Thank you.
Author
A quick update (because I don’t have a lot of time to investigate fully today) on the sending of messages via PHP 8.1.
Php8.1-fpm, Nginx error, and journalctl logs shows nothing (obvious) on the fault. Moreover, unlike before, I can’t even send messages from the /admin website test page!
Unless someone has any other suggestions, or confirms this issue, I’ll go over my php config file(s) in the next couple of days.
How disappointing lol.
Hello. I sent a notification about your question to the company employees, expect an answer from them here in the comments.
Hi Andy!
As far as the error you get when opening the project goes, does this also happen if you directly import the iwzip file?
As far as the PHP issue goes, is the website online? Can you please send us the project in question? You can use this service: https://wetransfer.com/
Thanks! Kind regards.
Author
Sorry for the delayed response Elise.
This morning I had some time to review my fpm/php8.1.ini config, and I can’t see anything out-of-place.
I just downloaded 2022.2.11 to export my projects to iwzip (with exception to my test project, because 2022.3 couldn’t duplicate it).
I have imported and uploaded a different project to my https://test.whartonsworld.co.uk site. Unfortunately, the outcome is the same. Here is a direct link for you: https://test.whartonsworld.co.uk/contact.php
Over the weekend I will create a new/fresh test project using the Aaarchi template, and upload to my test site (as above).
Another issue I discovered this morning: When browsing my project directories from WX5, I noticed a new folder called ….site_backup. I assume this created when 2022.3 tried to duplicate my test project (which failed). The directory appears empty in WX5, but if I try to delete, I get an error saying ‘the folder is not empty’. I will dig around with Windows Explorer and resolve the issue manually. I thought you should be made aware of this too.
I’ll be back after creating/uploading my new test project.
Thank you.
Author
I beg your pardon... Elisa! Sorry.
Author
I just found something else that I think you should be made aware of…
When in Windows add/remove apps setting, WX5 2022.3.4 is listed as ‘WX5 2022.2.4.0’.
No biggy :o)
Hello Andy
I will try to answer your questions separately:
1_ WX5 2022.3.4 is listed as ‘WX5 2022.2.4.0 -> Yes, this will likely happen when you install a certain version of the software and then update it from inside the software itself. It will retain the number of the version is was originally installed as
2_ When browsing my project directories from WX5, I noticed a new folder called ….site_backup -> Yeah, this is likely a leftover. Deleting it manually is probably the way to go
3_ We've performed several tests on 8.1 environments to confirm the compatibility and it seems to work in general.
What script are you using? PHPMailer or something else? Did your hosting provider confirm that PHPMailer is supported?
Although this might not be the case, do you have any chance of testing an Apache installation on your server instead of nginx and let me know if that works instead?
I remain available here
Stefano
Author
Thank you for wading-in Stefano, and providing so much useful information.
I just copied my php8.0.ini (which works) into php8.1. And, the test message sent without any problems! This tells me the issue IS with my 8.1 php.ini config.
I will examine my php8.1.ini more closely to see what I’m overlooking here.
Many apologies. Sorry.
You guys are so awesome. Thank you.
Andy.
Author
I have found that I had set cgi.fix_pathinfo=0 in php.ini while setting up phpMyAdmin.
I have commented this line out, and all is good. Messages are sending with php8.1 and there doesn’t appear to any adverse effects in phpMyAdmin.
Big thank to the Dev team, and all of the staff & moderators at Incomedia!