Need help installing this marketplace script
Hi I'm a real beginner at PHP, and we were asked to create our own classified ads website, just a simple marketplace website. So I was looking for code references on how to do the category management, how to display the listings, user control panels and such I found a simple marketplace script here but I seem to be having trouble installing it...
And this is how the marketplace website should look like: http://www.phpmarketplace.com/demo/
So I followed all the steps, I imported their database and made the corrections to the config.php but I keep getting these errors.. if you could get it to work please do tell, it will be much appreciated. Or if you could tell me some other good code references for marketplaces (I found some others like WeBid, webauction, osclass but it's all still too complex for me)
Notice: Undefined variable: q in C:\xampp\htdocs\phpmarketplace\index.php on line 11
Notice: Undefined variable: q in C:\xampp\htdocs\phpmarketplace\index.php on line 13
Warning: mysql_close(): no MySQL-Link resource supplied in C:\xampp\htdocs\phpmarketplace\index.php on line 40
Notice: Undefined variable: record in C:\xampp\htdocs\phpmarketplace\pages\home.php on line 64
Notice: Trying to get property of non-object in C:\xampp\htdocs\phpmarketplace\pages\home.php on line 64
index.php has include ("config.php"); as the first line. config.php has $q = $_GET['q']; as line 15. Meaning you supply q when you run the index.php script.
Your no MySQL-Link comes from database opened in config.php. Guess you didn't open it.
Your last two looks like it wants a price from a table forsale_content.
My guess you are running these files without setting up the needed database and tables.
|All times are GMT +1. The time now is 10:41 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.