Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Sql error with bought script.

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

killay

Established Member
Impact
2
Hi,

I recently bought a mmo php script from ravan.info. I tried contacting them, but haven't got any response yet in 2 days. I've been searching on the internet and found out that they might have copied the script from another website. The other way around is also possible offcourse, none have proof. The only problem I have now is that I get an sql error. I hope now, one of you guys can help me out :)

PHP:
QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',0, '0', 'a:4:{s:4:\"stat\";s:4:\"will\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\' at line 1
Query was INSERT INTO items VALUES('',6,'test','testdesc',,,0, '0', 'a:4:{s:4:\"stat\";s:4:\"will\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:7:\"percent\";s:10:\"inc_amount\";i:100;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', 0, 0)
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Those multiple commas in a row look a bit suspicious to me...
 
0
Close
I guess the problem is this:
'test','testdesc',##HERE###,##AND HERE###,0,

It should be either NULL Or have some value.
 
0
Close
thanks, I'll check into that :)
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back