Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
MySQL Query Empty on default install? (i.e. No edits.)
Query was empty.
KK, I was running into this wall of errors... Code:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 1623 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 61 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 66 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 1645 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 424 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 560 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 564 Warning: file_get_contents(templates//template.html) [function.file-get-contents]: failed to open stream: No such file or directory in C:\xampp\htdocs\inc\functions.php on line 1691 Code:
$resultjjj = mysql_query($result) or die($result."<br/><br/>".mysql_error()); Help? |
#2
|
|||
|
|||
I have found out that this issue is cause by the $GLOBALS not working....they seem to all be blank...
|
#3
|
|||
|
|||
Issue fixed by copy the variables out of config.php and puting them in functions.php.
|
#4
|
||||
|
||||
thats good cause i couldn't help via skype :S
__________________
https://gemnode.com Free Hosting for Mysidia Adopt Sites Just join our forum and request your free hosting account |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Install(?) error: Unable to access site after install | Catfish | Questions and Supports | 10 | 07-23-2013 11:41 PM |
CSS Query .-. | ChibiMaestro | Templates and Themes | 2 | 12-08-2012 05:51 AM |
Having a problem running a query | !Alive | Questions and Supports | 8 | 03-11-2012 02:39 PM |
Simple Code Edits | Tequila | Tutorials and Tips | 7 | 01-28-2011 11:05 AM |
Join query for optimization? | Arianna | Questions and Supports | 2 | 04-09-2010 12:32 PM |
What's New? |
What's Hot? |
What's Popular? |