Open douglasparker opened 1 year ago
You have to use EUC-KR instead of UTF-8.
You have to use EUC-KR instead of UTF-8.
@secretdataz
I'm currently using EUC-KR with my IDE, but the import error persists. Does my database need to use it too?
Edit: I truncated cp_itemdesc
and reimported with the correct character set, and I am still receiving the same error.
Edit: Could this be related to my PHP or MySQL version?
Also having problems with this, I installed Fluxcp locally and it works, after that, export your cp_itemdesc
table and import it to your online Fluxcp.
This is just an alternative solution
I'm currently using EUC-KR with my IDE
Why should IDE help with php/mysql error :)
Change DB (at least for _cpitemdesc table) encoding and/or connection encoding
It should work with utf8 actually, so check that connection, database and table actually uses utf8.
I'm currently using EUC-KR with my IDE
Why should IDE help with php/mysql error :)
I am confirming that the contents of the itemInfo.lua file hasn't changed by using the wrong character encoding... :)
Change DB (at least for _cpitemdesc table) encoding and/or connection encoding
It should work with utf8 actually, so check that connection, database and table actually uses utf8.
The database is already using utf8. Same with the connection.
I'm pretty sure rAthena and FluxCP ships with the database and connection string with UTF8, so I am not sure how that is helpful.
Ah, my mistake. I thought the file was worked on with the wrong encoding.
Ah, my mistake. I thought the file was worked on with the wrong encoding.
All good. If this doesn't get fixed, I will probably create my own import tool.
I think I have seen previous bugs where the importer broke. It seems kinda flimsy.
It seems the error goes away when I downgraded from PHP 8.x to PHP 7.2.
@Akkarinage the README says the project uses PHP 5.2... It seems the documentation for FluxCP in regards to dependencies is severely lacking and major bugs go ignored.
Can you confirm the supported version of PHP and MySQL? At this point I plan to write my own control panel because the FluxCP codebase is a mess and sorting through everything seems like more pain than it's worth.
I also noticed that the mapdb and mobdb were removed without a replacement as well...
Unsure if there are any security vulnerabilities as well. It doesn't help that PHP 5.2 is being pushed still.
Environment
Current Behavior
An error occurs when importing itemInfo.lua from the translation project.
Repository: https://github.com/llchrisll/ROenglishRE File: https://github.com/llchrisll/ROenglishRE/blob/master/Pre-Renewal/System/itemInfo_EN.lua
It might have something to do with UTF-8 character set-
Originally my IDE wasn't setup correctly and it worked fine (UTF-8 charset seemed to have been discarded and replaced with random symbols).
Issue goes away when not using UTF-8 character encoding, but obviously I need to use UTF-8.
Once I fixed my IDE and ensured UTF-8 was correctly set up I started running into issues.
The issue appears when using the UTF-8 as seen below:
Most items still import just fine, but it seems that somewhere at the very end causes problems.
Any help on this would be greatly appreciated!
Error:
Expected Behavior
Import of itemInfo.lua should be free of any errors.
Steps To Reproduce
Anything else?
No response