Forums / General Questions / Admin tools

Admin tools

Locked

Views: 2,521

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
14 May 2009, 7:38 PM
#1
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Admin tools

The person that designed our site left us.
He created the shopping cart using Zen Cart.
I get to figure out how to change or add meta tags and images, products text etc.
I've never used Zen cart. I have full access to the ftp site and all the files zen cart created. How or what can I do to access the information...

Regards,

Lasa

14 May 2009, 7:48 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Admin tools

You would do that through your Zen Cart admin. Unless the designer changed the name of the admin folder, you should be able to get to that by going to http://www.yoursite.com/admin/ and entering the admin user and password. Check the Tutorials/FAQ and WIKI for details about the functions available in the admin.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

14 May 2009, 8:51 PM
#3
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

The admin I have are not working...
can I access the Admin from within the ftp site?
or thru the host?

I'm really lost here...I super appricate your help.

Frank

14 May 2009, 9:04 PM
#4
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

How can I get the Zen Cart: Admin user password? Since it seems everything given me doesn't let me in.
I have the hosting password and Ftp password..so I can see all the files...

lasa

15 May 2009, 1:33 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Admin tools

Try the recommendations in this tutorial https://www.zen-cart.com/tutorials/index.php?article=2. The Zen Cart admin has tons of tools and functions that will make your life easier.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

16 May 2009, 10:59 AM
#6
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

Hi,

I thought did the rest but I think I dropped the zn_admin...before running the script or something dumb..aahhh
when I try to log in I get:
zc_admin' doesn't exist.. Iknow it doesn't since I dropped it in error.

I have a admin but not a zn_admin

Can I rebuild it?

Lasa

16 May 2009, 12:01 PM
#7
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Admin tools

if you really dropped the admin table , then the only way to rebuilt it is to restore it from your database backup ( latest ) if you have any done ..

if you never done any back up before , contact your hosting company. most host do backup of database on daily basis .. so they might be able to restore your database or just admin table for you .

16 May 2009, 12:04 PM
#8
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

Thanks for the reply,
I know I droped the zc_admin for a fact.
Is there anyway of renaming the admin (no zc_) file that is there or is it a totally different beast.

Lasa

16 May 2009, 12:14 PM
#9
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Admin tools

default zencart installer , will create two table for admin .. called admin and admin activity log tables . it sounds like , your designer has installed zen cart once without zc_ prefix for table names , and second time with zc_ prefix ..
your site currently using tables with zc_ added to table name ..

how many tables do you have in your database ? default install is 98 tables.

although that can be renamed , but honestly , i do not know the side effect of such changes to rest of your site.

16 May 2009, 2:00 PM
#10
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

I was able to restore...
so I have the zc_admin

I ran the restore scripts in sql tab... and it should have reset...
but i can not log in?

16 May 2009, 2:08 PM
#11
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Admin tools

did you change the admin name in this sql statement to reflect your admin table ?

DELETE FROM admin WHERE admin_name = 'Admin';
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level)
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

for you should be

DELETE FROM zc_admin WHERE admin_name = 'Admin';
INSERT INTO zc_admin (admin_name, admin_email, admin_pass, admin_level)
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

16 May 2009, 2:19 PM
#12
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

Its not letting me in...
In the SQL tab I place the restore:

DELETE FROM admin WHERE admin_name = 'Admin'; INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level) VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

The localhost would be my site domain name correct?
ie: [email protected] right?

Any Ideas?

Lasa:blush:

16 May 2009, 2:25 PM
#13
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

Thanks for being here Tony..
I know nothing of this...so you really need to take baby steps here.

I've been simply going into mysql and clicking the sql tab..
entering the info.
should I be entering a specific item on the left side drop down?
you indicated zc_admin?

Should I run the code with zc_admin instead of only the admin.
and local hosting is my site correct.

Thanks,

Lasa

16 May 2009, 3:52 PM
#14
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

All right!! I'm in thanks!!!:smile:... zc_admin rest did the trick
I wanted to change some meta tags
but when I click on Catagories and products I get :

Parse error:syntaz error, unexpected $end, expecting']' in /home/content/x/x/x/xxxcompany/html/admin/catagories.php on line 833

The X's are to hide the company name.

Could this be related to having run the rest password on the admin instead of the zc_admin?
Or is this another beast all together.

Lasa

16 May 2009, 5:11 PM
#15
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

I seem to have spelled some stuff wrong..:

Parse error: syntax error, unexpected $end, expecting ']' in /home/content/x/x/x/xxxxcompany/html/admin/categories.php on line 833

"x" are just to ver the website name.

Lasa

16 May 2009, 6:27 PM
#16
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Admin tools

what version of zencart are you using ?

you may want to either compare categories.php with fresh zencart file .. or simply upload a good copy to admin location .

this error suggest a damaged , corrupted file .

16 May 2009, 6:56 PM
#17
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

Zen Cart 1.3.0.2
Database Patch Level: 1.3.0.2
v1.3.0.2 [2006-07-12 08:49:01] (Fresh Installation)
PHP Version 5.2.5

How would I proceed with either of your recommendations?
You all have been my saviors for sure!

Lasa

16 May 2009, 7:22 PM
#18
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Admin tools

this are my suggestion . others my provide different info .
if you have fresh copy of zc 1.3.0.2 on your local computer , using FTP upload a fresh categories.php from admin folder to admin folder on your server , overriding the original one.

if you don't have the copy , simply visit zencart home page , click on download button , and download the correct file set and use the categories.php from downloaded version 1.3.0.2

16 May 2009, 9:00 PM
#19
lasa avatar

lasa

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Admin tools

Thanks a ton..I'll give it a try.
I can't thank you enough!
Lasa

16 May 2009, 9:49 PM
#20
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Admin tools

Lasa:

Zen Cart 1.3.0.2
Database Patch Level: 1.3.0.2
v1.3.0.2 [2006-07-12 08:49:01] (Fresh Installation)
PHP Version 5.2.5

How would I proceed with either of your recommendations?
You all have been my saviors for sure!

Lasa
Version 1.3.0.2 of Zen Cart will not work with PHP 5.2.5.

You will need to upgrade to Zen Cart 1.3.8a.
Might also require recoding of your Template if using something other the Classic Theme, but you'll find that out after upgrading.

The learning is in the doing.

Potent Products