Zen Cart Logo
Forums / Upgrading to 1.5.x / Blank page for ZC admin when migrating to new host

Blank page for ZC admin when migrating to new host

Views: 5,395

Results 1 to 19 of 19
03 Feb 2023, 17:14
#1
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

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.com/admin/index.php?cmd=login&camefrom=index.php

In developer console I am getting this error:
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED

Any ideas?

Thanks,
John

03 Feb 2023, 18:20
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Blank page for ZC admin when migrating to new host

may be your admin confifg

03 Feb 2023, 23:06
#4
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

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.

03 Feb 2023, 23:06
#5
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Blank page for ZC admin when migrating to new host

They are transferring me to a cloudlinux server

03 Feb 2023, 23:10
#6
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

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.

03 Feb 2023, 23:15
#7
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

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)

03 Feb 2023, 23:41
#8
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

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.com/gdNfj0Pe/ftp-binary-ascii

https://knowledge.exlibrisgroup.com/Aleph/Knowledge_Articles/When_and_how_is_the_dos2unix_command_used_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)"

04 Feb 2023, 00:06
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Blank page for ZC admin when migrating to new host

Kudos for determining the solution!

14 Mar 2023, 05:07
#10
noi_ng avatar

noi_ng

New Zenner

Join Date:
Dec 2012
Location:
Singapore
Posts:
27
Plugin Contributions:
0

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

14 Mar 2023, 10:07
#11
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

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.

14 Mar 2023, 10:40
#12
noi_ng avatar

noi_ng

New Zenner

Join Date:
Dec 2012
Location:
Singapore
Posts:
27
Plugin Contributions:
0

Re: Blank page for ZC admin when migrating to new host

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!

16 Mar 2023, 08:23
#13
noi_ng avatar

noi_ng

New Zenner

Join Date:
Dec 2012
Location:
Singapore
Posts:
27
Plugin Contributions:
0

Re: Blank page for ZC admin when migrating to new host

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

16 Mar 2023, 09:52
#14
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Blank page for ZC admin when migrating to new host

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.

16 Mar 2023, 10:08
#15
noi_ng avatar

noi_ng

New Zenner

Join Date:
Dec 2012
Location:
Singapore
Posts:
27
Plugin Contributions:
0

Re: Blank page for ZC admin when migrating to new host

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!

16 Mar 2023, 10:10
#16
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

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?

16 Mar 2023, 10:16
#17
noi_ng avatar

noi_ng

New Zenner

Join Date:
Dec 2012
Location:
Singapore
Posts:
27
Plugin Contributions:
0

Re: Blank page for ZC admin when migrating to new host

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!

16 Mar 2023, 10:18
#18
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

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.

16 Mar 2023, 10:24
#19
noi_ng avatar

noi_ng

New Zenner

Join Date:
Dec 2012
Location:
Singapore
Posts:
27
Plugin Contributions:
0

Re: Blank page for ZC admin when migrating to new host

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.:)