New Zenner
- Join Date:
- Apr 2011
- Posts:
- 41
- Plugin Contributions:
- 0
After moving to new server cant acsses admin
anyone:no:
Views: 5,870
New Zenner
anyone:no:
New Zenner
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 20I 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
New Zenner
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 20I 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
Sensei
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.
New Zenner
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
New Zenner
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
New Zenner
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
Sensei
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.
New Zenner
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
Sensei
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.
New Zenner
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
New Zenner
ok im getting my store right now quick question could these errors be becouse im uploading in binary mode:oops:
New Zenner
lol now i can see the login page then just after login blank again:P
Sensei
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.
New Zenner
thanks drbyte all done had a error in header.php 2 thanks to all for the help you gave me:clap:
Totally Zenned
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.
New Zenner
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
Sensei
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.
Tell staff why this post should be reviewed.