Mosets Tree voting works only after page refresh - Joomla! Forum - community, help and support


hello :)


this first post here, , mosets tree voting not work until visitor refresh page.
i thought related output buffering on turned off (locally in .user.ini), did not help, thought related joomla caching, enabled it, samething

i see many errors in php_error.log.20161110 file, related these 2 lines

code: select all

[09-nov-2016 14:05:01 utc] php notice:  undefined variable: gdversion in /data/web/clientxxx/html/administrator/components/com_mtree/tools.mtree.php on line 157
 [09-nov-2016 14:05:01 utc] php notice:  undefined variable: gdversion in /data/web/clientxxx/html/administrator/components/com_mtree/tools.mtree.php on line 160


and part 2 lines are

code: select all

/***
* assigncommonvar
*
* assign comman savant2 variable template
*/

function assigncommonvar( &$savant ) {
   global $option, $itemid, $mtconf, $task;
   $my = jfactory::getuser();

   $savant->assign('option', $option);
   $savant->assign('task', $task);
   if( isset($itemid) ) {
      $savant->assign('itemid', $itemid);
   } else {
      $savant->assign('itemid', '');
   }
   $savant->assign('user_id',$my->id);
   $savant->assign('my',$my);
   $savant->assign('myauthorisedviewlevels',$my->getauthorisedviewlevels());
   $savant->assign('mtconf',$mtconf->getvararray());
157 $savant->assign('jconf',$mtconf->getjvararray());
   $savant->assignref('config',$mtconf);
}
160


the problem use same site in hosting , working perfectly
that means mosets tree , joomla working fine
while in second hosting have problem cannot know missing (in host options) joomla
in installation recommended options available
i tried fresh install (joomla 3.6.4+mosets+gantry+jce+rokgallery) visitor still unable vote , needs refresh page vote normally
any appreciated guys

hi,

i think should provide link of site can see how page works. maybe find reason , solution.

best regards!





Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support