You are here:  » mysql_fetch_array() error


mysql_fetch_array() error

Submitted by hexadecimal on Sat, 2013-05-25 23:07 in

[SELECT * FROM `featured` ORDER BY sequence][Table 'price.featured' doesn't exist]
( ! ) Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in {path saved}\includes\database.php on line 27
Call Stack
# Time Memory Function Location
1 0.0004 148848 {main}( ) ..\index.php:0
2 0.0022 218824 database_querySelect( ) ..\index.php:34
3 1.0047 225416 mysql_fetch_array ( ) ..\database.php:27

( ! ) Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in {path saved}\includes\database.php on line 32
Call Stack
# Time Memory Function Location
1 0.0004 148848 {main}( ) ..\index.php:0
2 0.0022 218824 database_querySelect( ) ..\index.php:34
3 1.0049 225416 mysql_num_rows ( ) ..\database.php:32

Im trying install pricetapestry. i keep getting this error..

Submitted by support on Sun, 2013-05-26 15:40

Hello hexadecimal,

I followed up by email last night shortly but just incase, the above would occur if the home page of the installation was viewed before setup.php has been run.

After editing config.php and saving / uploading (if not a local installation) then the next step is to browse to /setup.php in the installation folder to create the database.

That should be all it is, since the home page (index.php) makes a query on the `featured` table, and the error message is indicating that the table doesn't exist...

Cheers,
David.
--
PriceTapestry.com