Support Forums | Demo Gallery [1.x] [2.x] | 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  

Errors appearing in debug mode

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
malrock

User
User


Joined: Apr 20, 2005
Posts: 34

PostPosted: Thu Feb 22, 2007 12:05 am    Post subject: Errors appearing in debug mode Reply with quote

Hi All -

My gallery 1.5x is running just fine but I have been trying to migrate to gallery 2 in an embedded enbedded environment via ravennuke (nuke 7.6).

I can't migrate properly to gallery 2 and having put nuke into debug mode - running the old gallery has brought up these errors

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/********/gallery/classes/database/mysql/Database.php on line 37

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/********/gallery/classes/database/mysql/Database.php on line 37

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/********/gallery/classes/database/mysql/Database.php on line 37

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/********/gallery/classes/database/mysql/Database.php on line 37

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/********/classes/database/mysql/Database.php on line 37

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/********/gallery/classes/database/mysql/Database.php on line 37

and the file states :
function fetch_row($results) {
$row = mysql_fetch_row($results); (line 37)
return $row;

Any ideas?


Last edited by malrock on Thu Feb 22, 2007 8:03 pm; edited 1 time in total
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Errors appearing in debug mode  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Thu Feb 22, 2007 11:03 am    Post subject: Re: Errors appearing in debug mode Reply with quote

find the query that calls this (via the var_dump in php) and post it here.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
malrock

User
User


Joined: Apr 20, 2005
Posts: 34

PostPosted: Thu Feb 22, 2007 4:09 pm    Post subject: Re: Errors appearing in debug mode Reply with quote

got me there- sorry what is var_dump ? Not sure how to use it, even though I looked at the php manual Rolling Eyes
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Fri Feb 23, 2007 7:31 am    Post subject: Re: Errors appearing in debug mode Reply with quote

right before line 37, put this:
Code: › var_dump(debug_backtrace());


it will output a bunch of stuff. paste it inside a code block here.
_________________
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 Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
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 HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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