Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Sep 2006
    Posts
    154
    Plugin Contributions
    0

    Default From 1.3.8a to 1.3.9h and cant access admin

    I am working on an upgrade for a friend, (she was hacked) and I have it installed in a temp directory as instructed. The public side is viewable (in maintenance mode right now) both in the current directory and my temp (new_zen) directory, but the admin comes up with this:
    FILENAME_ALERT_PAGE.php
    saying that the link appears to be broken. The directory for admin is there. Ive installed it twice to make sure.

    Any suggestions, or what did I miss?

  2. #2
    Join Date
    Sep 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    Ok, I am able to see the login page. However when I click on the login button I am directed to the main directory not my testing directory. Which then gives me an oops, that is a broken link. So, I changed the configure.php file for the admin area to reflect the temporary directory thinking that was the problem. Still same result. (perhaps I have the wrong paths in the configure file? )

    The configure.php files are secured to 644 and my install directory has been deleted after upgrading the database to 1.3.9. My admin directory is named something different than admin too just in case that is the problem? Anyone have any ideas?

  3. #3
    Join Date
    Sep 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    (Edited this to clarify better)

    Ok, I am able to see the login page for my upgraded directory.. However when I click on the login button I am directed to a link that removes the subdirectory from the link. For example: http://www.mysite.com/zen_new/myadmi...tory/login.php is where I need to go, but, the link goes to : http://www.myside.com/myadmindirectory/login.php which does not exist. Giving me an oops, that is a broken link. So, I changed the configure.php file for the admin area to reflect the temporary directory thinking that was the problem. Still same result. (perhaps I have the wrong paths in the configure file? )

    The configure.php files are secured to 644 and my install directory has been deleted after upgrading the database to 1.3.9. My admin directory is named something different than admin too just in case that is the problem? Anyone have any ideas?

    I am able to login to the admin area of the MAIN admin directory without any problems.

  4. #4
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    Is this a completly new instilation in the sub directory?
    ie new database etc?
    if so the config files should have been correct from the start.. what change did you make?

  5. #5
    Join Date
    Sep 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    PHP Code:
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      
    define('DIR_WS_ADMIN''/ficticiousadmin/');
      
    define('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_ADMIN''https://www.website.com/ficticiousadmn/');
      
    define('DIR_WS_HTTPS_CATALOG''https://www.website.com/');
      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
      
    define('DIR_WS_CATALOG_IMAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'images/');
      
    define('DIR_WS_CATALOG_TEMPLATE'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/templates/');
      
    define('DIR_WS_INCLUDES''includes/');
      
    define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');
      
    define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
      
    define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
      
    define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
      
    define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');
      
    define('DIR_WS_CATALOG_LANGUAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/languages/');
    // * DIR_FS_* = Filesystem directories (local/physical)
      //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      
    define('DIR_FS_ADMIN''/home/changedname/public_html/ficticiousadmin/');
      
    define('DIR_FS_CATALOG''/home/changedname/public_html/');
      
    define('DIR_FS_CATALOG_LANGUAGES'DIR_FS_CATALOG 'includes/languages/');
      
    define('DIR_FS_CATALOG_IMAGES'DIR_FS_CATALOG 'images/');
      
    define('DIR_FS_CATALOG_MODULES'DIR_FS_CATALOG 'includes/modules/');
      
    define('DIR_FS_CATALOG_TEMPLATES'DIR_FS_CATALOG 'includes/templates/');
      
    define('DIR_FS_BACKUP'DIR_FS_ADMIN 'backups/');
      
    define('DIR_FS_EMAIL_TEMPLATES'DIR_FS_CATALOG 'email/');
      
    define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');
    // define our database connection
      
    define('DB_TYPE''mysql');
      
    define('DB_PREFIX''');
      
    define('DB_SERVER''localhost');
      
    define('DB_SERVER_USERNAME'blocked');
      define('
    DB_SERVER_PASSWORD', 'blocked');
      define('
    DB_DATABASE', 'blocked');
      define('
    USE_PCONNECT', 'false');
      define('
    STORE_SESSIONS', 'db'); 

  6. #6
    Join Date
    Sep 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    Quote Originally Posted by Donal View Post
    Is this a completly new instilation in the sub directory?
    ie new database etc?
    if so the config files should have been correct from the start.. what change did you make?
    Basically what I did was add the template overrides to the new version of 1.3.9, installed my database into a new database, and upgraded the database from 1.3.8 to 1.3.9 in the new directory.

  7. #7
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    website.com/ficticiousadmn/
    should be:

    website.com/subdirectory/ficticiousadmn/ ?

    and the same with the orther 2 entries:

  8. #8
    Join Date
    Sep 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    OK, thank you, that worked. Now it is saying that I am still using 1.3.8 version in the sub directory. I assume I should have installed it instead of just upgrading the database?

  9. #9
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    you installed 139 into the sub directory yes?
    there must still be a ref to the old store in the config files somewhere

  10. #10
    Join Date
    Sep 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: From 1.3.8a to 1.3.9h and cant access admin

    Technically, I didnt "install" it, I just upgraded the database... but it is 1.3.9 files

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Cant Access my Admin Page after restoring from backup
    By nelly7 in forum General Questions
    Replies: 8
    Last Post: 20 Jun 2014, 09:18 AM
  2. admin login page is missing. cant access admin area
    By ztotheetothen in forum Customization from the Admin
    Replies: 11
    Last Post: 26 Feb 2011, 05:44 PM
  3. Cant access site and Admin pg has error msg
    By oxicottin in forum General Questions
    Replies: 2
    Last Post: 2 Nov 2009, 12:25 AM
  4. cant access admin through ipaddress/~login/admin
    By dellvostro in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 12 Nov 2008, 08:23 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR