Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
jwaynehinkle
I made a thread about an issue I am having I will post it here as well as I believe this is the mod that caused the issue any help would be apreciated!
Thanks :)
original thread is here
http://www.zen-cart.com/showthread.p...than-1-product
I have been doing some site maintenance recently, 3 things as a matter of fact. The first thing I have done is add the google page speed module (all files were loaded above the root direcotry on my server and then this code was entered into the .htaccess to make it work.
Code:
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters add_head,combine_css,convert_meta_tags,convert_png_to_jpeg,extend_cache,fallback_rewrite_css_urls,flatten_css_imports,inline_css,inline_import_to_link,inline_javascript,rewrite_css,rewrite_images,rewrite_javascript,rewrite_style_attributes_with_url,combine_javascript
</IfModule>
Everything was working great and my pages were responding/rendering a lot faster than what they were.
second thing I did was rewrite my urls with "-" instead of "_" as recommended by google this code was added and all was working great except when trying to load .php pages in admin
Code:
RewriteRule !\.(html | php)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
so I changed
Code:
RewriteRule !\.(html | php)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
to this and all is working great I am excited!
Code:
RewriteRule !\.(html)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
no I decide ok so far so good lets try to install an image handler to help the site load even faster and reduce the amount of resources used by my server so I install Image Handler 4 and that is when everything goes down hill, it apears to be working good however when clicking on a category with more than 1 product in it, or sorting by manufacturer the page does not load, I have uninstalled Image Handler 4 however this did not fix it please help!
Here is my site with a category with just 1 product in it
http://bullysperformance.com/air-fil...1/3-5l-v6-426/ you'll notice it redirects to the product page since there is only 1 product
and here is a link to a category with multiple products
http://bullysperformance.com/manufacturers/aem-5/ none of the products load, nor does the footer?
can anyone please help it would be much apreciated!
Thanks
J
Your page partially loading is a sign of some sort of PHP error.. You'll need to check your error logs to see what the errors are, but I am quite doubtful that they are being caused by IH4..
Re: Image Handler 4 Support Thread
any idea where I can check these "logs" I have not had to do a debug yet or check for broken things as I have been fortunate enough not to have any issues over the last year until now.
Thanks
J
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
jwaynehinkle
any idea where I can check these "logs" I have not had to do a debug yet or check for broken things as I have been fortunate enough not to have any issues over the last year until now.
Thanks
J
The Zen Cart FAQs are a VAST wealth of information.. I searched for "blank page" and found this:
I am getting a blank page (or blank part of a page)
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
DivaVocals
awesome thanks for the help I found this not sure what it means though
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/***/***/92/10759392/html/bullysperformance/cache) is not within the allowed path(s): (/var/www/vhosts/bullysperformance.secureserver.net/:/tmp/) in /***/****/vhosts/bullysperformance.secureserver.net/bullysautomotive/bullysperformance/includes/functions/sessions.php on line 167
Re: Image Handler 4 Support Thread
got my products showing up again, comes out I had deleted the first 2 lines of code in the product listings file oops... however still have this error above not sure where to go with this and then it says I am getting an error in my admin panel on line 13 of login.php I have checked it with all my backups and it is consistant but I was not getting the error before? here is what line 13 says and here is what the error says
error
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in vhosts/bullysperformance.secureserver.net/bullysautomotive/bullysperformance/my_admin_folder/login.php on line 13
and here is line 13
define('ADMIN_PASSWORD_EXPIRES_INTERVAL', strtotime('- 90 day'));
???
Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
jwaynehinkle
got my products showing up again, comes out I had deleted the first 2 lines of code in the product listings file oops... however still have this error above not sure where to go with this and then it says I am getting an error in my admin panel on line 13 of login.php I have checked it with all my backups and it is consistant but I was not getting the error before? here is what line 13 says and here is what the error says
error
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in vhosts/bullysperformance.secureserver.net/bullysautomotive/bullysperformance/my_admin_folder/login.php on line 13
and here is line 13
define('ADMIN_PASSWORD_EXPIRES_INTERVAL', strtotime('- 90 day'));
???
I'm thinking php.ini setting errors/adjustments.
Using php 5.3 or above correct?
Re: Image Handler 4 (for v1.5.x) Support Thread
PHP Version 5.3.3
I have gone in and added the date.timezone = "America/Chicago" line to every php.ini and php5.ini file on my server and restarted appache and still there
Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
jwaynehinkle
awesome thanks for the help I found this not sure what it means though
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/***/***/92/10759392/html/bullysperformance/cache) is not within the allowed path(s): (/var/www/vhosts/bullysperformance.secureserver.net/:/tmp/) in /***/****/vhosts/bullysperformance.secureserver.net/bullysautomotive/bullysperformance/includes/functions/sessions.php on line 167
Quote:
Originally Posted by
jwaynehinkle
got my products showing up again, comes out I had deleted the first 2 lines of code in the product listings file oops... however still have this error above not sure where to go with this and then it says I am getting an error in my admin panel on line 13 of login.php I have checked it with all my backups and it is consistant but I was not getting the error before? here is what line 13 says and here is what the error says
error
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in vhosts/bullysperformance.secureserver.net/bullysautomotive/bullysperformance/my_admin_folder/login.php on line 13
and here is line 13
define('ADMIN_PASSWORD_EXPIRES_INTERVAL', strtotime('- 90 day'));
???
Quote:
Originally Posted by
mc12345678
I'm thinking php.ini setting errors/adjustments.
Using php 5.3 or above correct?
Quote:
Originally Posted by
jwaynehinkle
PHP Version 5.3.3
I have gone in and added the date.timezone = "America/Chicago" line to every php.ini and php5.ini file on my server and restarted appache and still there
Like I said earlier.. this is not Image Handler issue, and any continued discussion is WAY off topic in this support thread... Please start a new thread to discuss the issue..
Re: Image Handler 4 (for v1.5.x) Support Thread
My fault did go off topic I did make another thread this just so happened to be where convo started my fault, back to IH4, I have reinstalled it all is working well except now I am getting "Larger Image" text under my second/third/forth and so image (you can see an example here http://bullysperformance.com/50-stat...40410-111.html) and it has broke my highslide gallery any suggestions?
Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
jwaynehinkle
My fault did go off topic I did make another thread this just so happened to be where convo started my fault, back to IH4, I have reinstalled it all is working well except now I am getting "Larger Image" text under my second/third/forth and so image (you can see an example here
http://bullysperformance.com/50-stat...40410-111.html)
Haven't looked at new version of site, but wondering what you expect to see different regarding the text associated with the additional images. That's standard functionality. Perhaps you had a previous mod that acted differently?