I just upgrades Wappler to 5.6 and now my site is getting a 500 Error.
I have no idea what to do now.
I committed the site to GIT just before upgrading. Can I just restore that?
I just upgrades Wappler to 5.6 and now my site is getting a 500 Error.
I have no idea what to do now.
I committed the site to GIT just before upgrading. Can I just restore that?
Please check:
Debug mode is on. That screenshot is all thatās being output.
Make sure to enable detailed error reporting on your server as well, also check under XHR as explained in the doc.
So have you enabled detailed error reporting on your server?
I was just looking for that but I donāt see it in the article.
Itās not in the article, itās a setting on your server.
Sorry - I thought you said how to do that was in the article. How do I enable that on the server? Itās cPanel.
Can you see if you find some option like āPHP Settingsā or āphp.iniā, there should be an option to enable error reporting, make sure itās set to āALLā
Thanks. Got it.
Warning : require_once(/home/triptakers/app.triptakers.travel/vendor/composer/autoload_real.php): Failed to open stream: No such file or directory in /home/triptakers/app.triptakers.travel/vendor/autoload.php on line 5
Fatal error : Uncaught Error: Failed opening required ā/home/triptakers/app.triptakers.travel/vendor/composer/autoload_real.phpā (include_path=ā.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/phpā) in /home/triptakers/app.triptakers.travel/vendor/autoload.php:5 Stack trace: #0 /home/triptakers/app.triptakers.travel/dmxConnectLib/dmxConnect.php(31): require() #1 /home/triptakers/app.triptakers.travel/index.php(2): require(ā/home/triptakerā¦ā) #2 {main} thrown in /home/triptakers/app.triptakers.travel/vendor/autoload.php on line 5
@Teodor will help you with the Composer stuff, thatās a new feature with the new Wappler update
Thanks. I donāt have much experience with GIT so wasnāt sure if that would revert the whole thing, including the upgrade to 5.6 and didnāt want to get in a half in/half out situation.
Iāll wait on Teodor. Hopefully itās a quick fix.
Seems like the /vendor folder that is generated by composer is not fully uploaded to you live site.
The vendor folder is there. It seems to be the composer folder which isnāt in my local or remote site.
If I comment out those lines I get a different errorā¦
Well the vendor folder has many subfolders, they all have to be uploaded.
The other errors are app connect related.
Do note that both the new server connect php with composer as well the new app connect are both in beta, so errors might occur.
We really want to see those errors and solve them, but if you have a live production site that is critical, it might be not a good place to test them out