XML Theme Import with FTP? (SAFE Mode is on)

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
PhilippK
New Member
New Member
Posts: 2
Joined: Sun Jun 01, 2008 8:10 pm

XML Theme Import with FTP? (SAFE Mode is on)

Post by PhilippK »

I would like to import an xml theme to my newly created site. Now, my host has PHP Safe Mode turned on and so the Import feature doesn't work at all.
Is there a way I can upload a xml theme via FTP and then use it in the CMS? I searched in the forums but didn't fount an anwser.
Thank you for your time!

Philipp
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: XML Theme Import with FTP? (SAFE Mode is on)

Post by Dr.CSS »

If you can't use the 'import XML' in theme manager your best bet would be to set up a test type site on your comp., best I found is XAMPP, then import it to it and then copy/paste the HTML, Menu template, CSS, then upload any image folders/files into the relevant places...
PhilippK
New Member
New Member
Posts: 2
Joined: Sun Jun 01, 2008 8:10 pm

Re: XML Theme Import with FTP? (SAFE Mode is on)

Post by PhilippK »

Thank you for your suggestion. In the meantime I found a simple workaround: I just removed the Upload Check from the source code (action.defaultadmin.php in Thememanger, line 114 to 120 and the closing bracket) and to my surprise it is working now!
I'm not a php-expert but this statement caused some trouble on my side, because upload IS working but this function returns false, don't know where this function is defined:
if( FALSE == can_admin_upload() )
Last edited by PhilippK on Sun Jun 01, 2008 9:54 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: XML Theme Import with FTP? (SAFE Mode is on)

Post by calguy1000 »

CMS Made simple does not support safe mode.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: XML Theme Import with FTP? (SAFE Mode is on)

Post by Dr.CSS »

Maybe you should have checked in Users & Groups » Group Permissions admin to make sure you had permission to use theme manager, some times not all permissions are check, contrary to what it says...
Post Reply

Return to “CMSMS Core”