Home arrow Forum

Remository Forum

 


AlCher

Karma: 0  
mod_remositorymulti_j - troubles - 2008/06/21 12:09 1. PHP displays the message (PHP Version: 5.2.6 at me):
Notice: Trying to get property of non-object in C:mywebinf.ruwwwmodulesmod_remositorymultimod_remositorymultiremositorymulti.class.php on line 31

Line 31 is:
$this->remUser =& new remositoryUser ($my->id,$my);

I cannot find reason PHP Notice. How it to correct? Can somebody help me?

2. The mode RSS link is not work:
Fatal error: Call to undefined function sefRelToAbs() in C:mywebinf.ruwwwmodulesmod_remositorymultimod_remositorymultiremositorymulti.class.php on line 131

It seems is necessary:
$sefurl = sefRelToAbs ($url);
to replace on
$sefurl = JRoute::_($url); It works.

3. The image calendar.gif is inaccessible, if the module shows from the submenu.

Possible correction:

remositorymulti.class.php line 100:

Code:

 if ($this->diconsize$dateurl "_img src='components/com_remository/images/calendar.gif' width='$this->diconsize' height='$this-> diconsize' alt='Date icon' /_";


to replace on:

Code:

 if ($this->diconsize$dateurl remositoryRepository::RemositoryImageURL('calendar.gif',16,16);



Post edited by: AlCher, at: 2008/06/21 12:18
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:mod_remositorymulti_j - troubles - 2008/06/22 15:37 I seem have found as to get rid from PHP Notice.

It is not displayed if plugin System - Legacy to enable (in the Extensions -> Plugin Manager -> System - Legacy)
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:mod_remositorymulti_j - troubles - 2008/06/22 18:17 Thanks for reporting the problems, I will try to find time to upgrade the multi-module. Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:mod_remositorymulti_j - troubles - 2008/06/23 15:32
File Attachment:
File name: 2_native.txt
File size:655 bytes
File Attachment:
File name: 1_legacy.txt
File size:657 bytes


Addition to the first post:

4. Mod_remositorymulti it is not sensitive to option UnPublish in the Manager Containers of Control Panel Remository. It shows files even if Containers аге unpublish. Mod it is sensitive only for Download roles (in Access Control).

Rather PHP Notice: Trying to get property of non-object...
I have compared 'echo var_dump ($this);' after a line 31 for legacy and native modes. Results are enclosed in files 1_legacy.txt and 2_native.txt.

There are distinction:
["id"]=> int(0) - for legacy
["id"]=> NULL - for native mode

Probably it will help to upgrade the multi-module.

Post edited by: AlCher, at: 2008/06/23 15:47
  | | Sorry, you do not currently have permission to write here.

Save FM Radio

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 8 guest online