Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Joomla and Zend Server 5.6 SP2 bug
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Viktor Iwan  
View profile  
 More options Jul 28 2012, 10:13 am
From: Viktor Iwan <vic...@doxadigital.com>
Date: Sat, 28 Jul 2012 07:13:28 -0700 (PDT)
Local: Sat, Jul 28 2012 10:13 am
Subject: Joomla and Zend Server 5.6 SP2 bug

Hello,
i just patch my server to latest version of Zend Server, but now everytime
i add new module (even on fresh clean install), the pop up return:

500 - An error has occurred.

Serialization of 'SimpleXMLElement' is not allowed

Also the old error of "*Warning*: usort() [function.usort<http://cyclops/ercomx2/administrator/function.usort>]:
Array was modified by the user comparison function in *
D:\zend\Apache2\htdocs\xxxxxxx\libraries\joomla\utilities\arrayhelper.php*o n line
*463"
*is still exist

hope someone here can share a light on me... any zend server user here ?

<http://cyclops/ercomx2/administrator/index.php>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Moffatt  
View profile  
 More options Jul 28 2012, 1:27 pm
From: Sam Moffatt <pasa...@gmail.com>
Date: Sat, 28 Jul 2012 10:27:54 -0700
Local: Sat, Jul 28 2012 1:27 pm
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug
What version of PHP is it running?

Cheers,

Sam Moffatt
http://pasamio.id.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Viktor Iwan  
View profile  
 More options Jul 29 2012, 12:09 am
From: Viktor Iwan <vic...@doxadigital.com>
Date: Sat, 28 Jul 2012 21:09:21 -0700 (PDT)
Local: Sun, Jul 29 2012 12:09 am
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug

Zend Server 5.6 SP2 is based on php 5.3.14

i trace the error and find the problem arise on
/components/com_moudles/models/select.php line 145:
$items = JArrayHelper::sortObjects($items, 'name', 1, true,
$lang->getLocale());

so the problem caused by the 'famous' usort bug:

What makes this funny and challanging is that usort() is never been a
problem in version 2.5.3 and previous. It all start happen in 2.5.4 and
above...
i compare source code of arrayhelper.php in 2.5.3 and 2.5.6 and there's no
such difference..

i'm hoping someone can dig deeper as this is beyond my expertise.. the
problem already reported here, but no one seems care about it
https://github.com/joomla/joomla-cms/issues/179

other thread issue i found:
http://stackoverflow.com/questions/3235387/usort-array-was-modified-b...
https://bugs.php.net/bug.php?id=50688

what makes me curious is there's no problem in 2.5.3 and previous version,
i assume joomla use different approach to use JArrayHelper::sortObjects()
in 2.5.4 and above


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 29 2012, 8:04 am
From: elin <elin.war...@gmail.com>
Date: Sun, 29 Jul 2012 05:04:54 -0700 (PDT)
Local: Sun, Jul 29 2012 8:04 am
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug

Since it seems to be an issue when there is an exception it makes me wonder
if something was changed to an exception and that's where it is coming
from. The solution in the comments of the php manual of turning off
warnings before using usort seems like a not great but workable solution.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 29 2012, 8:28 am
From: elin <elin.war...@gmail.com>
Date: Sun, 29 Jul 2012 05:28:11 -0700 (PDT)
Local: Sun, Jul 29 2012 8:28 am
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug

Can you try changing line 463 to:
$errorReporting = error_reporting();
error_reporting(0);
usort($a, array(__CLASS__, '_sortObjects'));
error_reporting($errorReporting);
and see if that "solves" it?

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Viktor Iwan  
View profile  
 More options Jul 30 2012, 3:16 pm
From: Viktor Iwan <vic...@doxadigital.com>
Date: Mon, 30 Jul 2012 12:16:13 -0700 (PDT)
Local: Mon, Jul 30 2012 3:16 pm
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug

Now, my temporary solution is to ignore the warning with '@' :
@usort($a, array(__CLASS__, '_sortObjects'));

This bug slow down my joomla... in Extension Manager > Manage ... the query
to list all component, module, and plugin is more than 60 seconds in local
computer.. :(
it highly related to usort's bug...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 30 2012, 5:34 pm
From: elin <elin.war...@gmail.com>
Date: Mon, 30 Jul 2012 14:34:52 -0700 (PDT)
Local: Mon, Jul 30 2012 5:34 pm
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug

@ is not going to solve the problem just turn off the warning, not a good
idea. And yes I am wondering if that is why we get some of the slow load
reports we do, it could be because of an  exception thrown far away. Please
try what i suggested and let us know what happens.  

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Viktor Iwan  
View profile  
 More options Jul 31 2012, 11:53 am
From: Viktor Iwan <vic...@doxadigital.com>
Date: Tue, 31 Jul 2012 08:53:59 -0700 (PDT)
Local: Tues, Jul 31 2012 11:53 am
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug

Hi Elin, thanks to put your attention in it...
no its not solve the problem.. i'll put some video for this...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Viktor Iwan  
View profile  
 More options Jul 31 2012, 12:40 pm
From: Viktor Iwan <vic...@doxadigital.com>
Date: Tue, 31 Jul 2012 09:40:49 -0700 (PDT)
Local: Tues, Jul 31 2012 12:40 pm
Subject: Re: [jgen] Joomla and Zend Server 5.6 SP2 bug

i put the demo here:
http://youtu.be/__IDvhTHWXQ

and also i reply your feedback on github.

Hope several core joomla team can aware of this problem, coz i've been (and
i believe some developer as well) 'living' with this bug since march. Have
to be patience when joomla becomes slow...

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »