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
Re: Blank page for ZC admin when migrating to new host
The file that's trying to load includes/languages/english.php needs to be fixed - you can't do this anymore; that file doesn't exist.
Perhaps this is a plugin or a mod of some sort - it's not in the core code. See if you can determine from the logs where this is happening and remove it.
Re: Blank page for ZC admin when migrating to new host
Quote:
Originally Posted by
swguy
The file that's trying to load includes/languages/english.php needs to be fixed - you can't do this anymore; that file doesn't exist.
Perhaps this is a plugin or a mod of some sort - it's not in the core code. See if you can determine from the logs where this is happening and remove it.
I see, thanks. I have them to try the re-migration once more in case files were not properly migrated. I will check the above file again as you mentioned if it is till not working. I definitely did lots of modification to that file before but everything was working well with the old host provider. Strange. Thanks for input!
Re: Blank page for ZC admin when migrating to new host
Quote:
Originally Posted by
swguy
The file that's trying to load includes/languages/english.php needs to be fixed - you can't do this anymore; that file doesn't exist.
Perhaps this is a plugin or a mod of some sort - it's not in the core code. See if you can determine from the logs where this is happening and remove it.
LATEST UPDATE 16 MAR 23: Host re-did the migration & somehow it works fine now. Just a small issue, the zen cart documentation is showing blank at the menu when logged in as admin. I remembered reading it was integrated in Admin but somehow it is not showing any anything when I click on the Menu eg: all_time_favorites. Any idea how to fix that?
Thanks again
Noi
1 Attachment(s)
Re: Blank page for ZC admin when migrating to new host
Quote:
Originally Posted by
noi.ng
... Just a small issue, the zen cart documentation is showing blank at the menu when logged in as admin. I remembered reading it was integrated in Admin but somehow it is not showing any anything when I click on the Menu eg: all_time_favorites. Any idea how to fix that?
Thanks again
Noi
If I read this correctly, you are logged in to the Admin side of your store and click on a Help icon. These icons direct to the ZC Docs website - the documentation is not integrated in Admin, as far as I know.
It is on the ZC Docs website that you are seeing the blank area, something like this?
Attachment 20229
If this is the case then scroll down the Docs page to view the content. There is an issue, at certain screen sizes, where the content is stacked. (There's a PR in Github re collapsible sidebar menus that also deals with this, as far as I can remember). Hopefully this is what you're seeing.
Re: Blank page for ZC admin when migrating to new host
Quote:
Originally Posted by
simon1066
If I read this correctly, you are logged in to the Admin side of your store and click on a Help icon. These icons direct to the
ZC Docs website - the documentation is not integrated in Admin, as far as I know.
It is on the ZC Docs website that you are seeing the blank area, something like this?
Attachment 20229
If this is the case then scroll down the Docs page to view the content. There is an issue, at certain screen sizes, where the content is stacked. (There's a PR in Github re collapsible sidebar menus that also deals with this, as far as I can remember). Hopefully this is what you're seeing.
Hi, yes nailed it! I should have scrolled down. Silly of me lol . Many thanks!
Re: Blank page for ZC admin when migrating to new host
> Just a small issue, the zen cart documentation is showing blank at the menu when logged in as admin.
Are you saying you're in your admin, you click on the Question mark icon on the upper left, and you get a blank page?
What admin page does this happen on?
Re: Blank page for ZC admin when migrating to new host
Quote:
Originally Posted by
swguy
> Just a small issue, the zen cart documentation is showing blank at the menu when logged in as admin.
Are you saying you're in your admin, you click on the Question mark icon on the upper left, and you get a blank page?
What admin page does this happen on?
Hi, yes sorry that I was not clear enough. It did appear with the Contents Menu, just that I didn't scroll down when I view & thought was blank. @simon1066 nailed it, then I realised. Thanks, all good now!
Re: Blank page for ZC admin when migrating to new host
Are you on a computer (not a mobile device)? If so, it could be that if you widen your widen your window a bit you won't get the blank part at the top.
Re: Blank page for ZC admin when migrating to new host
Quote:
Originally Posted by
swguy
Are you on a computer (not a mobile device)? If so, it could be that if you widen your widen your window a bit you won't get the blank part at the top.
On the Macbook Pro. You are correct! I just logged in & tested zooming in a little & it's seen without scrolling. Thanks for the tip.:)