DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 22, 2018, 09:50:04 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Resource Pages

Pages: [1]   Go Down
Author Topic: Pet Shop Mod  (Read 2253 times)
0 Members and 1 Guest are viewing this topic.
« on: January 22, 2006, 09:58:15 AM »

hi I am running PHP5 and MySqL5.0, I am running the Petshop mod version 2.0.
When I go to incert a pet here is the errors I get:
INSERT INTO pets (petname,petbreed,petcostgold,petcostgems,petfoodcost,pettoycost,petdk,petattack,petcharm,petturns,petdesc,newdaymsg,villagemsg,gardenmsg,battlemsg)
VALUES ("hownd",0, 2,,,,,0,2,5,"","","","","")
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,2,5,"","","","","")'
at line 1
Call Stack:
1: db_query("INSERT INTO pets (petname...") called from F:\Apache2\htdocs\logd\modules\lib\peteditor.php on line 127
2: include("F:\Apache2\htdocs\logd\mo...") called from F:\Apache2\htdocs\logd\modules\peteditor.php on line 73
3: peteditor_run() called from F:\Apache2\htdocs\logd\runmodule.php on line 32
Could the query errors be caused because I left some fields blank? If not, what should I replace in the module files?
Thanks for the help.
Mod God
Offline Offline

Posts: 5479

View Profile WWW
« Reply #1 on: January 22, 2006, 11:14:21 AM »

It could be due to running MySQL 5.0, which has known issues with LoGD.

Please note that error reports/tech support requests for modules should be posted within that module's announcement thread. If you're unable to find that thread, post it in Altered States.  The Tech Support Desk is intended to provide support for the development of module coding.


Play the latest beta version here on DragonPrime
« Reply #2 on: September 08, 2006, 09:31:39 AM »

I'm running the pet shop mod :
Name: Pet Shop
Author: Eth - ethstavern(at)gmail(dot)com
Version: 3.81
Release Date: 12-21-2005
About: A place to buy and sell pets. Editor included.
Translation compatible. Mostly.
and for some reason a player can buy a pet then turn around and sell it back for the full purchase price plus an extra gem.  Help me please  Huh
Pages: [1]   Go Up
Jump to:  

DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
34 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search