xoops forums

Mamba

Moderator
Posted on: 9/8 23:56
Mamba
Mamba (Show more)
Moderator
Posts: 10442
Since: 2004/4/23
#1

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

Resized Image

Publisher 1.05 RC-2 is released for testing

This module has been updated for XOOPS 2.5.9 and PHP 7.1

DOWNLOAD: https://github.com/XoopsModules25x/publisher/releases

FORK: https://github.com/XoopsModules25x/publisher

TUTORIAL: https://docu.xoops.org/mkdocs/modules/ ... /en/book/2administration/
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

mydarkglobe

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

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

Installing the module from scratch and creating a new category I get the below error:

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

XOOPS 2.5.9 in english
PHP 5.6.31
Mysql 5.5.57

Is it possible a backward compatibility?

Mamba

Moderator
Posted on: 9/16 5:58
Mamba
Mamba (Show more)
Moderator
Posts: 10442
Since: 2004/4/23
#3

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

Quote:
Is it possible a backward compatibility?

To which version?
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

mydarkglobe

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

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

To PHP 5.6, thanks

mydarkglobe

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

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

Mamba

Moderator
Posted on: 9/17 8:53
Mamba
Mamba (Show more)
Moderator
Posts: 10442
Since: 2004/4/23
#6

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

Something is wrong with your XOOPS installation. I just tested it again with PHP 5.6.31, and cannot replicate the issue.

The errors that you have, point to a missing XMF. Was your XOOPS installation a fresh one, or did you update an existing one? If an update, did you run the /upgrade?
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

mydarkglobe

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

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: 9/17 20:37
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 11
Since: 2014/11/10
#8

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: 9/17 22:09
mydarkglobe
mydarkglobe (Show more)
Just popping in
Posts: 11
Since: 2014/11/10
#9

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

Bleekk

Theme Designer
Posted on: 9/18 8:05
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 920
Since: 2002/12/14
#10

Re: 2 problems

You can change the date format in the module preferences