Zen Cart Logo
Forums / Addon Language Packs / I cannot enter to admin!!! fatal error

I cannot enter to admin!!! fatal error

Locked

Views: 2,054

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Apr 2008, 11:25 PM
#1
creochile avatar

creochile

New Zenner

Join Date:
Apr 2008
Posts:
3
Plugin Contributions:
0

I cannot enter to admin!!! fatal error

Hi, when i try to enter to my admin, before ask me for the password it show this message :

Fatal error: Call to a member function get_template_dir() on a non-object in /home/orfvrays/public_html/zen/admin/includes/languages/spanish/credit_cards.php on line 46

i was working very well until i installed a spanish pack. I dont know what to do. please help me. i spent a lot of time building my web site.

[email protected] <------------ messenger

11 Apr 2008, 11:54 PM
#2
araunah avatar

araunah

New Zenner

Join Date:
Dec 2004
Location:
The Internet
Posts:
76
Plugin Contributions:
0

Re: I cannot enter to admin!!! fatal error

I assume you already set spanish as the main language in your admin panel. If this problem is due to the language pack, one thing that you could try is rename the file /home/orfvrays/public_html/zen/admin/includes/languages/spanish/credit_cards.php and replace it by the original one in english in include/language/english and see if it works.

If it works compare the two file and see what the difference is between the two version and make the necessary change.

12 Apr 2008, 1:16 AM
#3
creochile avatar

creochile

New Zenner

Join Date:
Apr 2008
Posts:
3
Plugin Contributions:
0

Re: I cannot enter to admin!!! fatal error

i did that, but doesnt work........ How can i backup my products and re-install zencart and put it after??? i have 120 diferent product !!! i cannot lost it....

maybe, there are a way to restore the system, i dont know.

please somebody helpme:shocking:. feel free to contact me by msn if you want to help me.

12 Apr 2008, 2:00 AM
#4
araunah avatar

araunah

New Zenner

Join Date:
Dec 2004
Location:
The Internet
Posts:
76
Plugin Contributions:
0

Re: I cannot enter to admin!!! fatal error

There is a contrib here to backup your database : http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_41&products_id=81 but since you cannot access your Zencart admin its not gonna be useful.

Go to your web hosting account control panel and see if your host is providing a backup option, hopefully if you have cPanel you can directly backup your home directory, your database and your emails dron the control panel.

If there is not any backup option directly accessible, see if there is an access to PHPMyAdmin and you will be able to backup from there even if it is a little bit more complicated.

By the way, always backup your home directory and your database before making any big changes. If anything goes wrong you can directly restore everything in it's original state fast.

12 Apr 2008, 2:16 AM
#5
araunah avatar

araunah

New Zenner

Join Date:
Dec 2004
Location:
The Internet
Posts:
76
Plugin Contributions:
0

Re: I cannot enter to admin!!! fatal error

I though about something else, make sure that you have all the spanish files availble for the admin part of the site, sometimes you only have the front store translation and not the admin part. by the way is your front store working fine ?

Another thing that you could do is copy all the english files of the english language folder in admin in the spanish folder in admin, like this, even if your store is set on spanish, everything will be in english but working.

I just saw a thread talking about this issue but with the italian language : http://www.zen-cart.com/forum/showthread.php?t=1409

12 Apr 2008, 1:16 PM
#6
creochile avatar

creochile

New Zenner

Join Date:
Apr 2008
Posts:
3
Plugin Contributions:
0

Re: I cannot enter to admin!!! fatal error

i restored the system. reinstalling zencart and before i backup database.....i will never use a languages pack again !!!!!!!!!!

thanks for your help