Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Feb 19, 2008 4:52 am
Reply with quote

Strange one this.
I just upgrade the nuke shop version from 2.06 to 2.07 and applied the hotfixes.
Went to the shop admin screen and I see
Code:

[02-19-08 09:45:00 am][2](Line:226) mysql_fetch_array(): supplied argument is not a valid MySQL result resource [/home/path/public_html/db/mysql.php]
[02-19-08 09:45:00 am][2](Line:226) Illegal offset type [/home/path/public_html/db/mysql.php]
[02-19-08 09:45:00 am][2](Line:227) Illegal offset type [/home/path/public_html/db/mysql.php]


The code around that area in mysql.php has not chnged since the shop was at version 2.06 and working so I'm at a complete loss!!

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
themortal




Joined: Feb 08, 2008
Posts: 19
Location: The Realm

PostPosted: Tue Feb 19, 2008 1:30 pm
Reply with quote

Hey Guardian,

Same thing happens with the Nuke-Evo software. Gotcha stated in a reply to my How To thread about those notices and said this...

Those errors that shows up are actually just a "notice". Keep in mind that a default install of php-nuke 8.0 probably has thousands of these notices.

So basically do this...

#
#-----[ OPEN ]------------------------------------------
#
Code:

modules/Digital_Shop/lib/constants.php


#
#-----[ FIND ]------------------------------------------
#
Code:

define('SHOP_DEBUG', true);


#
#-----[ REPLACE WITH ]----------------------------------
#
Code:

define('SHOP_DEBUG', false);


SAVE and UPLOAD

That will stop displaying those notices.


Cheers,

- The Mortal
 
View user's profile Send private message Visit poster's website
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Feb 19, 2008 4:51 pm
Reply with quote

themortal wrote:
Keep in mind that a default install of php-nuke 8.0 probably has thousands of these notices.

I forgot about that debug setting - doh!!

Yes it does, I know we got rid of several hundred in RN along with about 13 whole files that were not required after phpNuke version 5.6 Smile

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Wed Feb 20, 2008 11:24 am
Reply with quote

Argh!
I also forgot to update my sutom template - all fixed now.
Well, not fixed as it wasn't broken...
User incompetence rectified Smile

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©