Hi,
I'm afraid I don't use the who's online functionality and due to a serious lack of time at the minute can't take the time to look into this.
If you find the problem/solution please let us know!
All the best...
Conor
ceon
Printable View
Hi,
I'm afraid I don't use the who's online functionality and due to a serious lack of time at the minute can't take the time to look into this.
If you find the problem/solution please let us know!
All the best...
Conor
ceon
I have an interesting situation, in an effort to use two different templates on one site, I have one zencart installed in the root and another installed in a folder called "volunteers". The rewritten URL's work fine for both, however, on the second installation under "volunteers", the URL that appears in the address bar is not the rewritten one, but the original version.
Here is what I have for both:
Root:
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [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]
Volunteers:
RewriteEngine On
# ONLY rewrite URIs beginning with /volunteers/
RewriteCond %{REQUEST_URI} ^/volunteers/.* [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/volunteers/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/volunteers/editors.* [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]
Any idea why this might be?
Hi,
.htaccess files are always read from the root level first.. so your first .htaccess file is overriding the second "Volunteers" .htaccess file and therefore its rules are being superseded on your site.
You need to update the root .htaccess rewrite rule to make sure it doesn't override the volunteers rule.
I think you can do that by adding the following to the root .htaccess file (as part of the other conditions for the rule of course):
# Don't rewrite volunteers URIs
RewriteCond %{REQUEST_URI} !^/volunteers.* [NC]
Hope that helps!
All the best...
Conor
ceon
Conor
That looked like it would work, but it is still showing the originals. Here is the root .htaccess now:
RewriteEngine On
# Don't rewrite volunteers URIs
RewriteCond %{REQUEST_URI} !^/volunteers.* [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [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]
Hi There,
After installing your module, after receiving an order, I get payment from PayPal but the orders do not add themselves to the Zen Cart admin. Apparently this is because the rewrites disallow PayPal from having unrestricted access to the the ipn_main_handler.php file.
I have added the following to the htaccess file but I am still having the same problem.
RewriteCond %{REQUEST_URI} !ipn_main_handler.php [NC]
Could anyone help please, am in a bit of a stick here.
Thanks, Dan.
Hi,
I'm afraid without manually debugging I don't know what's going wrong. I've just spent 5 hours fixing some problems with the module after manually debugging the last person's site so I'm afraid I'm out of time for a while.
Good luck in getting this sorted.. let me know if you do!
I'll release an updated version of the module with my new fixes/additions when I get a chance to package it up.
All the best..
Conor
ceon
Hi Dan,
Are you sure you're on the latest version?
It has support in the Modules - Ceon URI Mapping (SEO) Config section of the admin for "Excluded Files".
By default you'll see that /ipn_main_handler.php is included in this list so Ceon URI Mapping can't interfere with it!
You'll find more information in the docs.
All the best...
Conor
ceon
newbee question
I have uploaded all the files both core and files and I can see the uri mapping in the category and ezpages but not in the add product pages.
It is a new installation of ZC 1.3.8 and new Ceon 3.2.4 and core files 1.3.8a.
Most likely it is a path problem but i don't know where to look to fix it
The store is in its own subdirectory on a WordPress front end
Hi Kevin,
I wouldn't say a path problem but that you forgot to upload some files. Check you've uploaded all the files from the modified_core_files folder.. specifically the files in the admin/includes/modules folder, it sounds like they're missing.
All the best...
Conor
ceon
thanks so much -- a thing of beauty!