Editing templates in PivotX2.3.5

This is the place to discuss bugs that have been found in the most recent version of PivotX. Posting bugs will ensure that the Development Team is aware of them and that they will be addressed when resources are available.

Editing templates in PivotX2.3.5

Postby camarados » Fri Nov 16, 2012 10:43 am

PivotX 2.3.5
PHP Version 5.3.17
Using database

I just installed the latest pivotx version 2.3.5

When i trie to edit a template i've got the following screen:
(test it in Chrome and iE)

Image

Instead of a 'popup' the editor opens in the browser it self.

Debug says:
Code: Select all
2012-11-16 10:41:34 - 0.033 -- pivotx/scheduler.php:126 / cleanCache() --  ( 14104112 )
Scheduler: deleted 0 cache files in 0.032 secs. 25 files were checked.
2012-11-16 10:41:55 - 0.042 -- modules/module_upload.php:96 / _completeTemplateVars() --  ( 13477032 )
Plupload runtime order: html5,flash,silverlight,gears,browserplus
2012-11-16 10:41:56 - 0.025 -- pivotx/ajaxhelper.php:1043 / ext_logDebug() --  ( 13258000 )
plupload runtime used is "html5"
2012-11-16 10:41:57 - 0.041 -- modules/module_upload.php:96 / _completeTemplateVars() --  ( 13473584 )
Plupload runtime order: html5,flash,silverlight,gears,browserplus
2012-11-16 10:41:57 - 0.033 -- pivotx/ajaxhelper.php:1043 / ext_logDebug() --  ( 13258400 )
plupload runtime used is "html5"


Another website on the same server with PivotX2.3.3 is working fine.
What can be wrong?
camarados
 
Posts: 42
Joined: Tue Sep 13, 2011 8:56 am

Re: Editing templates in PivotX2.3.5

Postby Bob » Fri Nov 16, 2012 11:02 am

Seems like an issue with Jquery. Expect a fix, soon!
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Editing templates in PivotX2.3.5

Postby debbbole » Fri Nov 16, 2012 11:06 am

Hi :)

Pivotx 2.3.5 with flat files, PHP 5.3.5.

Same problem here, different sections.
When creating a new category or a new user, no popup is opened. Seems like the popup content is shown as a page, with no CSS applied.
Creating the item (category, user...) doesn't work giving a validation error message about field values being not correct.

If i "middle-click" the create button, a popup appears (and another window/tab opens in the background, of course: the popup content shown without CSS format). Ignoring the window and using the popup works.

Browser: Chrome
OS: Windows XP SP2

I have another Pivotx 2.3.3 installed on the same machine and it works.
Seems an issue with the new jQuery version and popups... or don't know. :)

Ask me anything you may think useful to found the problem! :)
debbbole
 
Posts: 15
Joined: Fri Nov 16, 2012 10:51 am

Re: Editing templates in PivotX2.3.5

Postby Bob » Fri Nov 16, 2012 12:12 pm

This issue is caused by an upgrade of jQuery, but I didn't upgrade the jQueryUI library accordingly.

I'll package PivotX 2.3.6 today, which will fix it. In the meantime, if you want to, you can switch back to the precious jquery version: Go to Administration > Advanced configuration, and add:

jquery_filename => jquery-1.7.2.min.js

remember to REMOVE this setting, if you do upgrade to 2.3.6, later.
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Editing templates in PivotX2.3.5

Postby hansfn » Fri Nov 16, 2012 12:15 pm

@Bob: I think you upgraded jQuery without upgrading jQueryUI.

From the jQueryUI bugtracker: "jQuery UI 1.8.21 is known to not work with jQuery 1.8.0."

PivotX 2.3.5 has jQuery 1.8.2. and jQuery 1.8.17 which seems like a bad fit :-(
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Editing templates in PivotX2.3.5

Postby Bob » Fri Nov 16, 2012 12:25 pm

Hans, that's indeed the case. The fix (updated jquery UI) is already in SVN.
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Editing templates in PivotX2.3.5

Postby Bob » Fri Nov 16, 2012 1:37 pm

You can download PivotX 2.3.6 here, which fixes the problem. Apologies for the inconvenience.

http://pivotx.net/files/pivotx_latest.zip
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Editing templates in PivotX2.3.5

Postby debbbole » Fri Nov 16, 2012 2:17 pm

Really tnx! :)
debbbole
 
Posts: 15
Joined: Fri Nov 16, 2012 10:51 am

Re: Editing templates in PivotX2.3.5

Postby camarados » Mon Nov 19, 2012 8:27 am

thx!

Oh, the skinny templates contains the .tpl AND the .html files. Right?
They do the same, so isn't it kind of double?
camarados
 
Posts: 42
Joined: Tue Sep 13, 2011 8:56 am

Re: Editing templates in PivotX2.3.5

Postby Bob » Mon Nov 19, 2012 8:55 am

Yes, they should only contain the .tpl version. There are indeed some duplicates in there. Will check (and fix) it in the download.
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Next

Return to 2.x Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron