Results 1 to 8 of 8

Hybrid View

  1. #1

    Default Re: Problem Accessing Admin After Changing Folder Name

    now when i go to admin i get these errors

    Warning: main(/home/enchante/public_html/includes/autoload_func.php): failed to open stream: No such file or directory in /home/cara1977/public_html/img/includes/application_top.php on line 145

    Warning: main(/home/enchante/public_html/includes/autoload_func.php): failed to open stream: No such file or directory in /home/cara1977/public_html/img/includes/application_top.php on line 145

    Fatal error: main(): Failed opening required '/home/enchante/public_html/includes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cara1977/public_html/img/includes/application_top.php on line 145


    i dont know what is going on.

    if anyone has any ideas i would greatly appreciate them.

    thanks muchly

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

    Default Re: Problem Accessing Admin After Changing Folder Name

    unless you renamed your admin folder "img", your errors appear to be in the DIR_WS* section of the configure file beginning on line 38
    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

    Default Re: Problem Accessing Admin After Changing Folder Name

    thanks so much for the advice. yes i did change admin directory to img. i did this exactly as it stated in the docs.

    Code:
    1- Open your admin configuration file: admin/includes/configure.php
    In this file, change all instances of /admin/ to your chosen name:
    
    Change this section:
    
    // 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', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    
    Change this section:
    
    // * 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/mystore.com/www/public/admin/');
    define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');
    
    
    2- Rename your admin directory
    i have done this before without problems.
    i switched everything back to admin but now i get the exact same error messages as when i renamed it to img.
    i just don't get it.

    Cara

  4. #4
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Problem Accessing Admin After Changing Folder Name

    If you look at the error you'll see the problem - the DIR_FS pathway you are using is incorrect. This is the pathway the error is showing:
    /home/cara1977/public_html/img/

    Vger

  5. #5

    Default Re: Problem Accessing Admin After Changing Folder Name

    why is it incorrect?
    this is what i don't understand.

    i changed the name of my admin folder to img
    so shouldn't that be the path.
    i only changed the areas in admin that the docs said.

    thanks for the input

    Cara

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

    Default Re: Problem Accessing Admin After Changing Folder Name

    so, now you're back at image or admin?

    and, can you show us the DIR_FS portion of your admin/includes/configure.php?
    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.

  7. #7

    Default Re: Problem Accessing Admin After Changing Folder Name

    i figured it out. for some reason the paths were all wrong and the database pass and user was also wrong. i don't have a clue how this happened, thank you both for the help, it got me going in the right direction.

    thanks so much

    Cara

 

 

Similar Threads

  1. 404 error after changing name od admin folder
    By wagnerguy in forum Basic Configuration
    Replies: 27
    Last Post: 24 Dec 2011, 06:10 AM
  2. Backup ZC Broken after changing admin folder name
    By SethF in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 13 Nov 2011, 04:42 PM
  3. Problems after changing name of admin folder
    By pbhewitt in forum General Questions
    Replies: 4
    Last Post: 2 Oct 2010, 01:01 PM
  4. 403 error after changing name of admin folder
    By YZ250 in forum General Questions
    Replies: 8
    Last Post: 7 Jul 2009, 07:40 AM
  5. Problems after changing admin folder name
    By barbaraj1111 in forum General Questions
    Replies: 2
    Last Post: 26 Aug 2008, 08:41 PM

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