Page 1 of 1

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

Posted: Sun Jun 01, 2008 8:14 pm
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

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

Posted: Sun Jun 01, 2008 9:47 pm
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...

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

Posted: Sun Jun 01, 2008 9:51 pm
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() )

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

Posted: Sun Jun 01, 2008 10:07 pm
by calguy1000
CMS Made simple does not support safe mode.

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

Posted: Sun Jun 01, 2008 10:40 pm
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...