Zen Cart Logo
Forums / Basic Configuration / Renaming ZenCart Directory broke my site!!!!

Renaming ZenCart Directory broke my site!!!!

Locked

Views: 2,679

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
19 Oct 2006, 2:49 PM
#1
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Renaming ZenCart Directory broke my site!!!!

Hi, I need to rename my zencart directory.
I followed all of the instructions given at
http://www.zen-cart.com/wiki/index.php/Server_Admin_-_Change_Folders

But now everything has gone CRAZY! Not sure what I did wrong.

PLEASE HELP! I need to get this store online ASAP.

Here is the link to the site:
http://www.zulurose.com/store/

It used to be at:
http://www.zulurose.com/eCommerce/

I changed the Sessions Directory, renamed the directory, updated my config files, and now the php is acting CRAYZ.

Any help would be greatly appreciated.

19 Oct 2006, 2:55 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Renaming ZenCart Directory broke my site!!!!

post your includes/configure.php minus your passwords.

19 Oct 2006, 3:01 PM
#3
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Re: Renaming ZenCart Directory broke my site!!!!

Kim:

post your includes/configure.php minus your passwords.
Ok here is my include/configue.php

<?php
/**
 *
 * @package Configuration Settings
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 */


// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
  // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
  define('HTTP_SERVER', 'http://zulurose.com');
  define('HTTPS_SERVER', 'https://zulurose.com');

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

  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/content/z/u/l/zulurose/html/store/');

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

// define our database connection
************** SNIP *************

  // 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', 'none'); 
  define('DIR_FS_SQL_CACHE', '/home/content/z/u/l/zulurose/html/store/cache');

?>
19 Oct 2006, 3:38 PM
#5
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Re: Renaming ZenCart Directory broke my site!!!!

Kim:

See if this thread helps. http://www.zen-cart.com/forum/showthread.php?t=48444&highlight=init_templates.php

BTW a search for a unique piece of the error code will ususally find a result.

I didn't find that link particularly helpful.

Were do I find my error logs?

Also too, I am getting this error in the store/admin/

Warning: main(/home/content/z/u/l/zulurose/html/store/includes/languages/english/meta_tags.php): failed to open stream: No such file or directory in /home/content/z/u/l/zulurose/html/store/admin/includes/languages/english.php on line 50

Warning: main(/home/content/z/u/l/zulurose/html/store/includes/languages/english/meta_tags.php): failed to open stream: No such file or directory in /home/content/z/u/l/zulurose/html/store/admin/includes/languages/english.php on line 50

Fatal error: main(): Failed opening required '/home/content/z/u/l/zulurose/html/store/includes/languages/english/meta_tags.php' (include_path='.:/usr/local/lib/php') in /home/content/z/u/l/zulurose/html/store/admin/includes/languages/english.php on line 5
19 Oct 2006, 3:51 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Renaming ZenCart Directory broke my site!!!!

The errors are telling you the program can't find those files. That usually means they are missing or corrupt. Try reuploading the language files from the errors.

19 Oct 2006, 3:58 PM
#7
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Re: Renaming ZenCart Directory broke my site!!!!

i am wondering if the file properties got changed during the renaming. I don't think the tutorial that is on the WIKI is very thurough.

I followed the directions exactly and the whole site looks like I need to re-install it :(

Wow... I hope I don't have to do that.
I am trying to re-upload my old backup now... I hope that helps.

-z

27 Oct 2006, 7:49 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Renaming ZenCart Directory broke my site!!!!

The error messages clearly state that the required file cannot be located.
So, either the file is not present in the path specified, or it has permissions set in a way that is blocking access.