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
XML Theme Import with FTP? (SAFE Mode is on)
Re: XML Theme Import with FTP? (SAFE Mode is on)
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)
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() )
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.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: XML Theme Import with FTP? (SAFE Mode is on)
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.
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.
Re: XML Theme Import with FTP? (SAFE Mode is on)
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...