Blank page for ZC admin when migrating to new host
I have moved from Hostmonster to Interserver. Attempted to upgrade to v158 while migrating to the new host but had problems with the installer not updating the database and then the store contained no info from the database. So for now I went to plan b and downloaded to local pc then uploaded to interserver all the zc files I was currently running for v157. Updated the includes/configure.php and admin/configure.php files for the new host file directory paths. Front end is working but I have it down for maintenance. The backend I am getting a blank page page. (/admin/ in link below listed as the default here in this post for security reasons)
https://www.discountprintingservice....from=index.php
In developer console I am getting this error:
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
Any ideas?
Thanks,
John
Re: Blank page for ZC admin when migrating to new host
may be your admin confifg
Re: Blank page for ZC admin when migrating to new host
A quick Google search on the error message brought up this: https://appuals.com/how-to-fix-err_c..._failed-error/
Re: Blank page for ZC admin when migrating to new host
Could this be an issue with interserver.net and not something I have done? I have been trying to get help by their technical support and yesterday they said they wanted to move me to a different server. That was over 24 hrs ago and still no resolution. Months ago when I signed up with them I was reassured that the server would support zencart 157/158. But now they are saying different. Getting very frustrated.
Re: Blank page for ZC admin when migrating to new host
They are transferring me to a cloudlinux server
Re: Blank page for ZC admin when migrating to new host
Just got this message:
I am not able to fix this, and there isn't an escalation point beyond myself. I am assigning this to Stacey but there is likely not a way to get this site working on our systems.
Re: Blank page for ZC admin when migrating to new host
Does this make sense?Reply from interserver:I got one more idea based on the ftp download you mentioned. I noticed the format of the file in an editor was dos format. I remember this being a problem in php 5.6 sometimes with a fix being dos2unix. So I ran that and zcadmin loads.similar tohttps://users.fedoraproject.narkive.com/gdNfj0Pe/ftp-binary-asciihttps://knowledge.exlibrisgroup.com/Aleph/Knowledge_Articles/When_and_how_is_the_dos2unix_command_used_in_Aleph%3FSo my guess is the download of ftp made the files be an odd format, maybe uploaded in binary mode. It can happen with ftp (but not sftp or scp)
Re: Blank page for ZC admin when migrating to new host
That last reply from Interserver seemed to fix the issues after dns was update to the new server. I can de-stress now.
"I got one more idea based on the ftp download you mentioned.
I noticed the format of the file in an editor was dos format. I remember this being a problem in php 5.6 sometimes with a fix being dos2unix. So I ran that and zcadmin loads.similar to
https://users.fedoraproject.narkive....p-binary-ascii
https://knowledge.exlibrisgroup.com/...ed_in_Aleph%3F
So my guess is the download of ftp made the files be an odd format, maybe uploaded in binary mode. It can happen with ftp (but not sftp or scp)"
Re: Blank page for ZC admin when migrating to new host
Kudos for determining the solution!
Re: Blank page for ZC admin when migrating to new host
Hi there
I am having the same issue when I moved to Hostpapa. They are not able to solve it. Theincludes/configure.php and admin/configure.php files are updated for the new host file directory paths. Front end is working but I have it also down for maintenance. The backend I am getting a blank page page. For security reason, I have renamed the admin folder, so not going to post the link here. Hostpapa support engineers don't think it is their migration issue. They replied below:
""Greetings,
We have checked this carefully and was able to pull up the error below:
==========================
[14-Mar-2023 08:05:13 Asia/Singapore] PHP Fatal error: require_once(): Failed opening required 'includes/languages/english.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/beadsetc/public_html/includes/classes/ResourceLoaders/LanguageLoader.php on line 55
==========================
The error above means that the "LanguageLoader.php" script is trying to load another script located at "includes/languages/english.php", however, the path seems to be incorrect. Checking further, the code uses system defined variables "DIR_WS_LANGUAGES" to set the path so it does not have to write the full path every time, however this system defined variable seems to be not set correctly as we tested loading the script using their full path and the error shows another script with the same error that uses the system defined variable "DIR_WS_LANGUAGES".
We can advise you to contact the developers of Zencart as this may be a bug on their code and they may be able to provide a patch or, at least, a work around. ""
On the format file as mentioned in this forum via FTP, I tried both with FTP & CPanel & edited file using Bbedit on Mac & I don't see any Dos format . So I am lost.
I AM now desperate for a solution if anyone can help? Would really appreciate.
Rgds, Noi