Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 99
9 members and 90 guests
blo5codpressure, cheadi3apsprsb8, debrajea1, den2zqsverhonfg, jewgx3bishspo7s, paydaysubcompay, ric6tphardwaw9a, tab9tqdcpr7h4le, tidownes
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > General > Open topics

Reply
 
LinkBack Thread Tools Display Modes
includes/sql_layer.php on line 301
Old
  (#1 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
includes/sql_layer.php on line 301 - 01-07-2003, 07:58 PM

I get this all over my page.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301


I did a really stupid thing today. After installing the forumregistration mod, which appeared to work fine. I installed another mod, but got called away from my machine, (it's entirely possible that I missed something) I tried to re-import my database so I could basically move the whole works and give access to forum users. However what I didn't do was backup prior to trying to update the database. So the importer script halted. I went and emptied the tables that applied. and deleted the config file, re-loaded the config file. When I went to make myself a super user. I got those errors.

btw... Coldblooded if you still have the link I gave you before you can see what I'm talking about.

I'm hoping that someone has an idea of how to fix it, other then having to reinstall everything over again.

Thank you. No I will NEVER not backup again :?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Member
 
Status: Offline
Posts: 359
Join Date: Nov 2002
Location: Michigan, USA
01-07-2003, 09:08 PM

hehe youre gonna hate this but.....re-install it

something didnt install correctly while installing the tables in your database. if you want, you can probably try just re-installing the sql.
  Send a message via AIM to ReNeGaDe  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-07-2003, 10:13 PM

Ya gotta love that lil snicker your sportin there

Grrr... ok no sleep tonight it is then. LOL Serves me right.

Just out of curiousity have you tried to install Wayne Pearsall's attachment mod? I'm thinking that is where the trouble came in with the tables.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-07-2003, 10:18 PM

mmm...have you tried replacing the hacked files with ORIGINALS?

EDIT********************
Um I just re-read your post for the third time :? and uh..I think yur startin over :cry: ...or plugging away to see if you can somehow restore... 8O


mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-07-2003, 10:31 PM

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 253

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 357

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/iacoj/www/www/PHP-Nuke/html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/iacoj/www/www/PHP-Nuke/html/header.php on line 47

This is what I get from just running the sql.

I left the db/schema files up for the attachmod, do you think that might be causing the error?

Hmmm... REALLY don't want to have to start from the beginning again

EDIT: I checked and the sql didn't insert tables for some reason, I re-did it. :roll: and now I get this

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/iacoj/www/www/PHP-Nuke/html/includes/sql_layer.php on line 301

Warning: Failed opening 'themes/DeepBlue/theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/iacoj/www/www/PHP-Nuke/html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/iacoj/www/www/PHP-Nuke/html/header.php on line 47
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-08-2003, 10:07 AM

ok I re loaded everything. I still got that header error, so I deleted that theme, in both php and the forum.

Now I still get this:

Code:
Warning: Failed opening 'themes/DeepBlue/theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/iacoj/www/www/PHP-Nuke/html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/iacoj/www/www/PHP-Nuke/html/header.php on line 47
There is no DeepBlue theme installed. :?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-08-2003, 11:08 AM

You need to put the DeepBlue(that came with php-Nuke) theme back in your themes folder on your FTP...

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-08-2003, 11:39 AM

Thanks Mikem,

That works so I can get into Nuke bow. When I try to call up the forum to tell Nuke where to look for it. I get the following error.

Code:
phpBB : Critical Error 

Could not query config information
I'm going to check my CHMOD again, it should be set to 777 right now. So I have no idea why I'm getting a critical error there.

EDIT: The critical error really was critical. Having to fully reinstall and port nuke. I actually attempted to install the ported vs over the exsisting files. That didn't work either.

So for those wondering what could happen when you don't do a backup and try to install a mod. This is a pretty good example
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Line 45 PhPNewbie Nuke 7.x - General 2 02-21-2005 02:58 PM
Stack overflow at line: 526 iphoenix Site design 1 06-04-2003 07:25 PM
SQL_Layer errors Br00klynzzfinest Open topics 5 05-08-2003 03:48 PM
sql_layer.php on line 286 ERROR Virus Imp Nuke 6.5 to 6.9 - Blocks 0 04-04-2003 07:07 PM
Installation problems with sql_layer.php ReidStylez Purged Topics 2 12-12-2002 03:40 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31