My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow Forum arrow JCal Pro 1.5.xarrow JCal Pro 1.5.x for Joomla! 1.5.xarrow SOLVED: Cannot redeclare class mosinstaller
Pages: [1]
Print
Author Topic: SOLVED: Cannot redeclare class mosinstaller  (Read 413 times)
dmiklus
Newbie
*

Karma: +0/-0
Posts: 1


View Profile
« on: May 11, 2008, 09:17:08 AM »

Hi!
When I have install the new version of JCAL PRO 1.5 on Joomla 1.5.3, on frontend, is all ok! When I try to enter in Administration mode of JCAL PRO I have this error:

Fatal error: Cannot redeclare class mosinstaller in /web/htdocs/www.xxx.org/home/administrator/components/com_jcalpro/installer/installer.class.php
on line 44


I have try to delete sql table before installation, but the problem persist!
Can you have any suggest?
« Last Edit: May 18, 2008, 01:08:15 PM by V-man » Logged
V-man
Administrator
Hero Member
*****

Karma: +5/-1
Posts: 1803


Ignorance is curable, stupid is forever.


View Profile
« Reply #1 on: May 11, 2008, 10:02:49 AM »

OK. In installer.class.php try replacing line 44:
Code:
class mosInstaller {

With the following:

Code:
class JCalProInstaller {

Also replace line 70:
Code:
function mosInstaller() {

With the following:
Code:
function JCalProInstaller() {

Then open the following file:

<ROOT>/administrator/components/com_jcalpro/installer/themes/theme.class.php

Replace line 43:
Code:
class EXTCALThemeInstaller extends mosInstaller {

With the following:
Code:
class EXTCALThemeInstaller extends JCalProInstaller {
« Last Edit: May 11, 2008, 10:06:13 AM by V-man » Logged

*** Please read this post before posting in the forum. ***

Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
BBS
Newbie
*

Karma: +0/-0
Posts: 4


View Profile Email
« Reply #2 on: May 17, 2008, 10:42:37 PM »

Since I didn't see any reply I thought I'd let you know that the fix posted works. I encountered the same error, applied the suggested changes and everything is now working.
Logged
V-man
Administrator
Hero Member
*****

Karma: +5/-1
Posts: 1803


Ignorance is curable, stupid is forever.


View Profile
« Reply #3 on: May 19, 2008, 02:09:10 AM »

These changes are available in build 229 (now available in the downloads area).
Logged

*** Please read this post before posting in the forum. ***

Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
chanson
Newbie
*

Karma: +0/-0
Posts: 4


View Profile
« Reply #4 on: June 30, 2008, 04:59:41 PM »

 Huh I have this issue installing 1.5.3 to my installation of Joomla 1.0.15 and when I tried to use your fix, it didn't fix the issue, it just popped more errors.

I tried opening up the permissions for my administrator directory wide open (777) and that didn't fix it either. I'm a little bit at a loss as to what I can do. Does no one else have this issue?

-Caleb
Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)