MySQL Query Problems

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL Query Problems

Postby crayzass1 » 13. June 2006 22:27

I recently sold a website (http://www.simplejokes.com) that contained no php or mysql errors. Once the site was moved to the new server, winxp XAMPP, the site no longer functions correctly. I have setup an XAMPP server on winxp to try to diagnose the problem, but have yet to figure it out.

Example of the problem: http://www.simplejokes.com
The main page of the site appears to be working correctly, joke titles and links are available and so are the categories and links. After following a category or joke link the center of the page, joke container, is empty. Am I missing something? I've looked over all the scripts and haven't been able to find a clue to why this is working incorectly.

The only error I have found is
Code: Select all
mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/simplejokes.com/httpdocs/profile.php on line 55

upon looking over profile.php and adding print error, I am left with the same error.

I have tried switching between PHP 4 and 5, but still have had no luck. Any ideas or help would be great.
crayzass1
 
Posts: 1
Joined: 13. June 2006 22:16

Postby Kristian Marcroft » 19. June 2006 21:06

Hi,

the Argument you are supplying to mysql_fetch_row() is not valid.
Please double check the varables you are passing or even getting from MySQL.

Regards,
Kristian Marcroft
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 85 guests