31
trabis
Re: Latest Publisher module?
  • 2012/12/1 22:41

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I'm testing 5000 cats and 50000 articles now,
I can't even open permission page to set up 5000 categories, it is crazy.

Anyway, I've managed to speed up the items page, using around 10mb memory/0,7sec.
Index and category page will be slow when using default settings(showing last item by category)using around 15mb memory/12sec.

32
bjuti
Re: Latest Publisher module?
  • 2012/12/2 15:22

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hm.. 15mb is ok, but 12 secs... it's very slow.

33
bjuti
Re: Latest Publisher module?
  • 2012/12/4 17:33

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I've tried with latest publisher and on category page with enabled showing last articles my whole computer crashed. Previous I made memory limit to 4000M.

34
irmtfan
Re: Latest Publisher module?
  • 2012/12/5 2:32

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7



I wish i could find some time to test publisher. I think it can handle contents better than any other modules.

currently we dont have any good stable content module in xoops and releasing an advance stable content module for xoops 2.5.5 has the highest priority.
about group permission IMO all developers should use "XoopsGroupPermHandler" core class.
5000 categories are really high to set permissions.
I faced other issues when number of categories/groups are high.
https://xoops.org/modules/newbb/viewtopic.php?topic_id=75669

@trabis:
Please take a look at this topic if you have some time. we need your advise. specially IMO we should use newbb image customization method in xoops core in 2.6

XOOPS 2.6 Internationalization/Local support

35
bjuti
Re: Latest Publisher module?
  • 2012/12/6 17:50

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I've found another bug.

In preferences > Item page > Other articles display type when it's set to All articles the variable <{$item.itemurl}> does not work/show. Options none and prev/next shows it.

36
trabis
Re: Latest Publisher module?
  • 2013/1/3 21:00

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I found a memory usage bottleneck in the method getLastPublishedByCat();
It was loading one item by cat not regarding permissions or pagination. If you had 3000 categories, it would load 3000 items even if you were listing only 15 cats.

This is now fixed on latest svn. Please test it.

37
sabahan
Re: Latest Publisher module?
  • 2013/1/3 23:07

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


Hye trabis

i download publisher from svn

when create article in admin
modules/publisher/admin/item.php?op=mod

i have a submit form with white background no style

turn on debug
Quote:

Fatal error: Call to a member function read() on a non-object in D:\xampp\htdocs\255\modules\publisher\admin\item.php on line 525

None All Errors (2) Deprecated (0) Queries (18) Blocks (0) Extra (2) Timers(5)

Errors
Warning: fileperms() [function.fileperms]: stat failed for /uploads/publisher/content/ in file /modules/publisher/admin/item.php line 506
Warning: dir(/uploads/publisher/content/) [function.dir]: failed to open dir: No such file or directory in file /modules/publisher/admin/item.php line 524


i create the /uploads/publisher/content/ and that fix it

can this folder be create automatically next time ?

38
trabis
Re: Latest Publisher module?
  • 2013/1/4 0:01

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

sabahan wrote:
Hye trabis

i create the /uploads/publisher/content/ and that fix it

can this folder be create automatically next time ?


Do you have write permissions on uploads folder?
I did not tested under linux.

39
jcweb
Re: Latest Publisher module?
  • 2013/1/4 0:49

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Hi all and sorry i jump to your thread

First, glad to see you find time to help us @trabis!!!

To that last point, some of our servers runs under user mode, so they did not need (we can modify manual if we need or want) permission (chmod) to that folder. But if we set 777 to the upload folder (it is in that case), the content folder will not create automatically. If i remember right, is the content folder only for the wrap html files, or? The problem is, the user cannot define or set a upload path in the admin section of the modul. For you to know, the user did not use the last version from the svn.

That the point i jump to your thread. The users they work with the publisher modul cannot work with tortoise. If you, dear trabis or anyone able to copy it to the module repository on sourceforge? So we can help to test the latest versions of the module.

Greets Andy

40
sabahan
Re: Latest Publisher module?
  • 2013/1/4 1:03

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


user can download latest publisher from svn to test like this

use a program eg like
http://downloadsvn.codeplex.com/

svn url/checkout url
http://svn.code.sf.net/p/xoops/svn/XoopsModules/publisher/trunk/

Login

Who's Online

210 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 210


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