DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • October 22, 2017, 03:37:06 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Pet Shop Mod  (Read 2047 times)
0 Members and 1 Guest are viewing this topic.
topdog
Guest
« 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.
Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5475



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.

Thanks.
Logged

Play the latest beta version here on DragonPrime
TlarryoUss
Guest
« 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
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

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