Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 48
3 members and 45 guests
bea9qgchcomberc, goe9dkfq42here, shaqi5kerqlqbot
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Your Account Error
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 48
Join Date: Nov 2002
Location: Florida
Your Account Error - 02-04-2003, 01:33 AM

When I load the main page of the module "Your Account" at the top of the page I see:

Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 357

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 357
It won't load it on ANY other page that I am aware of.

-Rider
 Send a message via ICQ to Rider Send a message via Yahoo to Rider Send a message via AIM to Rider Send a message via MSN to Rider  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
02-04-2003, 06:58 AM

Have you added any your account mods, or are you using the original default PHP-Nuke Your Account module? Is this a new install or nuke, or have you been up for a while with it working and you started getting this error?
That error is usually caused by not having sql tables in the database of mysql. So if you have modded it you need to add the tables supplied with the mod.
Just trying to sort out the variables here.
Martin
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
I did...
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 48
Join Date: Nov 2002
Location: Florida
I did... - 02-04-2003, 01:05 PM

Yes, my friend and I added in a couple of fields to fit the design of my gaming site. I installed nuke in November and probably early Jan we did the mod. I am using the Your Accoutn Tweak.

Do you know what I need to add to correct this?

http://www.fla-gamers.com

-Rider
 Send a message via ICQ to Rider Send a message via Yahoo to Rider Send a message via AIM to Rider Send a message via MSN to Rider  
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: 619
Join Date: Oct 2002
Location: Alabama, USA
02-04-2003, 01:15 PM

Hold the wagon!! I see you are using nsn your account, so like I said you will have to install it. Read the instructions on how to install the tables for mysql. It's in there. Just read it.
Let me know if you need more help, cause I have done that one on my site before.

The instructions show you how to type in a url so set up the tables. It is simple.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
But..
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 48
Join Date: Nov 2002
Location: Florida
But.. - 02-04-2003, 01:37 PM

If I do the tables again, will it mess up the mod I implemented?

-Rider
 Send a message via ICQ to Rider Send a message via Yahoo to Rider Send a message via AIM to Rider Send a message via MSN to Rider  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
02-04-2003, 01:45 PM

Do the tables Again?
Did this stop working after you modded the "nsn your account" ? If it was working and then you changed something that made it stop working you will have to un do your changes.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Well...
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 48
Join Date: Nov 2002
Location: Florida
Well... - 02-04-2003, 01:49 PM

Everything works perfectly, though. I just have this at the top of the main page:

Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 357

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 357
It is just rather annoying.

-Rider
 Send a message via ICQ to Rider Send a message via Yahoo to Rider Send a message via AIM to Rider Send a message via MSN to Rider  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
02-04-2003, 01:52 PM

If you started getting that error AFTER you modified the Your Account module, then more than likely NOT everyhting is working fine.

Can you show us what you did to the Your Accoutn module to add the new fields?
More than likely, that is where the problem is.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
02-04-2003, 01:56 PM

Can you do this for me. So we can see what is causing that error?

Open includes/sql_layer.php go to line 300 or so and change:
Code:
case "MySQL": 
$row = mysql_fetch_row($res); 
return $row; 
break;;
to this
Code:
case "MySQL": 
if ($row = mysql_fetch_row($res)) { 
return $row; 
} else { 
print (mysql_error()); 
} 
break;;
then upload the changed file. Backup your original first. That should give you the debug on what the SQL is stopping on.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Hmm
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 48
Join Date: Nov 2002
Location: Florida
Hmm - 02-04-2003, 02:06 PM

Now I have this at the top of the page:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 360

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 360
and where it would tell you the information on the main page it says:
Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 253

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rider/public_html/includes/sql_layer.php on line 253
There is no available info for Rider
 Send a message via ICQ to Rider Send a message via Yahoo to Rider Send a message via AIM to Rider Send a message via MSN to Rider  
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
cant activate account silvergts Nuke 7.x - General 9 03-15-2005 11:06 AM
Activating Account Help.... TitanXtrm Nuke 7.x - General 0 12-22-2004 02:53 PM
how to edit my account ? ferhanz Open topics 0 07-26-2003 04:07 PM
HELP !!! cannot create account by using Admin account anht1706 Purged Topics 1 01-18-2003 12:33 AM
Your Account Block..... Ryetsu Purged Topics 6 01-07-2003 11:22 AM




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