admin
User
 Platinum Boarder
| Posts: 3093 |  | Karma: 53
|
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 |