Jump to content
  • 0

Pre-Renewal FluxCP Item Database error item_db.sql Fix


loremipsum

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   6
  • Joined:  05/29/14
  • Last Seen:  

I spent way too long trying to fix this out, hope this helps someone.

 

This solution assumes you:
- Use Pre-Renewal setting (Not Renewal) for FluxCP (rathena-FluxCP-5ec2229)

- Use item_db.txt on your server (rathena - Revision 17704: /)

- Converted item_db.txt to item_db.sql using the tool mentioned below.

- FluxCP otherwise works fines and is installed correctly, just not displaying Item Database

 

If you have FluxCP installed and updated your item_db.sql by creating it through the currently featured tool on the download page called "rAthena Database Editor 0.1.3 Alpha" then it will cause your item database not to display correctly, and here's the simple solution.

 

Once you find this error in your error.php logs on Flux Control Panel:

/public_html/cp/data/logs/mysql/errors/ (whatever it generated for today).php

open up the file and if you see a line like this:

[2014-07-29 06:06:54] [SQLSTATE=42S22] Err 1054: Unknown column 'attack' in 'field list'

It means that the item_db.sql has a descrepancy between names for what it's using on the "attack" column of the item database due to them renaming that column to: "atk:matk".

 

The solution, rename that column to "attack".

 

You could use this (or use the GUI in MySQL Workbench):

ALTER TABLE item_db CHANGE atk:matk attack INT

If you get a SQL syntax error you can always use the GUI, select item_db, right click, Alter Table, and rename it from there.

Edited by Zairik
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...