Site Won't Open After Upgrade to 5.6

I just upgrades Wappler to 5.6 and now my site is getting a 500 Error.

I have no idea what to do now. :frowning:

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.

I can get to the login page. Hereā€™s what I get on trying to log inā€¦

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ā€

1 Like

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

So it looks like the composer folder is missingā€¦

@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 :slight_smile:

There arenā€™t any other folders in the Vendor folder. Iā€™ve now republished the site and still the same. Hereā€™s what the local one looks likeā€¦

I donā€™t have any clients on this one. Itā€™s just messing up my workflow for the day at this point. :slight_smile:

1 Like