| Author |
Message |
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
Posted: Tue Dec 06, 2005 1:16 pm Post subject: Export problem |
|
|
Hey guys, I'm running revision 1.16, and when I tried to do the export, I got a blank white screen in the pop-up window, and in my server's logfile, I have the following:
Code: › [Tue Dec 06 12:49:22 2005] [error] [client XXX.XXX.XXX.XXX] PHP Warning: extract() [<a href='function.extract'>function.extract</a>]: First argument should be an array in /htdocs/modules/gallery2/admin/export.php on line 244, referer: http://www.mydomain.com.com/admin.php?op=gallery2
[Tue Dec 06 12:49:22 2005] [error] [client XXX.XXX.XXX.XXX] PHP Fatal error: Cannot redeclare g2_message() in /htdocs/modules/photos/admin/export.php on line 65, referer: http://www.mydomain.com/admin.php?op=gallery2
I'm not sure what could be causing this... Any ideas? I'm running PHP 5.0.5. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Export problem |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Tue Dec 06, 2005 1:36 pm Post subject: Re: Export problem |
|
|
thanks for the pointer, i'll get it fixed ASAP. _________________
 |
|
| Back to top |
|
|
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
Posted: Tue Dec 06, 2005 1:37 pm Post subject: Re: Export problem |
|
|
Thanks bud! I'm trying to fix it myself, but can't seem to get 'er fixed.  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Wed Dec 07, 2005 11:07 am Post subject: Re: Export problem |
|
|
it fixed the error and the export was successful? go me
i don't know why it considers it re-declared either....perhaps i'll just rename it  _________________
 |
|
| Back to top |
|
|
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
Posted: Wed Dec 07, 2005 11:10 am Post subject: Re: Export problem |
|
|
No, it only fixed the FIRST error... Not the big one, which is the redeclare thing. I tried renaming it already, and no go... It looks like somehow it's being called recursively or something crazy!  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Wed Dec 07, 2005 11:11 am Post subject: Re: Export problem |
|
|
haha...does the re-declaration error interfere with the export, or does the export proceed without a problem? _________________
 |
|
| Back to top |
|
|
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Wed Dec 07, 2005 11:15 am Post subject: Re: Export problem |
|
|
grumble...ok i'll look into it....if you find a solution, please post  _________________
 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Wed Dec 07, 2005 11:18 am Post subject: Re: Export problem |
|
|
hmm...ok, open export.php and rename g2_message to g2_statusmessage (and replace calls to g2_message with g2_statusmessage). there should be 3 replacements in addition to the renaming of the function. _________________
 |
|
| Back to top |
|
|
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
Posted: Wed Dec 07, 2005 11:21 am Post subject: Re: Export problem |
|
|
Ok, I'll give that a whirl. I think I did something similar, but I'll give it a try. And no worries, I'm a programmer, so I completely understand. And I'm stumped!  |
|
| Back to top |
|
|
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
Posted: Wed Dec 07, 2005 11:22 am Post subject: Re: Export problem |
|
|
| PHP Fatal error: Cannot redeclare g2_statusmessage() in /htdocs/modules/photos/admin/export.php on line 65, referer: http://www.mydomain.com/admin.php?op=gallery2 |
|
| Back to top |
|
|
Vermithrax
Knowledgeable User


Joined: Nov 22, 2005 Posts: 42
|
Posted: Wed Dec 07, 2005 11:23 am Post subject: Re: Export problem |
|
|
| Hrm... What in the WORLD is going on here... ? I even reinstalled the whole damn thing to see if that helped, and no go. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Wed Dec 07, 2005 11:24 am Post subject: Re: Export problem |
|
|
this is really bizzarre....i'm gonna ask one of the code gurus in #gallery... _________________
 |
|
| Back to top |
|
|
|
|
|
|
|