Zen Cart Logo
Forums / General Questions / Changed directories, get error when when trying to access admin panel.

Changed directories, get error when when trying to access admin panel.

Locked

Views: 1,553

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
31 Jul 2007, 1:30 AM
#1
mohinder avatar

mohinder

Zen Follower

Join Date:
Mar 2007
Posts:
115
Plugin Contributions:
0

Changed directories, get error when when trying to access admin panel.

I get this error: Warning: main(/home/wishgivi/public_html/testinstall/includes/extra_configures/bmz_io_conf.php) [function.main]: failed to open stream: No such file or directory in /home/wishgivi/public_html/shop/admin/includes/extra_configures/bmz_io_conf.php on line 12

Fatal error: main() [function.require]: Failed opening required '/home/wishgivi/public_html/testinstall/includes/extra_configures/bmz_io_conf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wishgivi/public_html/shop/admin/includes/extra_configures/bmz_io_conf.php on line **12

**I changed my directory to /shop/ from /testinstall/

I edited the configuration file in the includes folder, but that's it. Here's the code:

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'false');

// 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_CATALOG', '/shop/');
  define('DIR_WS_HTTPS_CATALOG', '/shop/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

  define('DIR_WS_PHPBB', '/');

// * 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_CATALOG', '/home/wishgivi/public_html/shop/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

  // The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash
  define('SQL_CACHE_METHOD', 'database');
  define('DIR_FS_SQL_CACHE', '/home/wishgivi/public_html/shop/cache');
```was there anything i did wrong?  or are there any other files i need to change?

oh and here is the link: <http://www.wishgiving.com/shop/admin/>
31 Jul 2007, 1:36 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Changed directories, get error when when trying to access admin panel.

was there anything i did wrong? or are there any other files i need to change?
There is another configure.php file for the admin at admin/includes

Did you also edit this file?

31 Jul 2007, 1:40 AM
#3
mohinder avatar

mohinder

Zen Follower

Join Date:
Mar 2007
Posts:
115
Plugin Contributions:
0

Re: Changed directories, get error when when trying to access admin panel.

:blink: didn't see that one.

thanks, that fixed the problem!