PEAK XOOPS - Re: Fatal error: Allowed memory for batch.php in englishin japanese

Re: Fatal error: Allowed memory for batch.php

List posts in the topic

none Re: Fatal error: Allowed memory for batch.php

msg# 1.2.1
depth:
2
Previous post - Next post | Parent - No child | Posted on 2009/5/2 5:57
GIJOE  Ǥ   Posts: 4110
Certainly, XoopsUser Object is too big.
To get users list, batch.php should not use XoopsUser Object but use simple SQL.

You can also hack batch.php like:
From:
$submitter_select = new XoopsFormSelectUser( _AM_TH_SUBMITTER , 'submitter' , false , $submitter ) ;
To:
$submitter_select = new XoopsFormText( _AM_TH_SUBMITTER , 'submitter' , 50 , 255 , 1 ) ;

Just set uid as a number.
Votes:8 Average:8.75

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!