Jump to content

addJqueryUI not working after Upgrading to 1.6.0.11


Recommended Posts

Hello,

I have upgraded from 1.6.0.9 to 1.6.0.11. Now the sliders are missing from weight and price filters.

I have found that the JqueryUI style sheet files (.css) are not being rendered in the HTML.

The site is set to write out all the css file links in the header and NOT to combine them into one file so I can see all the css files in the header.

The missing html links are:

            <link rel="stylesheet" href="/js/jquery/ui/themes/base/jquery.ui.core.css" type="text/css" media="all" />
            <link rel="stylesheet" href="/js/jquery/ui/themes/base/jquery.ui.slider.css" type="text/css" media="all" />
            <link rel="stylesheet" href="/js/jquery/ui/themes/base/jquery.ui.theme.css" type="text/css" media="all" />

I have truied the upgrade on two separate installations and see the same results.

Also I have seen the same problem on a prestashop demo site that do not belong to me.

http://demos5.softaculous.com/PrestaShop/index.php?id_category=3&controller=category


I have not modified the codebase and am using the default bootstrap theme.

Can anybody shed light on why the css files are not being added to the HTML?

Kind Regards,
Mark.


 

Link to comment
Share on other sites

Hello Nemo1,

 

Note: I am running Prestashop on Windows in IIS with php V5.5.11.

 

addJQueryUI() works ok in the admin area but is not working in the frontend.

 

Yes, all the css files are in their folders.

 

I tried to debug the code and I can see that the addJqueryUI is running and getting the files but the HTML does not end up on the page.

 

I am not very experienced with php so I am not sure where the code fails to generate/send the HTML to the page output.

 

Mark.

Edited by Mark OG (see edit history)
Link to comment
Share on other sites

Wow SOLVED,

 

I found the fix on Github. It is in Branch 1.6 but not in the Master Branch.

 

I don't know why the bug is not causing more people problems when upgrading.

 

Here is the Bug Fix:

 

https://github.com/PrestaShop/PrestaShop/commit/65e4bf20a43da3c76ab4c872ad0e2fe0a6203e11

 

Regards,

Mark.

Edited by Mark OG (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 3 months later...

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...