View Single Post
Old 05-23-2011, 10:52 AM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,428
Quote:
Originally Posted by Socks View Post
When tryiung to login I get: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/Sites/include/product.php on line 814

Warning: Cannot modify header information - headers already sent by (output started at /usr/Sites/include/product.php:814) in /usr/Sites/totemcash/site/free/auth.php on line 140
That would be the problem.

But it's a programmer problem, not an SQL problem.

Rookie php programmers just blindly stuff shit into the SQL database and then
expect to pull it all out with complex query statements that cause the database
to basically "crawl itself".

So the "quick fix" is to make the DB smaller by deleting data.

Lame.

Actually quite pathetic.

Just fix the programmer instead.
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote