Re: Updated "1_affected_files_152" pre-release available for testing
Quote:
Originally Posted by
slavka001
... Yes. I am not sure if that helps but i was loading files (second time) one at a time and found that after loading I tried to load files separately. Zencart works until i load this file: ultimate_seo_urls_212\2_new_files\includes\auto_loaders\config.seo.php sites stops working. ...
Do not do this. All of the files must be uploaded or you WILL have issues. If you are getting a "blank" page (after following all the steps - and without the .htaccess), this usually means a file was uploaded to the wrong place (or a file was not correctly merged - most often this if the installer reported success)...
Not seeing any blank pages when I checked tonight (or this plugin installed)... Are you getting an HTTP 500? If so the server error logs should have more details... Is there anything in the server or php error logs? Can you give exact details of each step you took while attempting to install this module?
Quote:
Originally Posted by
slavka001
... /homepages/24/d237084380/htdocs/3rdbrakeflasherV6/ ...
"RewriteBase /" or "#RewriteBase /" would be the correct line based upon the URL provided. It appears your website is installed as an "addon" domain (and located inside another website's document root)... I'd recommend the second one (commenting out the RewriteBase rule) as many of the cheaper hosting providers use mod_rewrite to handle "addon" domains instead of configuring different document roots for each "addon" domain (RewriteBase can interfere with the internal rewrites the hosting provider uses - if they are using configured this way).
Re: Updated "1_affected_files_152" pre-release available for testing
I attempted again today. I compared all the files in step #1 and #2 with my files. I did not make any changes to those files in 1.5.1 so I just overplayed all of them. I found though that UltimateSEO212 query_cache.php missing ( "?>" ) at the end of the file.
#3 i moved .htacces
#4 Logged into admin
#5 Moved files and went to Admin again. Got message that SEO was installed. and site stopped working.
In the server logs I am getting 200 when try to access my page. Nothing in zencart /logs dir.
Tried different .htaccess variants with no success
Re: Updated "1_affected_files_152" pre-release available for testing
Quote:
Originally Posted by
slavka001
... I found though that UltimateSEO212 query_cache.php missing ( "?>" ) at the end of the file. ...
This is done on purpose. I trust you did not add "?>" back to the file?
When you say "it is not working", are you still referring to getting "blank pages"? (I ask because I cannot see your site as you keep changing it before I get a chance to see things "not working")... Still sounds like something not installed correctly (as you are reporting it is crashing BEFORE Zen Cart's error log handler is loaded / initialized).
Can you try a couple things to try to capture what error is occuring? Edit your php.ini to log all errors / warnings to a file and make sure display_error is enabled (this will catch errors occurring before Zen Cart's error logging starts)? Can you also add the following line to both of your configure.php files:
Code:
define('STRICT_ERROR_REPORTING', true);
Re: Updated "1_affected_files_152" pre-release available for testing
SUCCESS.
lhungil, I appreciate your help very much. I felt you confidence that module should work and kept digging.
What I found is that I made a mistake when I moved the page from one domain to another. My /include/configuration.php did not have correct local path which to my surprise did not break the site. Once I fixed that site came up but with 500 response. I tried different configs for .htaccess and found that "RewriteBase /" worked.
Again. Thanks a lot for your support guys. That is why I like this forum, you can get real answers from real experts.
Re: Updated "1_affected_files_152" pre-release available for testing
Hi, Guys,
may I ask for your favor? may I know what is the rewrite rule for multi language site?
in the past only english was available on our site, and natually www.mysite.com goes to default language.
now we have new Spanish and Russian, as well as english, then they go to:
www.mysite.com/es/
www.mysite.com/ru/
www.mysite.com/en/
for SEO purpose.
now my questoin is how to rewrite www.mysite.com/en/**** to www.mysite.com/****, as they
are actually the same page. Also all our pages so far indexed by Google are start with www.mysite.com/
also, is it possible to rewrite www.mysite.com/?language=en to www.mysite.com/en/?
your suggestion would be highly appreciated.
Re: Ultimate SEO 2.200+ (new features)
This looks like a great addon. I installed it yesterday and everything worked perfectly first time. Very impressed.
However, when I re-built my PRODUCTS table today (a lot of products received different product_ids) I got some strange results. Clicking a product brought up a URL for another product, although the actual page was correct.
I fixed this by running "Reset SEO URLs Cache", so I assume that there was a cache of URLs for product_ids somewhere.
I don't want to have to do this on a regular basis so would disabling caching (i.e. changing "Enable SEO cache to save queries" to false) prevent this from happening in future? Would it have any other side-effects?
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
Earthenware
This looks like a great addon. I installed it yesterday and everything worked perfectly first time. Very impressed.
However, when I re-built my PRODUCTS table today (a lot of products received different product_ids) I got some strange results. Clicking a product brought up a URL for another product, although the actual page was correct.
I fixed this by running "Reset SEO URLs Cache", so I assume that there was a cache of URLs for product_ids somewhere.
I don't want to have to do this on a regular basis so would disabling caching (i.e. changing "Enable SEO cache to save queries" to false) prevent this from happening in future? Would it have any other side-effects?
Hopefully you don't plan to rebuild your products table on a regular basis where the product IDs will change for your products.. If not then this should be a one-off occurrence for you.. Otherwise you will need to re-set the cache everytime you re-build the products table.
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
DivaVocals
Hopefully you don't plan to rebuild your products table on a regular basis where the product IDs will change for your products.. If not then this should be a one-off occurrence for you.. Otherwise you will need to re-set the cache everytime you re-build the products table.
So switching caching off won't save me having to do it manually?
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
Earthenware
So switching caching off won't save me having to do it manually?
Of course it will.. My point was that it's really NOT a good practice to CONTINUALLY rebuild your products table which would result in product IDs for products changing.. Are you REALLY going to do this again??? If NOT then NO you can leave the cache setting alone.. I'm curious as to why you are planning to make rebuilding your products table a regular activity..
Re: Ultimate SEO 2.200+ (new features)
Okay so I have a site which Zen Cart is in a subfolder of a WordPress site.. WordPress has it's own .htaccess file as you know.. the readme instructions say:
Code:
If you have an existing .htaccess file in the folder
where you installed Zen Cart merge the new .htaccess
file with the existing file (remember rules are matched
in order, so any custom URL transformations or
redirects should appear before the "Start Ultimate
SEO URLs" block. Upload the .htaccess file to the
folder where you installed Zen Cart.
My Zen Cart folder does NOT have a .htaccess file. And I got an error AS SOON as I uploaded the .htaccess file. I am assuming that the RIGHT way to do this is to merge my .htaccess with the .htaccess from this add-on.. Could use a hand with that.. Here's the WordPress .htaccess file contents..
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress