Zen Cart Logo
Forums / Basic Configuration / Moved Directories, now have Admin issues

Moved Directories, now have Admin issues

Locked

Views: 1,324

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Nov 2006, 12:28 AM
#1
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Moved Directories, now have Admin issues

I moved my entire zen cart site to the root directory of my server from a directory called /catalog, following the directions detailed here:
http://www.zen-cart.com/tutorials/index.php?article=122

I have checked both my configure.php files, ran the fix_cache_key.php utility, and still cannot get in to the admin area. The main site works fine. Here are the errors I am getting:

Warning:  main(e:/www/teachmetapes.com/catalog/includes/autoload_func.php): failed to open stream: No such file or directory in e:\www\teachmetapes.com\admin\includes\application_top.php on line 147

Fatal error: main(): Failed opening required 'e:/www/teachmetapes.com/catalog/includes/autoload_func.php' (include_path='.;c:\php4\pear') in e:\www\teachmetapes.com\admin\includes\application_top.php on line 147
```Tracing these errors leads me to believe that somewhere, something is telling  something else to continue looking in the /catalog directory for autoload_func.php. 

I've looked a hundred times, and both of my configure.php files are directing the necessary path names correctly.

I moved everything back into /catalog and changed both configure.php files just to see if some other error came up, but everything worked fine.

I hope someone may have a suggestion.

here is the site:
<http://www.teachmetapes.com>

Thanks
Bryan
17 Nov 2006, 2:35 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Moved Directories, now have Admin issues

Not sure but double check them look at this from your error post

No such file or directory in e:wwwteachmetapes.comadminincludesapplication_top.php on line 147

Where it should be:

e:/www.teachmetapes.com/admin/includes/application_top.php 

There are generally '/' entries when at the root that replace a similar '/shop/' when in a sub-dir. see if you might have ommited them...

17 Nov 2006, 3:02 PM
#3
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Moved Directories, now have Admin issues

The actual error contains the "/" in the appropriate places. They somehow didn't get copied over when I pasted them from my browser window.

Bryan

18 Nov 2006, 8:10 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Moved Directories, now have Admin issues

If this is still an issue, post your 2 configs in a code box. Ommit/edit out your DB user & pass.

20 Nov 2006, 3:23 PM
#5
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Moved Directories, now have Admin issues

Ok here is where I turn a little red in the face and say oopsh.

It turns out some time back I accidentally copied the configure.php file into the admin directory. I dropped it there while dragging it from my hard drive. Since I missed the right directory, I copied again to admin/includes. Then I didn't delete the other one.

So long story short, I was changing the right file, in the wrong directory... instead of the configure.php file in admin/includes.

Thanks everyone for your help on this.

Bryan