| Author |
Message |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Tue Feb 19, 2008 4:52 am |
|
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 |
|
|
 |
themortal

Joined: Feb 08, 2008
Posts: 19
Location: The Realm
|
Posted:
Tue Feb 19, 2008 1:30 pm |
|
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 |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Tue Feb 19, 2008 4:51 pm |
|
| 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  |
_________________ Code Authors Nuke Reviews |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Wed Feb 20, 2008 11:24 am |
|
Argh!
I also forgot to update my sutom template - all fixed now.
Well, not fixed as it wasn't broken...
User incompetence rectified  |
_________________ Code Authors Nuke Reviews |
|
|
 |
|
|