Error! Problem saving the files encoded in the theme.
Error! Problem saving the files encoded in the theme.
I have always got "Error! Problem saving the files encoded in the theme", when I try to import theme with xml file from the theme manager. I have chmod 777 the directory themplates_c. Anybody knows how to solve this problem?
Last edited by ragawa on Sat Jan 20, 2007 4:34 pm, edited 1 time in total.
Re: Error! Problem saving the files encoded in the theme.
those images are saved in pictures folders, try chmodding uploads/images and other uploads forlders so that apache can write into them
hope this helps
hope this helps
Re: Error! Problem saving the files encoded in the theme.
You may also try setting the (unmask) to 002 or 000 or leave it blank...
Re: Error! Problem saving the files encoded in the theme.
Hi,
I just installed CMSMS v 1.0.4 and get the same error.
I'm uploading the theme "Panoramica.xml" and get the error "Error! Problem saving the files encoded in the theme".
(same error for all xml themes I tested)
uploads\
uploads\images
....are set to 777.
I have not tried "try setting the (unmask) to 002 or 000 or leave it blank" as I don't know what this is.
Dir uploads\Panoramica is created but remains empty.
Best regards, Nick Leo
I just installed CMSMS v 1.0.4 and get the same error.
I'm uploading the theme "Panoramica.xml" and get the error "Error! Problem saving the files encoded in the theme".
(same error for all xml themes I tested)
uploads\
uploads\images
....are set to 777.
I have not tried "try setting the (unmask) to 002 or 000 or leave it blank" as I don't know what this is.
Dir uploads\Panoramica is created but remains empty.
Best regards, Nick Leo
Re: Error! Problem saving the files encoded in the theme.
Means, you have to go to admin panel, menu "Site admin > Global preferences". There you will see a field named File Creation Mask (umask). There you've to insert 002 or 000.nicleo wrote: I have not tried "try setting the (unmask) to 002 or 000 or leave it blank" as I don't know what this is.
Re: Error! Problem saving the files encoded in the theme.
hmm, I tested 002 then 000 and then left it blank.
None of it made any difference.
Anything else I can try?
//Nick
None of it made any difference.
Anything else I can try?
//Nick
Re: Error! Problem saving the files encoded in the theme.
Have no better solution
. Think, we must bypass your server ...
Install a local server like xampp and import themes there. There are no permission problems.
Now all xml datas are extracted and you can export it via ftp to your life server.

Install a local server like xampp and import themes there. There are no permission problems.
Now all xml datas are extracted and you can export it via ftp to your life server.
Re: Error! Problem saving the files encoded in the theme.
Thanks, that worked as a temp solution.
However, I'm moving around a lot and I really need to get the import working at my web hotel.
It does work fine when running a server on my workstation so it must be a problem with my web hotel.
It seem a lot of users have the same problem and I have not seen any of the cases beeing fully solved.
....so if any one out there would find the solution to the problem, pls let us know ASAP.
//Nick
However, I'm moving around a lot and I really need to get the import working at my web hotel.
It does work fine when running a server on my workstation so it must be a problem with my web hotel.
It seem a lot of users have the same problem and I have not seen any of the cases beeing fully solved.
....so if any one out there would find the solution to the problem, pls let us know ASAP.
//Nick
Re: Error! Problem saving the files encoded in the theme.
Who is hosting your site and on what platform/OS?...
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Error! Problem saving the files encoded in the theme.
Okay, your problem is probably 'safe mode' related, and this relates to many of the XML, and image upload issues I've seen of late.
Here's a quick and dirty description of the base operation of safe mode:
And when creating a new directory, as XML theme (and module) uploads do, the destination directory is then owned by the httpd process user, which means that any attempt to create a file in that new directory will fail in safe mode (because the directory being operated on probably isn't owned by the same user as the script that's executing the command).
In essence. Safe mode sucks. Don't use it, and raise hell with your hoster if they use it.
see this: http://ca.php.net/features.safe-mode
Here's a quick and dirty description of the base operation of safe mode:
This means, that if safe mode is enabled on your server, the directory for uploads and files has to be owned by the same user that the directory you're operating under works on (AND permissions have to be open sufficiently).When safe_mode is on, PHP checks to see if the owner of the current script matches the owner of the file to be operated on by a file function or its directory.
And when creating a new directory, as XML theme (and module) uploads do, the destination directory is then owned by the httpd process user, which means that any attempt to create a file in that new directory will fail in safe mode (because the directory being operated on probably isn't owned by the same user as the script that's executing the command).
In essence. Safe mode sucks. Don't use it, and raise hell with your hoster if they use it.
see this: http://ca.php.net/features.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: Error! Problem saving the files encoded in the theme.
OK, that explains it.
I checked and Yes, they run in safe mode and they will not change it for me.
http://ws1.surf-town.net/phpinfo.php
I guess I just just have to move to another hotel.
Thanks...
//Nick
I checked and Yes, they run in safe mode and they will not change it for me.
http://ws1.surf-town.net/phpinfo.php
I guess I just just have to move to another hotel.
Thanks...
//Nick