Totally Zenned
- Join Date:
- Jan 2006
- Posts:
- 1,556
- Plugin Contributions:
- 0
Ultimate SEO v3 (and v2.200) [Support Thread]
I just noticed that Ultimate SEO URL has passed the Apple Zen template to become the most popular zencart plugin.
Views: 427,302
Totally Zenned
I just noticed that Ultimate SEO URL has passed the Apple Zen template to become the most popular zencart plugin.
Zen Follower
labcomputer:
Hi all,
I am having issues with USEO, when enabled I am getting this:
When I click manifacturer or categories or anythingelse ( i got this:http://www.labcomputerny.com//adapters-c-65/)Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
I am using the latest version and I am on Zen 1.5.1
Please help.
here
I HAVE THIS SAME ERROR:
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
HTTP/1.1 200 OK Date: Fri, 14 Jun 2013 20:02:37 GMT Server: Apache/2.2.22 (Unix) FrontPage/5.0.2.2635 X-Powered-By: PHP/5.3.8 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=3, max=196 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 6d76
But it only appears in Firefox or Chrome browser when adding products to the shopping cart. Not in IE. Despite the error being briefly visable, the products get insert into the shopping cart. Any Suggestions and pointers is greatly appreciated.
Totally Zenned
twi:
... The server encountered an internal error or misconfiguration and was unable to complete your request.
...
But it only appears in Firefox or Chrome browser when adding products to the shopping cart. Not in IE. Despite the error being briefly visable, the products get insert into the shopping cart. Any Suggestions and pointers is greatly appreciated.
Please Answer the following:
Version of Zen Cart?
Version of Ultimate (SEO) URLs?
Copy of .htaccess file?
Copy of server error log?
Copy of any Zen Cart debug file?
Typically "HTTP/500 Internal Server Error (or Internal Application Error), indicates a SERVER ERROR (either Apache/IIS, PHP, or another server module). This is a generic error telling you the Web Server itself encountered a fatal error in one of the Web Server's modules. Typical causes are: misconfiguration of the webserver, misconfiguration of directives in the .htaccess file, or the webserver not allowing a directive in the .htacess. There should be a "log" for server side errors (unless disabled by your hosting provider).
However, in your case I'm going to guess something else is going on. Fatal errors are rarely based upon browser... And I cannot duplicate the issue while browsing your website... I can add an item to my cart (on your website) using Firefox and IE without encountering this error...
I have seen this error on your site (last night) but it was on a completely unrelated page (category page). It was once out of about 30 page refreshes. Now I am getting all "HTTP / 404" errors for your site... Do you have a location we can see the error?
Did you install using the Zen Cart distribution zip from https://www.zen-cart.com (or did you use a one click install)? Is your hosting provider doing some sort of "caching", "proxying", or using a gridserver?
Zen Follower
lhungil:
Please Answer the following:
Version of Zen Cart?
Version of Ultimate (SEO) URLs?
Copy of .htaccess file?
Copy of server error log?
Copy of any Zen Cart debug file?Typically "HTTP/500 Internal Server Error (or Internal Application Error), indicates a SERVER ERROR (either Apache/IIS, PHP, or another server module). This is a generic error telling you the Web Server itself encountered a fatal error in one of the Web Server's modules. Typical causes are: misconfiguration of the webserver, misconfiguration of directives in the .htaccess file, or the webserver not allowing a directive in the .htacess. There should be a "log" for server side errors (unless disabled by your hosting provider).
However, in your case I'm going to guess something else is going on. Fatal errors are rarely based upon browser... And I cannot duplicate the issue while browsing your website... I can add an item to my cart (on your website) using Firefox and IE without encountering this error...
I have seen this error on your site (last night) but it was on a completely unrelated page (category page). It was once out of about 30 page refreshes. Now I am getting all "HTTP / 404" errors for your site... Do you have a location we can see the error?
Did you install using the Zen Cart distribution zip from https://www.zen-cart.com (or did you use a one click install)? Is your hosting provider doing some sort of "caching", "proxying", or using a gridserver?
Version of Zen Cart? = v1.5.1
Version of Ultimate (SEO) URLs? v2.1.2
Copy of .htaccess file? please see below
Copy of server error log? No server logs available
Copy of any Zen Cart debug file? log folder in zencart is empty
###############################################################################
###############################################################################
Options +FollowSymLinks
RewriteEngine on
RewriteBase /htdocs/BBT/ (PLEASE NOT THIS IS TRUNCATED. REAL PATH OF ZENCART WAS HERE)
###############################################################################
###############################################################################
RewriteRule ^(.)-c-([0-9_]+)/(.)-p-([0-9]+)(.)$ index.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pi-([0-9]+)(.)$ index.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pr-([0-9]+)(.)$ index.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pri-([0-9]+)(.)$ index.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-p-([0-9]+)(.)$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+)(.)$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+)(.)$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+)(.)$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+)(.)$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-ezp-([0-9]+)(.)$ index.php?main_page=page&id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)(.)$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?main_page=$1&%{QUERY_STRING} [L]
Zen Follower
lhungil:
Please Answer the following:
Version of Zen Cart?
Version of Ultimate (SEO) URLs?
Copy of .htaccess file?
Copy of server error log?
Copy of any Zen Cart debug file?Typically "HTTP/500 Internal Server Error (or Internal Application Error), indicates a SERVER ERROR (either Apache/IIS, PHP, or another server module). This is a generic error telling you the Web Server itself encountered a fatal error in one of the Web Server's modules. Typical causes are: misconfiguration of the webserver, misconfiguration of directives in the .htaccess file, or the webserver not allowing a directive in the .htacess. There should be a "log" for server side errors (unless disabled by your hosting provider).
However, in your case I'm going to guess something else is going on. Fatal errors are rarely based upon browser... And I cannot duplicate the issue while browsing your website... I can add an item to my cart (on your website) using Firefox and IE without encountering this error...
I have seen this error on your site (last night) but it was on a completely unrelated page (category page). It was once out of about 30 page refreshes. Now I am getting all "HTTP / 404" errors for your site... Do you have a location we can see the error?
Did you install using the Zen Cart distribution zip from https://www.zen-cart.com (or did you use a one click install)? Is your hosting provider doing some sort of "caching", "proxying", or using a gridserver?
ON ERROR LOGS. it turns out that within the hosting panel, there is something called Raw error logs. Theye were both turned on. I still don't see any logs in there yet in the location they say that it is found. I will post it is there are any.
Zen Follower
lhungil:
Please Answer the following:
Version of Zen Cart?
Version of Ultimate (SEO) URLs?
Copy of .htaccess file?
Copy of server error log?
Copy of any Zen Cart debug file?Typically "HTTP/500 Internal Server Error (or Internal Application Error), indicates a SERVER ERROR (either Apache/IIS, PHP, or another server module). This is a generic error telling you the Web Server itself encountered a fatal error in one of the Web Server's modules. Typical causes are: misconfiguration of the webserver, misconfiguration of directives in the .htaccess file, or the webserver not allowing a directive in the .htacess. There should be a "log" for server side errors (unless disabled by your hosting provider).
However, in your case I'm going to guess something else is going on. Fatal errors are rarely based upon browser... And I cannot duplicate the issue while browsing your website... I can add an item to my cart (on your website) using Firefox and IE without encountering this error...
I have seen this error on your site (last night) but it was on a completely unrelated page (category page). It was once out of about 30 page refreshes. Now I am getting all "HTTP / 404" errors for your site... Do you have a location we can see the error?
Did you install using the Zen Cart distribution zip from https://www.zen-cart.com (or did you use a one click install)? Is your hosting provider doing some sort of "caching", "proxying", or using a gridserver?
ZC 1.5.1 was downloaded from the link that I received when clicking on you www. zen-cart.com link provided here. it was then unzipped after download, then extracted in my local computer. uploaded to host by filezilla and installed as instructed by zencart. After successful installation, I was ask to change admin directory, etc.... and I followed all the steps. Site was working and the the first thing installed was template followed by ty package, EO, SO, Recover cart, UPS, then finally U SEO. all are versions for zc1.5.1
As far as what the host do? I don't know. I can find out. The link was the www***.net link that I gave you on our PM.
Zen Follower
lhungil:
Please Answer the following:
Version of Zen Cart?
Version of Ultimate (SEO) URLs?
Copy of .htaccess file?
Copy of server error log?
Copy of any Zen Cart debug file?Typically "HTTP/500 Internal Server Error (or Internal Application Error), indicates a SERVER ERROR (either Apache/IIS, PHP, or another server module). This is a generic error telling you the Web Server itself encountered a fatal error in one of the Web Server's modules. Typical causes are: misconfiguration of the webserver, misconfiguration of directives in the .htaccess file, or the webserver not allowing a directive in the .htacess. There should be a "log" for server side errors (unless disabled by your hosting provider).
However, in your case I'm going to guess something else is going on. Fatal errors are rarely based upon browser... And I cannot duplicate the issue while browsing your website... I can add an item to my cart (on your website) using Firefox and IE without encountering this error...
I have seen this error on your site (last night) but it was on a completely unrelated page (category page). It was once out of about 30 page refreshes. Now I am getting all "HTTP / 404" errors for your site... Do you have a location we can see the error?
Did you install using the Zen Cart distribution zip from https://www.zen-cart.com (or did you use a one click install)? Is your hosting provider doing some sort of "caching", "proxying", or using a gridserver?
Finally I found some "error logs". Please see below. The file have a lot of stuff in it. I just copied to last 11 entries in it.
[Sun Jun 16 00:30:02 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 108.90.150.61] ModPagespeed OutputFilter called for request /htdocs/myshop/ index.php?main_page=shopping_cart.html, referer: http://birthdaysextreme.net/shopping_cart.html
[Sun Jun 16 00:30:02 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 108.90.150.61] Request not rewritten because: ModPagespeed off, referer: http://birthdaysextreme.net/shopping_cart.html
[Sun Jun 16 00:30:27 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 66.249.72.50] ModPagespeed OutputFilter called for request /index.php?main_page=index&cPath=1_42
[Sun Jun 16 00:30:27 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 66.249.72.50] Request not rewritten because: ModPagespeed off
[Sun Jun 16 00:30:57 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 205.178.182.165] ModPagespeed OutputFilter called for request /index.php?main_page=index&cPath=4_124
[Sun Jun 16 00:30:57 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 205.178.182.165] Request not rewritten because: ModPagespeed off
[Sun Jun 16 00:31:40 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 123.243.113.175] ModPagespeed OutputFilter called for request /index.php?main_page=contact_us, referer: http://www.birthdaysextreme.com/index.php?main_page=shippinginfo&zenid=75097ccb98e27b8510ba36a8faee0abb
[Sun Jun 16 00:31:40 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 123.243.113.175] Request not rewritten because: ModPagespeed off, referer: http://www.birthdaysextreme.com/index.php?main_page=shippinginfo&zenid=75097ccb98e27b8510ba36a8faee0abb
[Sun Jun 16 00:32:43 2013][error] [client 66.249.72.38] Premature end of script headers: index.php
[Sun Jun 16 00:32:43 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 66.249.72.38] ModPagespeed OutputFilter called for request /data/templates/http-errors/Error-500.htm
[Sun Jun 16 00:32:43 2013][debug] net/instaweb/apache/mod_instaweb.cc(396): [client 66.249.72.38] Request not rewritten because: request->status != 200 (was 500)
Zen Follower
twi:
Finally I found some "error logs". Please see below. The file have a lot of stuff in it. I just copied to last 11 entries in it.
[Sun Jun 16 00:30:02 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 108.90.150.61] ModPagespeed OutputFilter called for request /htdocs/myshop/ index.php?main_page=shopping_cart.html, referer: http://birthdaysextreme.net/shopping_cart.html
[Sun Jun 16 00:30:02 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 108.90.150.61] Request not rewritten because: ModPagespeed off, referer: http://birthdaysextreme.net/shopping_cart.html
[Sun Jun 16 00:30:27 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 66.249.72.50] ModPagespeed OutputFilter called for request /index.php?main_page=index&cPath=1_42
[Sun Jun 16 00:30:27 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 66.249.72.50] Request not rewritten because: ModPagespeed off
[Sun Jun 16 00:30:57 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 205.178.182.165] ModPagespeed OutputFilter called for request /index.php?main_page=index&cPath=4_124
[Sun Jun 16 00:30:57 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 205.178.182.165] Request not rewritten because: ModPagespeed off
[Sun Jun 16 00:31:40 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 123.243.113.175] ModPagespeed OutputFilter called for request /index.php?main_page=contact_us, referer: http://www.birthdaysextreme.com/index.php?main_page=shippinginfo&zenid=75097ccb98e27b8510ba36a8faee0abb
[Sun Jun 16 00:31:40 2013][debug] net/instaweb/apache/mod_instaweb.cc(465): [client 123.243.113.175] Request not rewritten because: ModPagespeed off, referer: http://www.birthdaysextreme.com/index.php?main_page=shippinginfo&zenid=75097ccb98e27b8510ba36a8faee0abb
[Sun Jun 16 00:32:43 2013][error] [client 66.249.72.38] Premature end of script headers: index.php
[Sun Jun 16 00:32:43 2013][debug] net/instaweb/apache/mod_instaweb.cc(375): [client 66.249.72.38] ModPagespeed OutputFilter called for request /data/templates/http-errors/Error-500.htm
[Sun Jun 16 00:32:43 2013][debug] net/instaweb/apache/mod_instaweb.cc(396): [client 66.249.72.38] Request not rewritten because: request->status != 200 (was 500)
The line that occurs every other 2 line in the eror log was:
"Request not rewritten because: ModPagespeed off"
What is this saying? Is this the problem?
Totally Zenned
twi:
...
###############################################################################Common directives
###############################################################################
NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /htdocs/BBT/ (PLEASE NOT THIS IS TRUNCATED. REAL PATH OF ZENCART WAS HERE)###############################################################################
Start Ultimate SEO URLs
###############################################################################
...
That path does not look right. It should be the relative Web Site path... (matches DIR_WS_CATALOG in configure.php).
It appears your DIR_WS_CATALOG is "/". If this is the case you can comment out the RewriteBase directive. Otherwise replace the "/" with the value configured inside your configure.php for DIR_WS_CATALOG.
...
###############################################################################
# Common directives
###############################################################################
# NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine on
#RewriteBase /shop/
###############################################################################
# Start Ultimate SEO URLs
###############################################################################
...
Zen Follower
lhungil:
That path does not look right. It should be the relative Web Site path... (matches DIR_WS_CATALOG in configure.php).
It appears your DIR_WS_CATALOG is "/". If this is the case you can comment out the RewriteBase directive. Otherwise replace the "/" with the value configured inside your configure.php for DIR_WS_CATALOG.
...
###############################################################################
###############################################################################
Options +FollowSymLinks
RewriteEngine on
#RewriteBase /shop/
###############################################################################
###############################################################################
...
The instance in the configure.php file that I find in my "includes" directory with the location of the relative path that you indicate is below:
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
so does that mean the I replace "RewriteBase /shop/" with "RewriteBase /pub/" in the htaccess file?
What I was using is the Real path that is indicated in the zc installation. I was very confused what I was supposed to enter there. So What I did was enter the "define('DIR_FS_CATALOG', '..........' ) to replace "shop/"
Totally Zenned
You can read more about the different defines in Zen Cart's configure.php. DIR_WS_CATALOG is the "folder" or "directory" where you installed Zen Cart relative to the Web Server's document root (or in other words what shows up following the domain name in your web browser's address bar). Note DIR_WS_CATALOG should start and end with a slash (/).
So if you have define('DIR_WS_CATALOG', '/'), then use either use: "RewriteBase /" or "#RewriteBase /".
If you have define('DIR_WS_CATALOG', '/shop/'), then use: "RewriteBase /shop/".
Zen Follower
lhungil:
That path does not look right. It should be the relative Web Site path... (matches DIR_WS_CATALOG in configure.php).
It appears your DIR_WS_CATALOG is "/". If this is the case you can comment out the RewriteBase directive. Otherwise replace the "/" with the value configured inside your configure.php for DIR_WS_CATALOG.
...
###############################################################################
###############################################################################
Options +FollowSymLinks
RewriteEngine on
#RewriteBase /shop/
###############################################################################
###############################################################################
...
Thank you lhungl. You are a live saver again. A thousand Thank You's! :clap:
I replaced the "overwritebase" with "/" and it works.
Replacing it with "RewriteBase /pub/" didn't work.
Commenting it out did not work either.
Zen Follower
lhungil:
You can read more about the different defines in Zen Cat's configure.php. DIR_WS_CATALOG is the "folder" or "directory" where you installed Zen Cart relative to the Web Server's document root (or in other words what shows up following the domain name in your web browser's address bar). Note DIR_WS_CATALOG should start and end with a slash (/).
So if you have define('DIR_WS_CATALOG', '/'), then use either use: "RewriteBase /" or "#RewriteBase /".
If you have define('DIR_WS_CATALOG', '/shop/'), then use: "RewriteBase /shop/".
Strange thing is that it show ('DIR_WS_CATALOG', '/pub/'), (given if I was looking at the correct line in the file.
Replacing it with just "/" did it. Replacing it with /pub/ did not.
Thanks again
Totally Zenned
Glad you were able to get everything working! Thank you for taking the time to reply and confirm the issue was due to a misconfiguration of the ".htaccess" file and not an issue with Ultimate (SEO) URLs.
Note: you previously said "define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');".
"define('DIR_WS_DOWNLOAD_PUBLIC',...);" and "define('DIR_WS_CATALOG',...);" are not the same.
Totally Zenned
I'm having a problem where the file used for the Recover Cart Sales module, in the root folder, is getting a 301 redirect to index.php. How do I stop this module from rewriting that file?
Totally Zenned
jeking:
I'm having a problem where the file used for the Recover Cart Sales module, in the root folder, is getting a 301 redirect to index.php. How do I stop this module from rewriting that file?
Some important things to understand about this plugin.
Some places you can look: Review your installation of the "Recover Cart Sales" module. Make sure you have the latest version of "Ultimate (SEO) URLs" installed. Review any modifications made to core Zen Cart files. Review any custom redirects added to the .htaccess file in the web server's document root, the ZenCart installation folder, and the Zen Cart admin folder. Review any Zen Cart debug logs and your web server error logs.
New Zenner
How to change apache rewrite to nginx rewrite?
My serverinfo: debian6+nginx+mysql+php
Totally Zenned
zch0071:
How to change apache rewrite to nginx rewrite?
My serverinfo: debian6+nginx+mysql+php
First change the appropriate line(s) in the sample .htaccess file (especially the RewriteBase). You can then try the tool over at Winginx to convert your .htaccess to the nginix format. No guarantee, but it should give you a good starting point.
Totally Zenned
Thanks for the replies. I'm not familiar with nginx. What is the reason for that instead of a regular htaccess file?
Totally Zenned
jeking:
Thanks for the replies. I'm not familiar with nginx. What is the reason for that instead of a regular htaccess file?
It is just different web server software (and uses different files). Most hosting providers run Apache or IIS (both can accept or import .htaccess files). A handful run other web server software such as nginx for various reasons :)
Fields marked required must be completed.
Tell staff why this post should be reviewed.