Forums / Upgrading from 1.2 to 1.3.x / Problem with admin after upgrading

Problem with admin after upgrading

Locked

Started by eagleofjade on 14 May 2006, 5:22 PM · Views: 4,818

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
14 May 2006, 5:22 PM
#1
eagleofjade avatar

eagleofjade

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Problem with admin after upgrading

I upgraded to the 1.30.1 patch recently. I had not started using the shopping cart with the older version yet on my website, so I decided to just reinstall using the full version. The version I had on my site had installed like a breeze, but I have had installation problems with this one.

Anyway, I ran into problems, and eventually re-installed once again, making SURE that the php files and .sql files were uploaded as ASCII. That seemed to work to some extent, however after the installation takes place, and I click to go to the admin area, I get this message:

Fatal error: Call to undefined function: zen_get_top_level_domain() in /home/appherit/public_html/catalog/admin/includes/init_includes/init_tlds.php on line 13

I can go into the store part just fine, it's just the admin area that I can't. Can someone give me a clue as to what might be going on?

14 May 2006, 5:24 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,723
Plugin Contributions:
0

Re: Problem with admin after upgrading

Try re-uploading All of the Admin directory again.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

14 May 2006, 7:07 PM
#3
eagleofjade avatar

eagleofjade

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with admin after upgrading

Will I need to re-run the setup files again?

14 May 2006, 7:12 PM
#4
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Problem with admin after upgrading

You having a missing (or corrupt) admin/includes/functions/general.php file, and if you are missing others, Kim's solution should fix those (before you encounter them).

You should not need to re-run the setup unless there was some error in building the configuration files.

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com

14 May 2006, 7:16 PM
#5
eagleofjade avatar

eagleofjade

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with admin after upgrading

Thank you both for your quick response! I am working on reloading those files now. I'll let you know how it goes.

Peace
Craig

14 May 2006, 7:23 PM
#6
eagleofjade avatar

eagleofjade

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with admin after upgrading

That seemed to take care of it. I am going to do some more testing in the admin area now to make sure everything works ok there.

I now seem to have another problem. I went into the demo store and browsed some of the items that the demo puts in, but when I click on one, I get this message:

1109 Unknown table 'p' in field list
in:
[select count(p.products_id) as total ]

Is that one of the .sql files that needs to be reloaded?

Thanks,
Craig

14 May 2006, 7:47 PM
#7
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Problem with admin after upgrading

eagleofjade:

1109 Unknown table 'p' in field list
in:
[select count(p.products_id) as total ]

That sounds really familiar, but couldn't find the exact solution in search (always good to do, btw). I got it, but cannot remember if I just searched for it (typo) or if I reinstalled.

You said you had installed but not yet configured 1.2.7, then installed 1.3.0.1 over it? It is starting to sound like not all the files transferred or failed to overwrite existing files.

Since you haven't really gone too far into it yet, I'd really advise emptying the database (drop all tables), deleting and reinstalling all files, making sure to apply the 1.3.0.1 patches found here:
http://www.zen-cart.com/forum/showthread.php?t=34103

That way you know you are working with the most current files.

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com

14 May 2006, 8:05 PM
#8
eagleofjade avatar

eagleofjade

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with admin after upgrading

Actually, when I decided to upgrade, I deleted all the folders and files off my server and deleted the My_sql database altogether. Then I created a new database, uploaded the files and it has led me to here.

I suppose I could start totally from scratch again, but it would be nice not to have to do that

14 May 2006, 8:28 PM
#9
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Problem with admin after upgrading

or in other words: 'did that already' :)
Then it's a typo somewhere. You need to narrow down just where the error occurs.

Here's what I'd do to find it:
First search via the developer's toolkit

I tried, but I must have fixed it even in my backup because I don't see it.

If it does not appear on category/product lists, but only on product, then you start searching in the modules/pages/product/
etc.

If I could get the error to register on my system I could track it down. :)

NotGoddess (Sara Jacobson)
NotGoddess.com

14 May 2006, 8:33 PM
#10
eagleofjade avatar

eagleofjade

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with admin after upgrading

Hmm... it sounds like you're a bit over my head. Are you referring to a typo in the php files? If so I really don't know php very well enough to know if I've found it :-)

In any case, I guess I'm going to just have to start from scratch once again.

Thanks for the suggestions though.

14 May 2006, 8:53 PM
#11
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Problem with admin after upgrading

Good Luck.

It's not hard...but it is something that just takes time. Post back results. If you still get it I can try another clean install to find it.

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com

14 May 2006, 8:59 PM
#12
eagleofjade avatar

eagleofjade

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with admin after upgrading

Thanks for your help. I will try a few more things and then I guess I'm just going to have to start all over again.