Hi,
It looks like you don't have a rewrite rule added on your site. Please re-read the installation and configuration instructions and after completing the installation and configuration everything should be fine!
All the best...
Conor
ceon
Hi,
It looks like you don't have a rewrite rule added on your site. Please re-read the installation and configuration instructions and after completing the installation and configuration everything should be fine!
All the best...
Conor
ceon
Hi,
That isn't actually a Zen Cart page but a file that is loaded into another page (as you say, the index page).
Therefore this problem isn't the one being caused by the URI mapping module.. it has no effect on the content of any page.
You probably haven't put the condition in your rewrite rule which causes it only to rewrite URIs beginning with /cart:
# ONLY rewrite URIs beginning with /cart/
RewriteCond %{REQUEST_URI} ^/cart/.* [NC]
If that's not it then what version of the module are you using? Your rewrite rule was very out of date (and broken).
All the best...
Conor
ceon
Last edited by conor; 28 May 2009 at 09:30 PM.
Hi,
I'm afraid not. The only thing I can think of is some query string parameters aren't being passed properly after a redirect. I don't know why that would be and am afraid I won't be able to look this week, I've simply run out of time (as you can see by the fact that I'm still working at 9.30PM!).
All the best...
Conor
ceon
Well, although I would rather get an answer to what my problem was, I did just put a full redirect to /cart instead of an index define for the site, which fixes the issue I was having. I still would like the address not to show /cart, and know how/why it was bringing up the error 404 page instead of the page defined if you have a chance to look in to it.
Thanks~
Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
Currently developing: http://www.printdealz.com
Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a
Well, checking on Google Analytics, I found the more precise problem, but I'm still stumped on what's causing it. The site was redirecting to the site appropriately, but pulling data for the main page from /cart/cart/... for the data, so something is causing it to put an extra /cart in there, but I've been searching for anything for a few days now that would cause this, and I don't see it. Thought knowing more precisely might narrow it down, but for me I still can't figure out why. I put the site back to how it was with the error, because I'd rather find the real solution, than to just side-step it with the other redirect, for other users that may run in to it.
Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
Currently developing: http://www.printdealz.com
Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a
Hi,
I realise and appreciate that it must be frustrating but your problem doesn't happen on anyone else's site and I can't manually go into everyone's site to debug when they have a problem, I just don't have the time anymore. Sorry.
The rewrite rule you posted though was definitely wrong.. you should base yours on an example rule from the latest version of the module, not an old one, maybe that'll fix things. Alternatively you should check what settings you have for DIR_WS_CATALOG in your configure.php file, it could be wrong.
All the best...
Conor
ceon
Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
Currently developing: http://www.printdealz.com
Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a
Hi,
I'm having a problem after installing the software and manually editing a top level category, the first subcategory and a product, all I get is the index page!!!
My store is in a subdirectory, so I read all the instructions and use this .htaccess file inside the subdir electronics:
BTW I tried by modyfing RewriteRule (.*) index.php?%{QUERY_STRING} [L][/CODE] to:Code:RewriteEngine on # ONLY rewrite URIs beginning with /electronics/ RewriteCond %{REQUEST_URI} ^/electronics/.* [NC] # Don't rewrite any URIs ending with a file extension (ending with .[xxxx]) RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR] RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC] # Don't rewrite admin directory RewriteCond %{REQUEST_URI} !^/electronics/admin.* [NC] # Don't rewrite editors directory RewriteCond %{REQUEST_URI} !^/electronics/editors.* [NC] # Don't rewrite payment pages/callback handlers # (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added) RewriteCond %{REQUEST_URI} !^/electronics/cybersource.php.* [NC] RewriteCond %{REQUEST_URI} !^/electronics/ipn_main_handler.php.* [NC] RewriteCond %{REQUEST_URI} !^/electronics/iridium_3d_secure_iframe.php.* [NC] RewriteCond %{REQUEST_URI} !^/electronics/localities_remote_loader.php.* [NC] RewriteCond %{REQUEST_URI} !^/electronics/nochex_apc_handler.php.* [NC] RewriteCond %{REQUEST_URI} !^/electronics/protx_direct_3d_secure_iframe.php.* [NC] RewriteCond %{REQUEST_URI} !^/electronics/realex_remote_3d_secure_iframe.php.* [NC] # Don't rewrite cPanel directories RewriteCond %{REQUEST_URI} !/cpanel.* [NC] RewriteCond %{REQUEST_URI} !/frontend.* [NC] # Handle all other URIs using Zen Cart (index.php) RewriteRule (.*) index.php?%{QUERY_STRING} [L]
RewriteRule (.*) electronics/index.php?%{QUERY_STRING} [L][/CODE]
and all got is a 500 error ...
If I do as posted, then what happens when I click is the path is correctly displayed, but then the link just goes to the index page!
Any ideas?
My site is running on HTTP Server: Apache/1.3.35 (Unix) ApacheJServ/1.1.2 PHP/4.4.4 FrontPage/5.0.2.2635 Rewrit/1.1a
What's your site address? Also, is your site on a redirect, or are you clicking a link on a main site to enter the store?
Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
Currently developing: http://www.printdealz.com
Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a
Bookmarks