Jump to content

 

grafis

Member Since 12 Jan 2011
Offline Last Active Mar 27 2021 03:10 PM
-----

#294758 Less Parse Error - Website Will Not Load - Theme Editor

Posted by grafis on 04 February 2018 - 07:17 PM

Fixed - by manually correcting a typo in:  /design/themes/responsive/styles/data/  -> theme-name.css




#292684 4.7.1 Upgrade Locked Out - Unknown Column 'cscart_Statuses.position'...

Posted by grafis on 06 January 2018 - 04:37 PM

Fixed it after some hacking based on this forum thread and comments by the #CS-Cart-Team Moderators

ALTER TABLE `cscart_statuses` ADD `position` MEDIUMINT(8) NOT NULL;



#257804 Login And Logout Pages = "service Unavailable"

Posted by grafis on 24 August 2016 - 11:33 PM

The problem requires examination on your server. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record  link on the Access information page of your Help Desk account so that we could examine the issue.

 

As an alternative you can try clearing the cscart_user_session_products table of the installation database. This will remove all products from the users carts so please backup the database first.

 

Thanks CS-Cart team - Adding the "fix" code here from 4.3.10 worked - https://gist.github....63d159cd1103fe4

From this thread: http://forum.cs-cart...-be-null-b1048b




#195986 Site Down "service Unavailable"

Posted by grafis on 04 November 2014 - 03:42 AM

you can find the fix here

http://forum.cs-cart...ce-unavailable/


Wowsa. Just tested in a fresh browser session with no cookies and yes indeed no WWW = Service Unavailable. Thanks demeldoo!


#174963 How to Speed Up and Optimise CS-Cart Version 4?

Posted by grafis on 12 January 2014 - 02:44 PM

config.local.php has one option in 4.x - when set to true it did nothing to my GtMetrix scores of 70 page speed, 77 yslow - 'gzip_css_js' => true // gzip compiled css/js files

With 4.x do make sure you have Development Settings OFF in Design > Template Editor > Development Settings. The admin nags you if you leave them on so I doubt it's issue for anyone.

Major speed increase - I added the compression and header expire code below to my .htaccess and my score went to 99 page speed, 89 Yslow. Expires date needs to manually changed. Feels good but the question would be what impact could this have on site features and functionality?


#Expires
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)(\.gz)?$">
Header set Expires "Thu, 15 Apr 2015 20:00:00 GMT"
Header unset ETag
FileETag None
</FilesMatch>

#Gzip
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>



#170532 Stop cs-cart from adding language to SEO URLs?

Posted by grafis on 29 October 2013 - 01:22 AM

Thank you - I ran this query from the forum post:
SELECT *
FROM `cscart_seo_names`
WHERE `name` LIKE '%new-product%'

And the issue is interesting - it appears CS-Cart will never allow the same name in a URL even if the URLs are different

An example here:Additonal example
Interesting as the URLs are different, the systems seems to only allow each name once no matter what.
Kind of a pain as the store I've inherited has /cat1/brand1, /cat2/brand1, cat3/brand1 and /brand1.html and all three of them are different names with the primary root brand being /brand1-en-3.html