Forums / Installing on a Linux/Unix Server / After moving to new server cant acsses admin

After moving to new server cant acsses admin

Views: 5,870

Results 21 to 38 of 38
20 Feb 2012, 6:39 AM
#21
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

After moving to new server cant acsses admin

anyone:no:

20 Feb 2012, 7:50 AM
#22
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

actionx:

Mydebug error
[19-Apr-2011 07:52:05] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/transponder.co.za/httpdocs/includes/templates/theme346/sideboxes/tpl_categories.php on line 20

I got like 30 mydebug errors

and also
[28-Apr-2011 05:28:38] PHP Warning: Wrong parameter count for define() in /var/www/vhosts/transponder.co.za/httpdocs/includes/languages/english/meta_tags.php on line 17

20 Feb 2012, 8:00 AM
#23
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

actionx:

Mydebug error
[19-Apr-2011 07:52:05] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/transponder.co.za/httpdocs/includes/templates/theme346/sideboxes/tpl_categories.php on line 20

I got like 30 mydebug errors

and also
[28-Apr-2011 05:28:38] PHP Warning: Wrong parameter count for define() in /var/www/vhosts/transponder.co.za/httpdocs/includes/languages/english/meta_tags.php on line 17

included is the tpl_categories.php what is going on in line 20

20 Feb 2012, 8:12 AM
#24
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: After moving to new server cant acsses admin

Those errors from 2011 are completely irrelevant unless they're also still showing up with today's date too.
And errors related to the storefront, not the admin, are rather less likely to be causing problems with accessing the admin.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Feb 2012, 8:40 AM
#25
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

wel i cant get to my admin area just blank so those mydebug got nothing to do with my admin there is like a 100 mydebug errors

20 Feb 2012, 9:22 AM
#26
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

ok if that is the problem can change template but i cant get to admin to do so any ideas can i make a backup of my produts and load it to another theme im not worried about the theme only my 500 products and admin panel

20 Feb 2012, 8:28 PM
#27
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

All I want basicly I will load new template but hw am I just gona get my prducts ova to new template plz guys any help will do I'm strugling almost 3months thanks
Posted via Mobile Device

20 Feb 2012, 11:06 PM
#28
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: After moving to new server cant acsses admin

First you need to fix your admin access problem.
When you compare your admin files with the original Zen Cart files, which ones are different, and why? Which are missing, and why? Which are added, and why?
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Feb 2012, 9:20 AM
#29
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

i give up:censored: have to start all ova 3m0nths and i cant get this sorted thanks for the help but i just dont get admin to work

23 Feb 2012, 3:56 AM
#30
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: After moving to new server cant acsses admin

actionx,

One of the first steps in the instructions for moving to a new server includes doing a fresh install of ZC on the new server, before importing any data or customized code or templates. https://www.zen-cart.com/tutorials/index.php?article=100

Do that.

Then when you start adding back your customizations, you'll be able to see which one breaks things, and take corrective action accordingly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Feb 2012, 8:20 AM
#31
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

hi DrByte so i did i clean install again and mannaged to find out wich file is making my admin area blank storeadmin/includes/functions/general.php:clap: in winmerge they both yellow in compaire file include in attachment

23 Feb 2012, 10:06 AM
#32
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

ok im getting my store right now quick question could these errors be becouse im uploading in binary mode:oops:

23 Feb 2012, 10:45 AM
#33
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

lol now i can see the login page then just after login blank again:P

23 Feb 2012, 6:45 PM
#34
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: After moving to new server cant acsses admin

Your general.php file is damaged. Replace it with the original from the Zen Cart distribution zip.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Feb 2012, 7:02 AM
#35
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

thanks drbyte all done had a error in header.php 2 thanks to all for the help you gave me:clap:

24 Feb 2012, 4:50 PM
#36
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: After moving to new server cant acsses admin

actionx:

ok im getting my store right now quick question could these errors be becouse im uploading in binary mode:oops:

Yes, uploading php files in binary can cause problems.

The best way to learn is to try stuff. But, back it up first.

27 Feb 2012, 9:35 AM
#37
actionx avatar

actionx

New Zenner

Join Date:
Apr 2011
Posts:
41
Plugin Contributions:
0

Re: After moving to new server cant acsses admin

ive got this problem stil [26-Feb-2012 00:52:16] PHP Warning: define() expects at least 2 parameters, 1 given in /home/admin/transponder.co.za/includes/languages/english/meta_tags.php on line 17

and everything looks alright in meta_tags.php and another thing i noticed i my layout_controller.php come up blank but file exactly the same as original zencart file

27 Feb 2012, 7:53 PM
#38
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: After moving to new server cant acsses admin

You need to fix the error on line 17 of that file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.