xoops forums

Forum Index


Board index » All Posts (mydarkglobe)




mydarkglobe

Just popping in
Posted on: 2017/12/21 23:00
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#1

Publisher and URL rewrite method

Using the URL rewrite method "path info", the Rating vote fails: if you click on a star the vote has no effect.


mydarkglobe

Just popping in
Posted on: 2017/9/25 12:25
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#2

Re: Publisher 1.05 RC 2 for XOOPS 2.5.9 and PHP 7.1 Released for Testing

Hi, I have a new trouble (default english language, so no translation issue).
Sometimes, trying to modify an existing article, publisher, in the editing page, changes the stored date with the current one.
Futhermore, if I correct the date to the old one, the first time I republish the article I receive an "invalid token" error, but on the 2nd attempt it goes correctly.


mydarkglobe

Just popping in
Posted on: 2017/9/20 17:00
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#3

Re: Publisher 1.05 RC 2 for XOOPS 2.5.9 and PHP 7.1 Released for Testing

The problem is both in new posts and modifying an existing one.
I've just verified that setting in "global xoops preferences" english language the problem disappears.

So publisher module is ok but there should be an error in the xoops translation files or in other core sections (for 2.5.9 I'm still using a 2.5.8.1 translation taken from the Hub)
May you address me to some files to inspect ?
Thanks


mydarkglobe

Just popping in
Posted on: 2017/9/19 12:26
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#4

Re: Publisher 1.05 RC 2 for XOOPS 2.5.9 and PHP 7.1 Released for Testing

Thanks, I'll get the patched release.

For the image give a look at these 2 printscreens:
Resized Image

As you can see, the editing article date is 9-Jan-2017 but, also changing "Date Format" output in Publisher preferences, the output is Sep-1-2017 (or 1-Sep-2017).

p.s. You could see some italians word 'cause I'm translating the publisher language files.


mydarkglobe

Just popping in
Posted on: 2017/9/18 8:33
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#5

Re: 2 problems

Sure but it only changes the output date order, not the match between post date and output published date.


mydarkglobe

Just popping in
Posted on: 2017/9/17 22:09
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#6

2 problems

Hello and sorry for bothering you again.

I found 2 problems, but it's not clear if they are related to my configuration.
1 - Editing an article the date, also using the built in calendar to compose it, is in dd/mm/yyyy format, but publishing it mm is used as dd (for example 11/09/2017 appears as 09-Nov-2017 instead of 11-Sep-2017). It could be a mismatch between publisher module and xoops core date format.
2 - Publishing an article in home page using the block "Recent Articles (Details)" I get the below error:
Fatal error: Call to a member function getVar() on null in [...]htdocs/modules/publisher/class/item.php on line 1229 with only 1 article on the db. The same error for "Random Item" or other blocks.

Thanks for your reply


mydarkglobe

Just popping in
Posted on: 2017/9/17 20:37
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#7

Re: Publisher 1.05 RC 2 for XOOPS 2.5.9 and PHP 7.1 Released for Testing

OK, solved renaming publisher-1.05_RC2 to publisher: sorry but it's the first time I'm using a xoops RC release so I'm not expert about naming convenctions.


mydarkglobe

Just popping in
Posted on: 2017/9/17 19:00
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#8

Re: Publisher 1.05 RC 2 for XOOPS 2.5.9 and PHP 7.1 Released for Testing

Absolutely fresh, it's the first installation. I tried 2 times to reinstalling everything from scratch (xoops 2.5.9 and publisher) but the errors are the same.
I have a strange further error disinstalling the Publisher: the module is not able to drop the db tables that it has created at installation time, so I'm thinking that there could be something not aligned.

For example:
in creation xc59_publisher_categories
in deletion xc59_publisher-1.05_RC2_categories

Protector is active. APC is disabled.
I've no problem with other modules installed, so I'm a bit confused.


mydarkglobe

Just popping in
Posted on: 2017/9/16 9:39
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#9

Re: Publisher 1.05 RC 2 for XOOPS 2.5.9 and PHP 7.1 Released for Testing

Same errors in other menus
Summary
Fatal error: Call to a member function getItemsCount() on boolean in […]/htdocs/modules/publisher-1.05_RC2/admin/main.php on line 48

Category
Fatal error: Call to a member function getCategories() on boolean in […]/htdocs/modules/publisher-1.05_RC2/admin/category.php on line 202

Articles
Fatal error: Call to a member function getItemsCount() on boolean in […]/htdocs/modules/publisher-1.05_RC2/admin/item.php on line 183

Mime types
Fatal error: Call to a member function getObjects() on boolean in[…]/htdocs/modules/publisher-1.05_RC2/admin/mimetypes.php on line 436


mydarkglobe

Just popping in
Posted on: 2017/9/16 7:32
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 12
Since: 2014/11/10
#10

Re: Publisher 1.05 RC 2 for XOOPS 2.5.9 and PHP 7.1 Released for Testing

To PHP 5.6, thanks



TopTop
(1) 2 »