Re: link to order in customer order status email incomplete
Quote:
Originally Posted by
marvin
Hey Diva Vocals or anyone can you help, please, with my above posted problem???
Thanks
Based upon the fact the returned 404 page appears to be the default Apache 404 page and not Zen Cart's 404 page, it appears you may have placed the CEON generated ".htaccess" code into the wrong ".htaccess" file. If the ".htacess" file was in the root Zen Cart installation folder most requests (including for the URI you posted) would be sent to Zen Cart and Zen Cart's 404 page would be displayed.
The top of that ".htaccess" file looks like the one in the "images" sub folder. If you accidentally merged the contents with the ".htaccess" file in the "images" sub folder you will want to undo the changes.
Are you sure you added the rules to the ".htaccess" file in the root Zen Cart installation folder?
Re: link to order in customer order status email incomplete
Quote:
Originally Posted by
lhungil
Based upon the fact the returned 404 page appears to be the default Apache 404 page and not Zen Cart's 404 page, it appears you may have placed the CEON generated ".htaccess" code into the wrong ".htaccess" file. If the ".htacess" file was in the root Zen Cart installation folder most requests (including for the URI you posted) would be sent to Zen Cart and Zen Cart's 404 page would be displayed.
The top of that ".htaccess" file looks like the one in the "images" sub folder. If you accidentally merged the contents with the ".htaccess" file in the "images" sub folder you will want to undo the changes.
Are you sure you added the rules to the ".htaccess" file in the root Zen Cart installation folder?
**nods in agreement**
Good catch!! I didn't notice that when I looked the .htaccess file marvin posted.. I have to admit I have a tendency to "skim" posts when folks post a WHOLE file versus the trouble section of a file :smile:. Re-Reading marvin's original post it looks like he didn't follow the Ceon install instructions correctly and placed the .htaccess rules this add-on generates into the wrong .htaccess file.. This would indeed cause 404 errors..
Re: link to order in customer order status email incomplete
Thank you both.
I did add the rewrite rules in the wrong .htaccess file. This was because my httpdocs folder did not have any. I just created the file for the httpdocs folder and uploaded it.
I still have the same problem when - I click on a category in my category tree.
- When I do a search for a product and then click on a product to go to its page..
This is the .htaccess file in my httpdocs folder. (I added in a rewrite rule for aan html extension and put my shop name in the last line in case it was needed)
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$
[OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/workhere [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
# Don't rewrite optional_fields directory
RewriteCond %{REQUEST_URI} !^/optional_fields/ [NC]
# Don't rewrite classes directory
RewriteCond %{REQUEST_URI} !^/classes/ [NC]
# Don't rewrite feed directory
RewriteCond %{REQUEST_URI} !^/feed/ [NC]
# Don't rewrite plesk-stat directory
RewriteCond %{REQUEST_URI} !^/plesk\-stat/ [NC]
# Don't rewrite checkout_by_amazon directory
RewriteCond %{REQUEST_URI} !^/checkout_by_amazon/ [NC]
# Don't rewrite _docs directory
RewriteCond %{REQUEST_URI} !^/_docs/ [NC]
# Don't rewrite picture_library directory
RewriteCond %{REQUEST_URI} !^/picture_library/ [NC]
# Don't rewrite sql updates directory
RewriteCond %{REQUEST_URI} !^/sql\ updates/ [NC]
# Don't rewrite extra_datafiles directory
RewriteCond %{REQUEST_URI} !^/extra_datafiles/ [NC]
# Don't rewrite auto_loaders directory
RewriteCond %{REQUEST_URI} !^/auto_loaders/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .*/sourceforherbs/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
Re: link to order in customer order status email incomplete
I'd start by removing any rules not generated by the add-on and just see if that works 1st before you add new rules..
Quote:
Originally Posted by
marvin
Thank you both.
I did add the rewrite rules in the wrong .htaccess file. This was because my httpdocs folder did not have any. I just created the file for the httpdocs folder and uploaded it.
I still have the same problem when - I click on a category in my category tree.
- When I do a search for a product and then click on a product to go to its page..
This is the .htaccess file in my httpdocs folder. (I added in a rewrite rule for aan html extension and put my shop name in the last line in case it was needed)
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$
[OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/workhere [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
# Don't rewrite optional_fields directory
RewriteCond %{REQUEST_URI} !^/optional_fields/ [NC]
# Don't rewrite classes directory
RewriteCond %{REQUEST_URI} !^/classes/ [NC]
# Don't rewrite feed directory
RewriteCond %{REQUEST_URI} !^/feed/ [NC]
# Don't rewrite plesk-stat directory
RewriteCond %{REQUEST_URI} !^/plesk\-stat/ [NC]
# Don't rewrite checkout_by_amazon directory
RewriteCond %{REQUEST_URI} !^/checkout_by_amazon/ [NC]
# Don't rewrite _docs directory
RewriteCond %{REQUEST_URI} !^/_docs/ [NC]
# Don't rewrite picture_library directory
RewriteCond %{REQUEST_URI} !^/picture_library/ [NC]
# Don't rewrite sql updates directory
RewriteCond %{REQUEST_URI} !^/sql\ updates/ [NC]
# Don't rewrite extra_datafiles directory
RewriteCond %{REQUEST_URI} !^/extra_datafiles/ [NC]
# Don't rewrite auto_loaders directory
RewriteCond %{REQUEST_URI} !^/auto_loaders/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .*/sourceforherbs/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
Re: link to order in customer order status email incomplete
Quote:
Originally Posted by
marvin
Thank you both.
I did add the rewrite rules in the wrong .htaccess file. This was because my httpdocs folder did not have any. I just created the file for the httpdocs folder and uploaded it.
I still have the same problem when - I click on a category in my category tree.
- When I do a search for a product and then click on a product to go to its page..
Two things:
- The readme has LOTS of great information including
Quote:
Read the instructions given in that panel and copy and paste the new Rewrite Rule to the store's .htaccess file/VirtualHost directive, as desired.
- If you want to add additional rules to your .htaccess file, the readme also includes LOTs of good information on how to do this. (doesn't cover EVERY new rule, just the most common ones)
Re: link to order in customer order status email incomplete
I did as you suggested (removed my changes and used the original .htaccess file used created by the module) and still get the same error message.
PS. I have read thru the documentation - configuration, Installation, etc over and over and still the same problem.
Re: link to order in customer order status email incomplete
Quote:
Originally Posted by
marvin
I did as you suggested (removed my changes and used the original .htaccess file used created by the module) and still get the same error message.
PS. I have read thru the documentation - configuration, Installation, etc over and over and still the same problem.
Are you SURE that this is the rules that were generated?? I ask because some of these rules are for folders that would be found in the shop/includes folder (classes, extra_datafiles, auto_loaders, etc). You also have folders that look like they do not belong to any add-on and are extra folders in your shop root..
I'd clean up your shop folders and have Ceon regenerate your .htaccess file.. and try that one instead..
Re: link to order in customer order status email incomplete
Yes, there were folders from prior modules. I cleaned them up and reran the Installation check. It still had no errors. I used the new .htaccess file and still the same error.
Here is the file:
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/workhere [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
# Don't rewrite optional_fields directory
RewriteCond %{REQUEST_URI} !^/optional_fields/ [NC]
# Don't rewrite feed directory
RewriteCond %{REQUEST_URI} !^/feed/ [NC]
# Don't rewrite checkout_by_amazon directory
RewriteCond %{REQUEST_URI} !^/checkout_by_amazon/ [NC]
# Don't rewrite _docs directory
RewriteCond %{REQUEST_URI} !^/_docs/ [NC]
# Don't rewrite picture_library directory
RewriteCond %{REQUEST_URI} !^/picture_library/ [NC]
# Don't rewrite sql updates directory
RewriteCond %{REQUEST_URI} !^/sql\ updates/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
Re: link to order in customer order status email incomplete
Wish I could be of more help.. the issue is with your .htaccess file.. But this is not my area of expertise.. Hopefully someone else can help.. The only thing that I can think of is that your httpdocs folder is not where you Zen Cart store's root is.. If this is the case, your .htaccess file is still not in the right place.. (Can't see your store.. so I am guessing)
Re: link to order in customer order status email incomplete
My website is www.sourceforherbs.com.
Hopefully you can spot something in the source flie.
Thanks, Marvin