From: Mitra <mi...@ea...> - 2003-02-28 22:01:16
|
So what can we do - I'm not clear if Jakub is redeclaring the function for a reason? I tried a couple of things - like temporarily renaming the function in include/menu.php3 just while the site page loaded and that just broke things. - Mitra At 11:31 AM +0100 28/2/03, Honza Malik wrote: >I tried it on our install. I moved our site module up and it works in >both configurations. > >I think the problem could be in diffrerent versions of PHP. It seems, >that new versions of PHP (>=3D4.3.0) do not allow redeclaration of >functions (it was also the problem with gc() in PHPLib already reported >in apc-aa-general). > > Honza > > >On P=E1, 2003-02-28 at 05:00, Mitra wrote: >> The admin interface won't go to manage a site now, this seems to be >> because get_aamenus is defined in both menu.php3 and >> modules/site/menu.php3 >> >> its a strange bug, it works on one of my installations, but not the >> other - they are both running the current CVS, only the data is >> different. >> >> I think the main difference is that when you login to one you get a >> slice, whereas on the other you get a site (alphabetical order) >> >> I'm not quite clear whether the name collision is deliberate, i.e. >> redefining a function - or accidental >> >> Anyway, I think its a Jakub problem - and he's out this week I >> understand? I can work around it on my machine, but this stops work >> if anyone else has a "site" as their alphabetically first slice. >> >> - Mitra >> >> >> -- >> Mitra Technology Consulting - www.mitra.biz - mi...@mi... >> 02-6684-8096 or 0414-648-0722 >> >> Life is a Mystery to be Lived, not a Problem to be Solved >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Apc-aa-coders mailing list >> Apc...@li... >> https://lists.sourceforge.net/lists/listinfo/apc-aa-coders >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Apc-aa-coders mailing list >Apc...@li... >https://lists.sourceforge.net/lists/listinfo/apc-aa-coders -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-0722 Life is a Mystery to be Lived, not a Problem to be Solved |