Jump to content

Apache Optimization Option & Move Javascript to the end won't work


aymeric69001

Recommended Posts

Hello everyone,

I posted here because I am nearly sure that the problems I have comes from my theme not being fit.

So, the problem is the following: I cannot switch to Yes, "Move Javascript to the end" nor "Apache Optimization"

Untitled.thumb.png.c1c782837cd841935d412b2057500a54.png

 

I have forced the 2 corresponding values in the database, setting them to 1 (PS_JS_DEFER and PS_HTACCESS_CACHE_CONTROL), but did not change anything.

My theme is not an official Prestashop Theme, and a lot of modifications has been made. As it is written on the blue background notification above (in french here), the theme should be compatible with Prestashop 1.4+ (My shop is Prestashop  1.6.1). So I uploaded the zip file of the theme here https://validator.prestashop.com/ but  I received this error message:

Quote

Error!
Main class not found.

I know that modules must have a class to operate, but a theme ?

So, do you have any idea how I could resolve this issue of 1) forcing the 2 optimization options to work 2) making my theme "compatible" with Prestashop

Thanks a lot

Aymeric

 

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...