PDA

View Full Version : Structure editor problem [FIXED IN 2.01]


shaun3000
3rd of October 2006 (Tue), 22:41
On the Structure page, clicking a group initially makes everything disappear. I clicked one of the Sort By options after this happened and it made that column reappear. I did it once for each and everything seemed to work fine.

Pekka
4th of October 2006 (Wed), 06:33
Is this same with all browsers, or only with Firefox 2 RC1?

kheops
4th of October 2006 (Wed), 08:34
problem's gone now (FF 1.5.0.7) since new EDITOR_users.php is installed ?
don't know if it makes sense...
in the meantime the tip shaun3000 gave (playing with "sort") helped me a lot
shaun do you mind installing this http://photography-on-the.net/forum/showthread.php?t=223491 and try again ?

superchief
4th of October 2006 (Wed), 08:47
Is this same with all browsers, or only with Firefox 2 RC1?


I see the issue with Firefox 1.5.0.7. I also stumbled onto the sort by id workaround which works fine.

khowaga
4th of October 2006 (Wed), 09:21
I see the issue with Firefox 1.5.0.7. I also stumbled onto the sort by id workaround which works fine.



I'm still having the issue after installing the EDITOR_user.php fix -- the problem shows up in both Firefox 1.5.0.6 and Safari 2.0.4 (on a Mac - no Mac bashing, please, I'm at work and it's all I have during the day ... )

Maybe it's a server software issue? Does any of this help at all?

MySQL version (reported by MySQL server): 4.1.11
MySQL version (reported by PHP): 4.1.11
MySQL client library version: 4.0.18
MySQL server and connection type: Localhost via UNIX socket
PHP version: 4.3.6

Pekka
4th of October 2006 (Wed), 20:07
I can not reproduce this problem.

In EDITOR_structure.php add after line 14 (after ob_start ("ob_gzhandler");):


function ee_print_array2($array) {
if (gettype($array)=="array") {
print "<ul>";
while (list($index, $subarray) = each($array) ) {
print "<li>$index <code>=&gt;</code>";
ee_print_array2($subarray);
print "</li>";
}
echo "</ul>";
}
else print $array;
}

ee_print_array2($_POST);

Now when the problem happens, what text do you have in the top of the page, if anything?

Faustini
4th of October 2006 (Wed), 20:27
ee_lang =>por
exhibition =>8
group_order =>
exhibition_order =>
link_order =>
selected_group =>1
group_vari =>
group_iidd2 =>
user_id =>0

Pekka
4th of October 2006 (Wed), 21:08
Just a hunch (I'll debug it tomorrow) but what if you select editor language English. Does it happen then?

Faustini
4th of October 2006 (Wed), 21:16
Yes, same issue in english. Here's the result:

ee_lang =>eng
exhibition =>9
group_order =>
exhibition_order =>
link_order =>
selected_group =>1
group_vari =>
group_iidd2 =>
user_id =>0

Please let me know if I can contribute with further tests.

Thanks,

Faustini

khowaga
5th of October 2006 (Thu), 08:44
I can not reproduce this problem.

Now when the problem happens, what text do you have in the top of the page, if anything?

Here's what I get:

ee_lang =>eng
exhibition =>17
group_order =>
exhibition_order =>
link_order =>
selected_group =>1
group_vari =>
group_iidd2 =>
user_id =>0

Pekka
5th of October 2006 (Thu), 13:35
Ok thanks all, I have fixed this bug and will post it here soon.