mambax7 / publisher

Publishing module for XOOPS for static/HTML content and articles stored and provided in a hierarchical manner
GNU General Public License v2.0
1 stars 1 forks source link

Error in the block from date to date #8

Closed aerograf closed 5 years ago

aerograf commented 5 years ago

The block displays: Articles published between foroov}i}u{}eti}ymuimm(/m/ooo/y/) and 0

mambax7 commented 5 years ago

If I remember correctly, you need to have more than 1 articles, and you need to set in the Block Editor. See if it works, and if not, I'll take a look...

mambax7 commented 5 years ago

Just tested locally here, and it works fine. I hope, there is nothing related to a date in a different format...

aerograf commented 5 years ago

It does not depend on the set date and the chosen language. foroov}i}u{}e�ti}ymuimm(/m/oo�o/y/) under any conditions. https://xoops.shmel.org/modules/publisher/

mambax7 commented 5 years ago

This should fix it now https://github.com/mambax7/publisher/commit/2a41a26ee07f6ef5aef5e42dd50cf047ad77aae5

aerograf commented 5 years ago

Now installation error: ERROR: Failed to add block Articles from date to date in the database! Database Error: 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 'oooo/) .', 'Articles from date to date','Articles from date to date', '', 0, 0' at line 1

mambax7 commented 5 years ago

Ouch! That's not good. I'll check on it ...

mambax7 commented 5 years ago

I hope, this will now fix it: https://github.com/XoopsModules25x/publisher/pull/108

aerograf commented 5 years ago

Yes. It worked. I will test further. Thank.