Joomdle 1.0 Installation

Strict Standards: Only variables should be assigned by refer

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
9 years 4 months ago #1 by saman سامان
hi.
I install joomdle, joomla and moodle on my localhost on the Xampp to develop some thing.
when i use Joomdle teachers module, this error show and module is not work.how to solve that?
tnx
final version of moodle and joomla and joomdle i use (3.2 , 3.6.5 , 1.0.8)
php 5.6.28

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
9 years 4 months ago #2 by saman سامان
The error not show if i remove & from the line 16 in mod_joomdle_teacher.php but module not work yet.
that tip is here:
forum.joomla.org/viewtopic.php?t=927086

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
9 years 4 months ago #3 by saman سامان
The error not show if i remove & from the line 16 in mod_joomdle_teacher.php but module not work yet.
that tip is here:
forum.joomla.org/viewtopic.php?t=927086
but i can see the moodle teacher in the menu for show the teacher list

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
9 years 4 months ago - 9 years 4 months ago #4 by saman سامان
i find the problem for future users :
change this code in mod_joomdle_teacher.php
to this
Code:
<?php /** * @version 1.0 * @package Joomdle - Mod Display List of Moodle Teachers * @copyright Qontori Pte Ltd * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL */ // no direct access defined('_JEXEC') or die('Restricted access'); require_once (dirname(__FILE__).'/helper.php'); require_once(JPATH_SITE.'/components/com_joomdle/helpers/content.php'); $comp_params = JComponentHelper::getParams( 'com_joomdle' ); $joomdle_itemid = $comp_params->get( 'joomdle_itemid' ); $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx')); $teachers = JoomdleHelperContent::call_method ('teachers_abc', ''); require(JModuleHelper::getLayoutPath('mod_joomdle_teachers'));
Last edit: 9 years 4 months ago by saman سامان.

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #5 by Antonio Durán
Sorry for the slow reply and thanks for the info, we will release a fixed version soon.

Please Log in or Create an account to join the conversation.