xoops forums

aerograf

Just popping in
Posted on: 2/6 12:51
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#21

Re: Problems with Lexicon

Thank you. I will watch.
There are full of files that are not in UTF8. So far not found ...
Additionally. I have not found how to search for the letters in the national layout ....

Zap_English

Quite a regular
Posted on: 2/6 13:22
Zap_English
Zap_English (Show more)
Quite a regular
Posts: 302
Since: 2016/5/24
#22

Re: Problems with Lexicon

Quote:

Mamba wrote:
Quote:
I'll let you know later if it fixes the import problem

I didn't test any imports.

What are you importing from?


Version : 1.11 to Version : 1.52 Beta 12

aerograf

Just popping in
Posted on: 2/6 13:43
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#23

Re: Problems with Lexicon

Quote:

Mamba wrote:
Please test Lexikon 1.52 Beta 2

https://github.com/mambax7/lexikon/releases


If error is not working redirect but corrected higher.

aerograf

Just popping in
Posted on: 2/6 14:00
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#24

Re: Problems with Lexicon

And it is not clear why recode from UTF8 encoding to the unknown ... <h2 class="cat">� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �</h2>
http://xoops.shmel.org/modules/lexikon/category.php?categoryID=2

Zap_English

Quite a regular
Posted on: 2/6 15:02
Zap_English
Zap_English (Show more)
Quite a regular
Posts: 302
Since: 2016/5/24
#25

Re: Problems with Lexicon

Quote:

Mamba wrote:
Please test Lexikon 1.52 Beta 2

https://github.com/mambax7/lexikon/releases


Is this updated in the Beta 2 core?

Zap_English

Quite a regular
Posted on: 2/6 16:33
Zap_English
Zap_English (Show more)
Quite a regular
Posts: 302
Since: 2016/5/24
#26

Re: Problems with Lexicon

I tried importing from the old version. The category and definitions show on the back end but not the user side

I tried to edit one of the items and when I clicked on modify I got a white screen

No errors but it did say SQL injection found

Mamba

Moderator
Posted on: 2/6 17:18
Mamba
Mamba (Show more)
Moderator
Posts: 10356
Since: 2004/4/23
#27

Re: Problems with Lexicon

Quote:
I tried importing from the old version. The category and definitions show on the back end but not the user side

Email me the old Database, so I can try to import it.

On the other hand, why are you importing it? Shouldn't you just update the module?
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Zap_English

Quite a regular
Posted on: 2/6 17:52
Zap_English
Zap_English (Show more)
Quite a regular
Posts: 302
Since: 2016/5/24
#28

Re: Problems with Lexicon

The website has a lot of old stuff on it, so i'm doing a complete rebuild with all new modules

Mamba

Moderator
Posted on: 2/6 18:41
Mamba
Mamba (Show more)
Moderator
Posts: 10356
Since: 2004/4/23
#29

Re: Problems with Lexicon

This was your problem:

Your category was set as '1":

INSERT INTO `xb6d_lxcategoriesVALUES (1,'Cutting Terms','.',0,1,0);


But all the items had a category ID (the second value in each entry) set to "0":

INSERT INTO `xb6d_lxentriesVALUES (1,0,'corn flour','C','Corn (maize) flour is popular in the Southern and Southwestern US and in Mexico. Coarse whole-grain corn flour is usually called corn meal. Corn meal that has been bleached with lye is called masa harina (see masa) and is used to make tortillas and tamales in Mexican cooking. Corn flour should never be confused with cornstarch, which is known as "cornflour" in British English.','','',1,0,1276000881,414,1,1,1,1,1,0,0,0,0),


I've emailed you the correct SQL file, so just import the SQL, update the Lexikon module , and you're ready to go.
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Mamba

Moderator
Posted on: 2/6 19:46
Mamba
Mamba (Show more)
Moderator
Posts: 10356
Since: 2004/4/23
#30

Re: Problems with Lexicon (Tutorial Needed)

So which one of you will help with writing the documentation, and with translation into your local language?

The placeholder for the Lexikon Tutorial is here (right now only English):
https://www.gitbook.com/book/xoops/lexikon-tutorial/details

You can fork it and provide updates on GitHub:
https://github.com/XoopsDocs/lexikon-tutorial
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs