Home | Support Forums | Your Account | Gallery [2] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Export problem
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Tue Dec 06, 2005 1:16 pm    Post subject: Export problem Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: Export problem  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Tue Dec 06, 2005 1:36 pm    Post subject: Re: Export problem Reply with quote

thanks for the pointer, i'll get it fixed ASAP.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Tue Dec 06, 2005 1:37 pm    Post subject: Re: Export problem Reply with quote

Thanks bud! Smile I'm trying to fix it myself, but can't seem to get 'er fixed. Razz
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Dec 07, 2005 10:27 am    Post subject: Re: Export problem Reply with quote

try removing this line from the export.php file:
PHP: › <?php extract($var); ?>

and let me know if it fixes the first error.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Wed Dec 07, 2005 11:06 am    Post subject: Re: Export problem Reply with quote

But of course it did. Very Happy Still getting the second one though... I have *NO* idea why this is being re-declared!

Code: › [Wed Dec 07 11:05:23 2005] [error] [client XXX.XX.XX.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
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Dec 07, 2005 11:07 am    Post subject: Re: Export problem Reply with quote

it fixed the error and the export was successful? go me Smile

i don't know why it considers it re-declared either....perhaps i'll just rename it Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Wed Dec 07, 2005 11:10 am    Post subject: Re: Export problem Reply with quote

No, it only fixed the FIRST error... Razz Not the big one, which is the redeclare thing. Wink I tried renaming it already, and no go... It looks like somehow it's being called recursively or something crazy! Smile
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Dec 07, 2005 11:11 am    Post subject: Re: Export problem Reply with quote

haha...does the re-declaration error interfere with the export, or does the export proceed without a problem?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Wed Dec 07, 2005 11:13 am    Post subject: Re: Export problem Reply with quote

No, the export doesn't work at all. Razz It errors out with this:
Code: › [Wed Dec 07 11:05:23 2005] [error] [client XXX.XX.XX.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
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Dec 07, 2005 11:15 am    Post subject: Re: Export problem Reply with quote

grumble...ok Smile i'll look into it....if you find a solution, please post Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Dec 07, 2005 11:18 am    Post subject: Re: Export problem Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Wed Dec 07, 2005 11:21 am    Post subject: Re: Export problem Reply with quote

Ok, I'll give that a whirl. I think I did something similar, but I'll give it a try. Wink And no worries, I'm a programmer, so I completely understand. Razz And I'm stumped! Razz
Back to top
Offline View user's profile Send private message
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Wed Dec 07, 2005 11:22 am    Post subject: Re: Export problem Reply with quote

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
Offline View user's profile Send private message
Vermithrax

Knowledgeable User
Knowledgeable User


Joined: Nov 22, 2005
Posts: 42

PostPosted: Wed Dec 07, 2005 11:23 am    Post subject: Re: Export problem Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Dec 07, 2005 11:24 am    Post subject: Re: Export problem Reply with quote

this is really bizzarre....i'm gonna ask one of the code gurus in #gallery...
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2, 3, 4, 5, 6, 7  Next

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia