CE Phoenix Upgrader Utility

500 Error when running Review Your Core Changes - CE Phoenix Upgrader Utility

500 Error when running Review Your Core Changes

by njallison » Sat Nov 20, 2021 1:57 pm

Steps 1 and 2 run fine but I get a:
Server Error

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

when I press the proceed button on Step 3

Phoenix Version: 1.0.7.16

I get the same result running the Core Compare Tool if that provides a clue
njallison
Posts: 3
Joined: Wed Jan 20, 2021 4:16 pm
Contact:

Re: 500 Error when running Review Your Core Changes

by zipurman » Sat Nov 20, 2021 6:18 pm

My guess is that your server does not allow remote fopen. The allow_url_fopen in php.ini is required to be true

The areas you describe, connect to the remote phoenixcart server and download a clean copy of the code to your server. If this is not allowed by your host/server then you'll get an error.

I would check your error_log file. The error_log file maybe in the /upgrader/ folder or your /admin-directory/ . The error_log should explain what is causing the fatal error.
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 470
Joined: Tue Oct 13, 2020 5:20 pm
Contact:

Re: 500 Error when running Review Your Core Changes

by njallison » Sat Nov 20, 2021 10:18 pm

Preston:

The allow_url_fopen is true.

the process is creating the clean_core directory and populating it with the clean copy.

funny enough the Zipur Core Compare tool is now working but the upgrade is still generating the 500 error.

I cant find the error_log file in either directory.

Nelson Allison
njallison
Posts: 3
Joined: Wed Jan 20, 2021 4:16 pm
Contact:

Re: 500 Error when running Review Your Core Changes

by zipurman » Sun Nov 21, 2021 4:01 am

Try adding this to the top of the header.php in the upgrader

set_time_limit(0);
ini_set('mysql.connect_timeout','0');
ini_set('max_execution_time', '0');

ini_set( "auto_detect_line_endings", "1" );
ini_set( 'memory_limit', '-1' );//set unlimited memory
ini_set( 'max_execution_time', 900 ); //900 seconds = 15 minutes
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 470
Joined: Tue Oct 13, 2020 5:20 pm
Contact:

Re: 500 Error when running Review Your Core Changes

by njallison » Thu Dec 09, 2021 8:30 pm

Preston, I'm still getting this error made the mods d/led latest version
njallison
Posts: 3
Joined: Wed Jan 20, 2021 4:16 pm
Contact:

Re: 500 Error when running Review Your Core Changes

by zipurman » Thu Dec 09, 2021 8:40 pm

You can email me at plord@inetx.ca if you'd like me to have a closer look. You can send me ftp or cpanel info via email. A 500 error on this is going to be a setup issue ... could be many things.

DO NOT POST any user/pass server info in the forums.
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 470
Joined: Tue Oct 13, 2020 5:20 pm
Contact: