Home arrow Forum

Remository Forum

 


admin

Karma: 54  
Installation into Joomla 1.5 - 2007/07/28 14:28 The current Remository 3.42 will not install into Joomla 1.5 because it creates an error "Fatal error: Cannot redeclare class JConfig in C:localhostxampphtdocsxamppjaconfiguration.php on line 2"

To resolve this, please do the following:

1) Unzip the Remository zip package into a temporary directory.

2) Edit the remository.interface.php file and change lines 48 and 50 from
Code:

  if (is_a($this->mainframe,'mosMainFrame')) return $this->mainframe->getCfg($string);


to
Code:

  if (is_a($this->mainframe,'mosMainFrame') OR is_a($this->mainframe'JAdministrator') OR is_a($this->mainframe'JSite')) return $this->mainframe->getCfg($string);



3) Zip up all the files again

4) Install the resulting package

Post edited by: admin, at: 2007/07/28 14:23
Martin Brampton aka Counterpoint
http://black-sheep-research.com
http://mamboguru.com
  | | Sorry, you do not currently have permission to write here.

      Topics Author Date
    thread link
Installation into Joomla 1.5
admin 2007/07/28 14:28
    thread link
thread link Re:Installation into Joomla 1.5
KleenMicha 2007/08/02 23:04
    thread link
thread linkthread link Re:Installation into Joomla 1.5
choferer 2007/08/10 15:00
    thread link
thread linkthread linkthread link Re:Installation into Joomla 1.5
KleenMicha 2007/08/11 16:34
    thread link
thread linkthread linkthread linkthread link Re:Installation into Joomla 1.5
choferer 2007/08/11 23:51
    thread link
thread link Re:Installation into Joomla 1.5
JosiahW 2007/09/12 22:24
    thread link
thread linkthread link Re:Installation into Joomla 1.5
Bilousme 2007/09/13 12:51
    thread link
thread linkthread link Re:Installation into Joomla 1.5
microsfot 2007/09/20 08:40
    thread link
thread linkthread linkthread link Re:Installation into Joomla 1.5
Maciej 2007/09/20 14:51
    thread link
thread linkthread linkthread linkthread link Re:Installation into Joomla 1.5
microsfot 2007/09/20 15:20
    thread link
thread linkthread linkthread linkthread linkthread link Re:Installation into Joomla 1.5
frito 2007/09/21 21:06
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:Installation into Joomla 1.5
Maciej 2007/10/03 22:26
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:Installation into Joomla 1.5
thefactory 2007/10/14 18:31

Menu

Login Form

Username

Password

Remember me
Password Reminder
No account yet?
Create one

Who is Online

Remository welcomes guests and registered users.

We have 27 guest online