Hello,
I am ready to go live with my store and my zen directory is under mydomain.com/store, but I want to just make it mydomain.com and not have it under a directory..
Where do I go to change this? Thanks
Hello,
I am ready to go live with my store and my zen directory is under mydomain.com/store, but I want to just make it mydomain.com and not have it under a directory..
Where do I go to change this? Thanks
You would move all the ZenCart files that are in /your_shop_folder......to the root of your site.
then edit 2 configure.php files
/includes/configure.php
/admin/includes/configure.php
these files contain references to your current folder in the form /your_folder/
you correct all occurences that reference the folder removing the shop/ entries so in the above example you end up withCode:define('DIR_WS_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/')
Save these and replace the correct file to the reapective location.Code:define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/')
Zen-Venom Get Bitten
There are a couple other things to address during your move.
They are documented here:
http://www.zen-cart.com/wiki/index.p...Change_Folders
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I changed the files but still it wont work, what am i doing wrong?!
Here is the old admin/includes file:
define('DIR_WS_ADMIN', '/cart/admin/');
define('DIR_WS_CATALOG', '/cart/');
define('DIR_WS_HTTPS_ADMIN', '/cart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/cart/');
define('DIR_FS_ADMIN', '/home/sue/public_html/cart/admin/');
define('DIR_FS_CATALOG', '/home/sue/public_html/cart/');
define('DIR_FS_SQL_CACHE', '/home/sue/public_html/cart/cache');
to:
define('DIR_WS_ADMIN', 'admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', 'admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_FS_ADMIN', '/home/sue/public_html/admin/');
define('DIR_FS_CATALOG', '/home/sue/public_html/');
define('DIR_FS_SQL_CACHE', '/home/sue/public_html/cache');
Here is the old includes/configure file:
define('DIR_WS_CATALOG', '/cart/');
define('DIR_WS_HTTPS_CATALOG', '/cart/');
define('DIR_FS_CATALOG', '/home/sue/public_html/cart/');
define('DIR_FS_SQL_CACHE', '/home/sue/public_html/cart/cache');
to:
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_FS_CATALOG', '/home/sue/public_html/');
define('DIR_FS_SQL_CACHE', '/home/sue/public_html/cache');
Then in the zen cart admin, i went to sesssions and changed it to:
/home/sue/public_html/cache
Is there anything else that I need to do in my ftp program or admin... I still have the cart folder, do I copy everything from there and paste in directory into the public_html folder????
Did you miss the first step??I still have the cart folder, do I copy everything from there and paste in directory into the public_html folder????
And DrBytes refereence to: Change_FoldersYou would move all the ZenCart files that are in /your_shop_folder......to the root of your site.
So the answer is yes, you have to move/copy ALL the files.
Zen-Venom Get Bitten
ok, i did want you said and now i got this error:
Fatal error: Cannot instantiate non-existent class: phpbb in /home/sue/public_html/includes/autoload_func.php on line 79
how do i fix this? thanks for your help!
Also, i cant view the admin either...
Last edited by bfwdesigns; 4 Oct 2006 at 03:02 AM.
ok, i fixed it where I can now see the admin area, but I cant view the catalog..
still shows this error:
Fatal error: Cannot instantiate non-existent class: phpbb in /home/sue/public_html/includes/autoload_func.php on line 79
do you have phpbb installed and configured n the zen cart configure files?
Zen cart PCI compliant Hosting
do you have a file in your /includes/classes folder called class.phpbb.php ? or is it class.phpBB.php ? (with uppercase)? As of v1.3.5, it needs to be all-lower-case.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I am not at home to check to check it, but I dont believe I had phpbb enabled and I have not done anything differently besides moving the files to the home directory.
Where do I go to see if I had phpbb enabled? I know that in the zen admin I believe under configuration and my store , where it says "enable phpbb linkage" that it says "false".... is this what you are referring too?
Or, maybe this is something that I did not do right in the includes/configure, admin/includes files?
I appreciate all the help and need to get this site up today... help!