|

Speed Up Your CS-Cart eCommerce Website - Step 2
Posted 23 March 2011 - 11:01 AM #41
How can it be fixed?
Posted 23 March 2011 - 11:44 AM #42
Posted 23 March 2011 - 11:45 AM #43
RewriteBase /[COLOR="Red"]sub_directory[/COLOR] RewriteCond %{REQUEST_FILENAME} !\.(png|gif|ico|swf|jpe?g|js|css)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php?sef_rewrite=1 [L,QSA]
Posted 23 March 2011 - 11:50 AM #44
E.Qi.Librium, I'll try to do that and see what happens. Just to have it really clear : you copied exactly what in smartoptimizer folder and left what in root .htaccess.
Just do not want to continue messing up with those files (quiero dejar de meter tanto la pata)
Posted 23 March 2011 - 11:54 AM #45
Copy the content of .htaccess file on your cs cart root (the main .htaccess file)
Paste it on .htaccess from the smartoptimizer folder
Just don't delete the .htaccess from the root, it's just to copy it to the smartoptimizer folder, nothing more.
This was how it worked for me, if it doesnt work for you, will not hurt either
Posted 23 March 2011 - 12:01 PM #46
Apparently due to too many redirections.
Posted 23 March 2011 - 12:01 PM #47
Your server might be running suPHP and not liking the 777 permissions you have set on the SO directories. Try changing those to 755 to see if that helps. If still no luck then adjusting its baseDir might be needed.
@mirnitagl
Try removing this from your .htaccess file and see if it now works properly
<IfModule mod_deflate.c> <FilesMatch "\.(php|html)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule>
[CS-Cart Optimized Solutions and Server Management]
Posted 23 March 2011 - 12:37 PM #48
RewriteBase /sub_directorythanks, Struck!
Posted 23 March 2011 - 01:36 PM #49
Then removed smartoptimizer code and everything bagan to work.
The problem is definately smartoptimizer code or part of it.
I removed it and now the other sites are up without problems, I have now just this in my root htaccess:
DirectoryIndex index.html index.php <IfModule mod_rewrite.c> RewriteEngine on # Some hostings require RewriteBase to be uncommented # Example: # Your store url is http://www.yourcompany.com/store/cart # So "RewriteBase" should be: # RewriteBase /store/cart RewriteBase / RewriteCond %{REQUEST_FILENAME} !\.(png|gif|ico|swf|jpe?g|js|css)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php?sef_rewrite=1 [L,QSA] RewriteCond %{REQUEST_FILENAME} .*\/catalog\/.* RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteRule . index.php?sef_rewrite=1 [L,QSA] </IfModule> <IfModule mod_deflate.c> <FilesMatch "\.(php|html)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule>
Posted 23 March 2011 - 01:42 PM #50
open the config.php file of your smartoptimizer folder and change:
//Show error messages if any error occurs (true or false)
$settings['debug'] = false;
It is now set for "true", see if turning off the debug function will help
4.11.5
Posted 20 April 2011 - 09:56 AM #53
The reason is that i have some subdomains/folders in the main public_html which i don't want to cache because they have css error when caching.
CS-Cart 2.1.3 ver. working fine
Posted 13 May 2011 - 05:59 AM #54
Now i get Yslow grade 82 (

Posted 13 May 2011 - 03:22 PM #55
with this and all other lee li pop methods i finally go at 96/89 (at gtmetrix)!! thats pretty good
CS-Cart 2.1.3 ver. working fine
Posted 11 June 2011 - 01:37 PM #57
How can i install smartoptimizer ?
Please, read the post of NicheBuilder:
http://forum.cs-cart...63685#post63685
Lee Li Pop
If All Else Fails, Read The Instruction Manual! Knowledge Base 2.x + CS-Cart Instruction Manual
Hosted at Pair.com since 2000. Zero hacking attempts during first 11 years... And counting!
Posted 27 February 2012 - 03:44 PM #58
Smart Optimizer Error File Not Found (.../js/jquery.simpletip.1.2.1.js)
Does anyone know why this occurs?
Thank you in advance for your answer.
Edwin
Posted 27 February 2012 - 03:56 PM #59
disable this and try again then you will need to speak to them to see if they have an update for this.
John
Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2
Posted 27 February 2012 - 04:08 PM #60
What needs to be disabled?
// Init history jQuery.initHistory(); jQuery.initTooltip($('.cm-tooltip:not(:input)'), {}); jQuery.initTooltip($(':input.cm-tooltip'), {position: 'bottom center'}); $('.cm-autocomplete-off').attr('autocomplete', 'off'); return true; }, initHistory: function() { if (typeof(self.inited) == 'undefined' && $.history) { self.inited = true; $.history.init(function(hash) { var self = this; if(hash != '') { var parts = hash.split(';'); if (parts[0] != 'ty') { return false; } var rev = parts[1]; var href = parts[2]; var a_elm = $('a[rev=' + rev + ']:first'); // hm, used for callback only, so I think it will work with the first found link var name = a_elm.attr('name'); if(!self.origContent) { self.origContent = { id: rev, html: $('#' + rev).html() }; } jQuery.ajaxRequest(href, {result_ids: rev, caching: true, obj: a_elm, callback: (window['fn_' + name] || {})}); } else if(self.origContent) { $('#' + self.origContent.id).html(self.origContent.html); } }, {unescape: true}); if (location.hash.indexOf('ty;') == 0) { $.history.load('ty;' + rev + ';' + href); } return true; } else { return false; } }, afterLoad: function(area) { return true; }, processForms: function(elm) { var frms = $('form', elm); // Attach submit handler frms.bind('submit', function(e) { return jQuery.dispatchEvent(e); });