Page 1 of 1

theme manager import error in modules/ThemeManager/action.importtheme.php

Posted: Tue Oct 24, 2006 2:53 am
by wesyah234
Using a 1.0.2 cmsms site, I exported a theme to an xml file.

I then uploaded this theme to a fresh install also on version 1.0.2

and received this error upon uploading the xml file:

Fatal error: Call to a member function on a non-object in
... modules/ThemeManager/action.importtheme.php on line 339

I'm using apache and php 4 on a shared web host

What did I do wrong?

Thanks!

Re: theme manager import error in modules/ThemeManager/action.importtheme.php

Posted: Wed Oct 25, 2006 7:33 am
by Dr.CSS
You used the Theme Manager to upload the .xml?

Re: theme manager import error in modules/ThemeManager/action.importtheme.php

Posted: Wed Oct 25, 2006 1:23 pm
by wesyah234
Yes, after downloading the theme on the other site, I went to the Import tab of the theme manager and browsed for the xml file and uploaded it.

Then I go that error.

Is this the correct procedure?

Re: theme manager import error in modules/ThemeManager/action.importtheme.php

Posted: Fri Oct 27, 2006 12:37 am
by Dr.CSS
That is the correct way to do it, the only thing I can think of is maybe that file didn't get fully uploaded, you may want to try and reFTP the ThemeManager module to your site...

Re: theme manager import error in modules/ThemeManager/action.importtheme.php

Posted: Sat Oct 28, 2006 4:56 am
by Elijah Lofgren
wesyah234 wrote: Using a 1.0.2 cmsms site, I exported a theme to an xml file.

I then uploaded this theme to a fresh install also on version 1.0.2

and received this error upon uploading the xml file:

Fatal error: Call to a member function on a non-object in
... modules/ThemeManager/action.importtheme.php on line 339

I'm using apache and php 4 on a shared web host

What did I do wrong?

Thanks!
Looks like it was a bug and was fixed in the latest SVN version of ThemeManager: http://viewsvn.cmsmadesimple.org/viewsv ... r&view=rev

You can download the fixed version of modules/ThemeManager/action.importtheme.php here: http://viewsvn.cmsmadesimple.org/viewsv ... iew=markup