11
kakos
Re: XOOPS Publisher 1.04 Final available for Testing before official release
  • 2016/11/1 7:45

  • kakos

  • Friend of XOOPS

  • Posts: 79

  • Since: 2002/6/6 2


Hi and thanks for your reply

My System Overview:
XOOPS Version XOOPS 2.5.9-Beta1
PHP Version 5.5.9-1ubuntu4.20
mySQL Version 5.5.46-0ubuntu0.12.04.2-log
Server API apache2handler
OS Linux
fsockopen On
post_max_size 20M
max_input_time 60
output_buffering 4096
max_execution_time 600
memory_limit 1024M
file_uploads On
upload_max_filesize 22M

I do what you said but I have the same problem.

DBexample1

DBexample2

12
Mamba
Re: XOOPS Publisher 1.04 Final available for Testing before official release
  • 2016/11/1 13:17

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Can you check and make sure that the other "text" fields are also set to NULL?
This is what I have:

Resized Image
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

13
rossb
Re: XOOPS Publisher 1.04 Final available for Testing before official release
  • 2016/12/29 21:16

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Hi;

Am attempting (xoops-2.58) to use publisher 1.04 with Xoops Publisher slideshow module, which I had working with Xoops-2.5.7.2.

Cannot get slides to display. Have debugged.
In file "themes/zetagenesis/modules/slider/blocks/slider1.tpl", line:
"$itemsObj = $publisher->getHandler('item')->getItems($limit = 6, $start = 0, array(_PUBLISHER_STATUS_PUBLISHED), -1, $sort = 'datesub', $order='DESC', '', true, $criteria = null, true);

variable $itemsObj (print_r($itemsObj);) is empty.

has the publisher update changed the required syntax of the getitems call?

I am using modules Slideshow 1.1 Final and Publisher Slider 2 Beta 1, both checked out from trunk.

Alternatively, are there more suitable slideshow modules for 2.5.8?

14
Bleekk
Re: XOOPS Publisher 1.04 Final available for Testing before official release
  • 2016/12/30 12:52

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


this is how publisher block gets the item
$publisher PublisherPublisher::getInstance();

$itemsObj $publisher->getHandler('item')->getItems($limit$start, array(PublisherConstants::PUBLISHER_STATUS_PUBLISHED), -1$sort$order''true$criteria'none');

15
rossb
Re: XOOPS Publisher 1.04 Final available for Testing before official release
  • 2016/12/30 19:17

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Thanks Bleekk;

Worked like a charm for xoops 2.5.8. My 2.5.8 site is not yet online.

Here's a demo site (2.5.7.1) using using publisher, slider and slideshow:

http://www.rossco.org

I used these modules for 2.5.8:

http://www.rossco.org/Files/publisher-1.04_RC1b.tar.gz (no changes)

http://www.rossco.org/Files/slider_2.5.8.tar.gz
http://www.rossco.org/Files/slideshow_2.5.8.tar.gz (Publisher Slideshow, depends on slider)

The latter 2 modules have changes to be 2.5.8 compatible:

.html -> .tpl
fixed assign by reference errors for objects
fixed $itemsObj = $publisher->getHandler('item')->getItems(...) call per your suggestion.

Thus far, I have only used / tested slider/templates/blocks/slider1.tpl, slider2-10.tpl need testing

I am hoping that someone will adopt the slider and slideshow modules, complete 2.5.8 testing, checkin to trunk.

TODO:

1 - test slider2-10.tpl
2 - Consider making publisher slideshow module a merge of slider / slideshow.
3 - Error messages that do not seem to affect functionality (also present for xoops 2.5.7.1

Notice: Undefined offset: 1 in file /modules/slider/blocks/slider.php line 25
Notice: Undefined offset: 2 in file /modules/slider/blocks/slider.php line 26
Notice: Undefined offset: 3 in file /modules/slider/blocks/slider.php line 27
Notice: Undefined offset: 4 in file /modules/slider/blocks/slider.php line 28
Notice: Undefined offset: 5 in file /modules/slider/blocks/slider.php line 29
Notice: Undefined offset: 6 in file /modules/slider/blocks/slider.php line 30
Notice: Undefined offset: 7 in file /modules/slider/blocks/slider.php line 31
Notice: Should call parent::__construct in /modules/slideshow/class/item.php line 150, in file /kernel/object.php line 1240
Notice: Undefined index: type in file /modules/slideshow/class/item.php line 263

16
lolothom
Re: XOOPS Publisher 1.04 Final available for Testing before official release
  • 2017/1/3 15:46

  • lolothom

  • Just popping in

  • Posts: 26

  • Since: 2002/5/10


hello i've installed the module on a fresh install 2.5.8 i can't see the module publisher . in debug mode i've :
Error: Handler does not exist
Name: category in file /include/functions.php line 87

lolo

17
geekwright
Re: XOOPS Publisher 1.04 Final available for Testing before official release

Quote:

lolothom wrote:

Error: Handler does not exist
Name: category in file /include/functions.php line 87

lolo


I cannot reproduce this.

I downloaded publisher from here:
https://github.com/mambax7/publisher/releases/tag/1.04_FINAL

Extracted it to modules directory and renamed the extracted directory from publisher-1.04_FINAL to publisher.

Installed on a fresh copy of XOOPS 2.5.8.1 and the only problem I've noted so far is a missing constant, _AM_MODULEADMIN_ADMIN_FOOTER, on some of the admin pages.

The first step to resolve this would be to verify your publisher installation.

18
lolothom
Re: XOOPS Publisher 1.04 Final available for Testing before official release
  • 2017/1/3 19:35

  • lolothom

  • Just popping in

  • Posts: 26

  • Since: 2002/5/10


Ok it works fine

Login

Who's Online

392 user(s) are online (261 user(s) are browsing Support Forums)


Members: 0


Guests: 392


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits