Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2005
    Posts
    12
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default 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?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  4. #4
    Join Date
    May 2005
    Posts
    12
    Plugin Contributions
    0

    Default 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?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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/showth...038#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!

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  7. #7
    Join Date
    May 2005
    Posts
    12
    Plugin Contributions
    0

    Default 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?
    Last edited by eloycruz; 1 Jan 2008 at 01:40 AM. Reason: Added more clarity

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  9. #9
    Join Date
    May 2005
    Posts
    12
    Plugin Contributions
    0

    Default 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/');

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

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

    This would be:
    PHP Code:
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Site down after upgrade attemp, can't access admin section
    By tomzo in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 15 Apr 2012, 05:12 PM
  2. Site up - unable to access admin after install...
    By tfbiii in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 15 Aug 2008, 05:59 PM
  3. Replies: 11
    Last Post: 4 Oct 2007, 06:53 PM
  4. Can access admin after server move.
    By Dale Thomas in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 24 Apr 2007, 05:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg