Zen Cart Logo
Forums / General Questions / ARGH! My admin folder is gone!

ARGH! My admin folder is gone!

Locked

Views: 1,318

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
16 Jun 2007, 1:18 PM
#1
amieco avatar

amieco

New Zenner

Join Date:
Apr 2007
Posts:
37
Plugin Contributions:
0

ARGH! My admin folder is gone!

I downloaded the Newsletter Subscribe Mod and replaced my entire admin folder on my Zencart with THEIR folder! And now my whole Admin folder is gone!

I backed up using phpMyadmin but it doesn't seem to work. So I downloaded a fresh install of zencart and moved the admin folder over, but it says I need to run zc_install. Now I know if I do, I would probably wipe out everything, so I am not going to.

I am using a Mac, so is there a workaround this? Can anyone help me please?

Should I run a clean install and copy the rest over to the files?

AUGH!
amy

16 Jun 2007, 2:04 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: ARGH! My admin folder is gone!

Loading the files from the /admin of an add-on should not remove the files from your /admin on the server ... rather it should either overwrite existing or add new files ...

Always be sure to have a backup of both your site and database ...

If you renamed the old /admin and loaded a clean /admin then you are missing the file:
/admin/includes/configure.php

You should find that in your renamed directory ... copy that to the:
/admin/includes/configure.php

and your Admin will run normally instead of thinking you are trying to install ...

That file, configure.php, when missing triggers the installer ... :smile:

16 Jun 2007, 2:35 PM
#3
amieco avatar

amieco

New Zenner

Join Date:
Apr 2007
Posts:
37
Plugin Contributions:
0

Re: ARGH! My admin folder is gone!

Linda,

What I meant by that was that the whole file (which previously held 20+ files), only has 4 now (as per the release of the mod). I can't recover the old admin folder anywhere.

Is this the end?

sob

16 Jun 2007, 8:59 PM
#4
Kim avatar

Kim

Obaa-san

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

Re: ARGH! My admin folder is gone!

http://sourceforge.net/project/showfiles.php?group_id=83781&package_id=171544

Download the complete fileset for your version using the link above. Unzip the files. Upload the complete Admin directory overwriting what you have on your server - NOTE: ONLY the ADMIN folder.

Then try your install of the mod again, uploading the new files and NOT wiping out the whole directory.

17 Jun 2007, 2:39 AM
#5
amieco avatar

amieco

New Zenner

Join Date:
Apr 2007
Posts:
37
Plugin Contributions:
0

Re: ARGH! My admin folder is gone!

Kim,

I am working on my own server, and now when I go to my MAMP (http://localhost:8888/MAMP/?language=English) front page, it displays:

Error: Could not connect to MySQL server!

This is after I tinkered with a new configure.php from a new admin/includes/configure.php file, and based it against my existing includes/configure.php. Then everything went nuts.

I tried to upload the ADMIN folder only, but it said to run zc_install.

sigh.

Any help would be wonderful.

thanks!

17 Jun 2007, 2:53 AM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: ARGH! My admin folder is gone!

you will need to manually configure your admin/includes/configure.php

you need to define the domain names and server paths as well as the database

17 Jun 2007, 9:24 AM
#7
amieco avatar

amieco

New Zenner

Join Date:
Apr 2007
Posts:
37
Plugin Contributions:
0

Re: ARGH! My admin folder is gone!

Ok, so I did it -- and what I did, specifically, was to follow the instructions on moving my shop to another server via:

https://www.zen-cart.com/tutorials/index.php?article=100

And I had everything back to normal. The fix_cache_key by Dr Byte was a life-saver in my case. And I am too happy, to say the least.

Thanks to everyone who replied–Ajeh, Kim and Merlin! :clap:

yay!
Amy

17 Jun 2007, 1:39 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: ARGH! My admin folder is gone!

Thanks for the update and glad to see that you have things back on track ... :smile:

17 Jun 2007, 3:38 PM
#9
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: ARGH! My admin folder is gone!

The process works differently on the Mac from a PC.

On the Mac, if you copy a folder from a mod into your shop it will replace the entire folder of the same name in your shop.

You have to manually copy each file from the mod into the corresponding position in your shop - following the folder structure in the mod, of course.

The same process also seems to happen when using FTP clients on the Mac to upload folders to a live server.

17 Jun 2007, 5:03 PM
#10
amieco avatar

amieco

New Zenner

Join Date:
Apr 2007
Posts:
37
Plugin Contributions:
0

Re: ARGH! My admin folder is gone!

Yup, found this out the hard way! :wink:

I'll definitely be more careful about it now.
, and thanks for the heads up about the FTP as well, Pixxi.

Amy

Pixxi:

The process works differently on the Mac from a PC.

On the Mac, if you copy a folder from a mod into your shop it will replace the entire folder of the same name in your shop.

You have to manually copy each file from the mod into the corresponding position in your shop - following the folder structure in the mod, of course.

The same process also seems to happen when using FTP clients on the Mac to upload folders to a live server.