Forums / Installing on a Linux/Unix Server / No access to ADMIN after site move; FIX_CACHE_KEY ran OK

No access to ADMIN after site move; FIX_CACHE_KEY ran OK

Locked

Views: 2,665

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
31 Dec 2007, 11:22 PM
#1
eloycruz avatar

eloycruz

New Zenner

Join Date:
May 2005
Posts:
12
Plugin Contributions:
0

No access to ADMIN after site move; FIX_CACHE_KEY ran OK

I have moved my site from one host to another, although the site comes on OK, and I can't access ADMIN,

I have run FIX_CACHE_KEY and it reset something, but I still have no access to ADMIN:

I get the following error Messages:

Warning: main(/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/includes/filenames.php) [function.main]: failed to open stream: No such file or directory in /home/eloycruz/public_html/admin/includes/application_top.php on line 100

Warning: main(/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/includes/filenames.php) [function.main]: failed to open stream: No such file or directory in /home/eloycruz/public_html/admin/includes/application_top.php on line 100

Fatal error: main() [function.require]: Failed opening required '/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/includes/filenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eloycruz/public_html/admin/includes/application_top.php on line 100

31 Dec 2007, 11:26 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

looks like you might have lost the filenames.php in the move. Is it really there?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

1 Jan 2008, 12:11 AM
#3
eloycruz avatar

eloycruz

New Zenner

Join Date:
May 2005
Posts:
12
Plugin Contributions:
0

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

I have moved my site from one host to another, although the site comes on OK, and I can't access ADMIN,

I have run FIX_CACHE_KEY and it reset something, but I still have no access to ADMIN:

I get the following error Messages:

Warning: main(/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/includes/filenames.php) [function.main]: failed to open stream: No such file or directory in /home/eloycruz/public_html/admin/includes/application_top.php on line 100

Warning: main(/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/includes/filenames.php) [function.main]: failed to open stream: No such file or directory in /home/eloycruz/public_html/admin/includes/application_top.php on line 100

Fatal error: main() [function.require]: Failed opening required '/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/includes/filenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eloycruz/public_html/admin/includes/application_top.php on line 100

1 Jan 2008, 12:19 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

You are showing two paths here ... one to your old server and one to your new server ...
/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/
-- vs --
/home/eloycruz/public_html/

Decide which is correct ... then check the files:
/includes/configure.php
/admin/includes/configure.php

and make sure you are using the right path for your new server ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Jan 2008, 12:26 AM
#5
eloycruz avatar

eloycruz

New Zenner

Join Date:
May 2005
Posts:
12
Plugin Contributions:
0

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

Is there only one file named filenames.php?

Which directory is it (are they) in?

1 Jan 2008, 12:34 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

See other post ... please try not to duplicate questions ... thanks ...
http://www.zen-cart.com/forum/showthread.php?p=482038#post482038

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Jan 2008, 12:36 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

Also check your database table in the configuration table for the configuration_key for:
SESSION_WRITE_DIRECTORY

and make sure that matches your new server as well ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Jan 2008, 12:38 AM
#8
eloycruz avatar

eloycruz

New Zenner

Join Date:
May 2005
Posts:
12
Plugin Contributions:
0

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

What I am looking for in these files?

I assume it is some "define" statement but which are the relevant ones.

Where is th configuration table is this the one that gets reset by FIX_CACHE_KEY util?

1 Jan 2008, 1:22 AM
#9
ajeh avatar

ajeh

Oba-san

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

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

The configuration table of the database can be found via your phpMyAdmin ...

Reading all of the defines in your 2 configure.php files you will see references to your site that reference those two paths ...

1 of those paths is your old site ... and 1 of those paths is your new site ...

This means anywhere you see reference to your old site you need to update it to utilize the paths to your new site ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Jan 2008, 1:25 AM
#10
eloycruz avatar

eloycruz

New Zenner

Join Date:
May 2005
Posts:
12
Plugin Contributions:
0

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

OK I have found references to my old host in "admin/includes/comfigure.php"

My question now is do I make the change with absolute references (fully qualified names) or use the relative references as I see in other entries in the file
e.g. CHANGE
define('DIR_FS_ADMIN', '/kunden/homepages/22/d94921833/htdocs/InkTop_ZC/admin/');
to
define('DIR_FS_ADMIN', '/admin/');
or
define('DIR_FS_ADMIN', '/home/eloycruz/public_html/admin/');

1 Jan 2008, 1:31 AM
#11
ajeh avatar

ajeh

Oba-san

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

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

This would be:

define('DIR_FS_ADMIN', '/home/eloycruz/public_html/admin/');
define('DIR_FS_CATALOG', '/home/eloycruz/public_html/');

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Jan 2008, 3:23 AM
#12
eloycruz avatar

eloycruz

New Zenner

Join Date:
May 2005
Posts:
12
Plugin Contributions:
0

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

how about the syntax for this one?

define('DIR_FS_FILE_MANAGER_ROOT', '/kunden/homepages/22/d94921833/htdocs/InkTop_ZC'); // path to starting directory of the file manager

1 Jan 2008, 3:30 AM
#13
ajeh avatar

ajeh

Oba-san

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

Re: No access to ADMIN after site move; FIX_CACHE_KEY ran OK

You cannot have both paths for the htdocs and the public_html ...

There is no File Manager is Zen Cart ... so I don't know where you are getting that one ... Maybe that's leftover from an old version? You don't need that line anymore.

What version of Zen Cart are you running and where did you get it from?

Clean Install or an Upgrade?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!