chefry wrote:
so this will fix the problem?
I can go back to one big database?
No, I think your problem is in random articled block.
I will look into the block but if you can get me access to your server it would be great.
chefry wrote:
so this will fix the problem?
I can go back to one big database?
zyspec wrote:
Looking at archive.php it appears that some rewriting might have to be done to improve efficiencies. For example there's a place where all the item objects are returned from a query - this will probably have to be modified to only return the fields desired in an array instead of using the returned objects (default). There are a few other places where the code could be optimized that might yield some additional benefits. At least this would help if the problem is memory consumption.
An outer loop might be required to break the results into manageable chunks and then recombined.
I'm sure Trabis can figure it out, it's probably more about whether he has time to work on it.
ZioCrick wrote:
Thanks iHackCode!
It is OK!
Just a question.
Does Publisher has a future?
Do you know why, since 2009 it is still at the alpha version?
I clicked on link bellow the image and I went to xortify banned list instead of going to xortify unbanned list.
$userwebsite = ($thisUser->getVar('url', 'E')!='')?'<a href="'.$thisUser->getVar('url', 'E').'" target="_blank">'.$thisUser->getVar('url').'</a>':'';
$userwebsite = ($thisUser->getVar('url', 'E')!='')?'<a href="'.formatUrl($thisUser->getVar('url', 'E')).'" target="_blank">'.$thisUser->getVar('url').'</a>':'';
Notice: Undefined variable: singlevideoview in file /modules/videotube/index.php line 695
Notice: Undefined variable: singlevideoview in file /modules/videotube/index.php line 755
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in file /modules/videotube/index.php line 827
Warning: Division by zero in file /modules/videotube/index.php line 831
<?php
defined('XOOPS_ROOT_PATH') or die('Restricted access');
/**
* Class to allow <{if $homepage}>Your code here<{/if}> in templates
* @author trabis
*/
class SystemCorePreload extends XoopsPreloadItem
{
//We are using this header hook because cached pages may not hit the footer.php
function eventCoreHeaderAddmeta($args)
{
if (defined("XOOPS_STARTPAGE_REDIRECTED") || (isset($GLOBALS['xoopsOption']['template_main']) && $GLOBALS['xoopsOption']['template_main'] == "db:system_homepage.html")) {
if (is_object($GLOBALS['xoopsTpl'])) {
$GLOBALS['xoopsTpl']->assign('homepage' ,true);
}
}
}
}
?>