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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

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

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

You used the Theme Manager to upload the .xml?
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

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

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

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

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Post Reply

Return to “CMSMS Core”