» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 88
0 members and 88 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant
www.rimonabant-weight-loss.com
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on Your Account Error within the Purged Topics forums, part of the NM Staff category; When I load the main page of the module "Your Account" at the top of the page I ...



Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-04-2003, 01:33 AM
Junior Member
 
Join Date: Nov 2002
Location: Florida
Posts: 48
Send a message via ICQ to Rider Send a message via AIM to Rider Send a message via MSN to Rider Send a message via Yahoo to Rider
Your Account Error
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-04-2003, 06:58 AM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
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
  #3 (permalink)  
Old 02-04-2003, 01:05 PM
Junior Member
 
Join Date: Nov 2002
Location: Florida
Posts: 48
Send a message via ICQ to Rider Send a message via AIM to Rider Send a message via MSN to Rider Send a message via Yahoo to Rider
I did...
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-04-2003, 01:15 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
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
  #5 (permalink)  
Old 02-04-2003, 01:37 PM
Junior Member
 
Join Date: Nov 2002
Location: Florida
Posts: 48
Send a message via ICQ to Rider Send a message via AIM to Rider Send a message via MSN to Rider Send a message via Yahoo to Rider
But..
If I do the tables again, will it mess up the mod I implemented?

-Rider
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-04-2003, 01:45 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
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
  #7 (permalink)  
Old 02-04-2003, 01:49 PM
Junior Member
 
Join Date: Nov 2002
Location: Florida
Posts: 48
Send a message via ICQ to Rider Send a message via AIM to Rider Send a message via MSN to Rider Send a message via Yahoo to Rider
Well...
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-04-2003, 01:52 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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
  #9 (permalink)  
Old 02-04-2003, 01:56 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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
  #10 (permalink)  
Old 02-04-2003, 02:06 PM
Junior Member
 
Join Date: Nov 2002
Location: Florida
Posts: 48
Send a message via ICQ to Rider Send a message via AIM to Rider Send a message via MSN to Rider Send a message via Yahoo to Rider
Hmm
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
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


All times are GMT -5. The time now is 06:32 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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