i do believe its the empy fields (||) in the items.txt file
|
The only thing I can think of, do you have DBD installed? If not, there is a tutorial somewhere around here that tells you how to install it.
|
new error lol
DBD::mysql::db do failed: 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 'range,damage,color,itemtype,material,UNK060,elite material,sellrate,combateffect s' at line 1 at load_13thfloor_items.pl line 72, <STDIN> line 3318. |
could range itself be a problem? as in a protected word in mysql?
|
yep that IS the problem its a reserved word!
The following are new reserved words in MySQL 5.1: ACCESSIBLE LINEAR MASTER_SSL_VERIFY_SERVER_CERT RANGE READ_ONLY READ_WRITE MySQL allows some keywords to be used as unquoted identifiers because many people previously used them. Examples are those in the following list: |
guess that means i need to downgrade mysql on my server
|
UPDATE tested on my live webserver with mysql 5.0.51 ll required modules installed
DBD::mysql::db do failed: 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 '' at line 1 at load_13thfloor_items.pl line 72, <STDIN> line 721. I would like to note that I checked the svn this file hasnt been updated since 2008 sept. |
could we add something to this
Quote:
|
Quote:
Code:
while(<STDIN>) { |
hmmm that didnt work either ugh i give up lol
|
Nahh. That won't work. You'll need to escape the '|' with \ so:
s/\|\|/\|NULL\|/g; the '|' is a special character in perl used as 'or' in regular expressions. |
i'm not sure this will help, but if you quote range like this
`range` mysql will accept it as a valid field identifier. strictly speaking any field should be 'quoted' with the ` `, and values with ' '. |
All times are GMT -4. The time now is 08:55 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.