Yes zen cart is in a subdirectory. I redirected my domain name to my zen cart store that is in a subdirectory.
my domain is www.kimberliteassemblers.com
Yes zen cart is in a subdirectory. I redirected my domain name to my zen cart store that is in a subdirectory.
my domain is www.kimberliteassemblers.com
And due to the changes you now made, another problem bites the dust.![]()
Refresh you Browser page. I used different Browsers to go to http://www.kimberliteassemblers.com/ and they all showed your Zen Cart Index page.
That is because of this:
http://www.kimberliteassemblers.com/commerce/a/b/
Change your 'includes/configure.php' file to point to the correct URL.
Or...
Reinstall Zen Cart in you Document Root dir. - one level above where it is now.
After seeing the link to your site, my money is on the way you're forwarding your domain to the Zen Cart folder is the cause of the problem... as well as it appears you probably installed Zen Cart before the forwarding took place.
If you told your host to forward: http://www.kimberliteassemblers.com/
To: http://www.kimberliteassemblers.com/commerce/a/b/index.php
Then the fix for your problem is with your host, so that index.php is a valid default file (so that when someone goes to: http://www.kimberliteassemblers.com/commerce/a/b/ it automatically loads http://www.kimberliteassemblers.com/commerce/a/b/index.php ) and after it is fixed, you should remove the /index.php from the forwarding address... But...
If you only told your host to forward: http://www.kimberliteassemblers.com/
To: http://www.kimberliteassemblers.com/commerce/a/b/
Then this is the Fix:
in .../includes/configure.php change Lines 25 & 26
To:Code:define('DIR_WS_CATALOG', '/commerce/a/b/'); define('DIR_WS_HTTPS_CATALOG', '/commerce/a/b/');
AND in: ../admin/includes/configure.php Lines 41, 42, 43 & 44Code:define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/');
From:
To:Code:define('DIR_WS_ADMIN', '/commerce/a/b/admin/'); define('DIR_WS_CATALOG', '/commerce/a/b/'); define('DIR_WS_HTTPS_ADMIN', '/commerce/a/b/admin/'); define('DIR_WS_HTTPS_CATALOG', '/commerce/a/b/');
I suggest that while doing this you also change the name of your "admin" folder to make your site more secure and change lines 41 & 43 to represent this change in: ../admin/includes/configure.phpCode:define('DIR_WS_ADMIN', '/YOUR_ADMIN_FOLDER_NAME/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/YOUR_ADMIN_FOLDER_NAME/'); define('DIR_WS_HTTPS_CATALOG', '/');
These are code samples are educated guesses as to what your configure files currently show right now based on the location the "home" link sends you.
Hope this helps -- Best of Luck.
DWELLS I made the changes per your suggestion & the home links on the store index page now take me to the store index page BUT the whole page seems to be missing pics, fonts and all the links on the page take me to a 404 error maybe I need to edit the CSS idaknow any thoughts on this would help if it is going to be a pain then I will just install zen in my root folder. Could you give me a quick one liner on re-installing....???? Peace
I think I checked out your site while you were making the changes... or shortly after you made the suggested changes (before changing them back).
what I saw was it looks like you are forwarding to a file, instead of a directory... the reason I figure this is what is happening, is some of my surfing earlier hadthe "index.phpindex.php" is why you were getting 404 errors.Code:http://www.kimberliteassemblers.com/index.phpindex.php?main_page=
and because your site is allowing people to see the file structure of your site I suggest asking your hosting company if they have (and if they don't will they) it fixed so when someone goes to a directory, it loads index.php if available.
there is a setting in the hosting system (that you may have access to) that tells your server what to load and in what order... if index.php isn't listed Zen Cart will not load, and instead show the folder structure of the site.... most sites have it set up so it loads "index.html" then "index.php" and some hosts have an extra "default.*"
Again, talk to your host -- because if what I think is happening is the cause, even if you move it to your root folder, you'll continue to have the same problem.
If your host says it is set up to load "index.php" when someone types in a directory name... then you could try reinstalling Zen Cart to your root folder, or moving your current cart.
I know you asked for a one liner for what you should do-- but I thought it needed a longer answer.
Hope you manage to get your site working soon.