Pages: [1] |
|
|
Author |
Topic: SnippetMaster does not work with php running in safe mode. (Read 418 times) |
dz
Posts: 6
|
[ Admin note: SnippetMaster works just fine with php safe_mode enabled. There are hundreds of customers who are using it with php safe mode, and no problems.  ]
SnippetMaster does not work with php running in safe mode. It seems to be the root of the "it says it saved it but the changes don't show up" problem reflected in about 100 posts in this forum.
Nothing wrong with that, just trying to save some of you the couple of days I wasted trying to make it work. Henri has a great piece of software here if it works on your server. Good luck to all of you.
DZ
|
|
|
|
admin
Forum Administrator

Posts: 1430
SnippetMaster Author
|
I'm not sure there are 100 posts with that subject, but the most common reason for the "did not save" problem is incorrect permissions for the file that is being saved. 9 out of 10 people who contact me with this problem simply need to do a "chmod 777" for the file they want to save.
But yes.. snippetmaster does not work with php in "safe mode".
|
|
|
|
dz
Posts: 6
|
And SnippetMaster is an awesome piece of software. I have installed WebEdit Pro and about 4 others, which also do not work with safe mode on, and SnippetMaster is by far the easiest to install and get running.
I'm currently working on a workaround to my safe mode problem so that I can use SnippetMaster.
Thanks for your hard work, Henri.
DZ
|
|
|
|
blindlemon
Beta Tester
Posts: 3
|
You may be able to change this setting yourself, on a per-directory basis.
Simply create a text file named '.htaccess' in the directory containing the scripts concerned (or the root directory) and place in it the following text:
php_value safe_mode 0
I know this works with register_globals off
|
|
|
|
admin
Forum Administrator

Posts: 1430
SnippetMaster Author
|
BTW - I'm pretty sure the new "v2" version of Snippetmaster (currently in beta testing) works with safe_mode turned on. Not sure, though.. as I don't have a testing server with it on.

|
|
|
|
atlaz
Beta Tester
Posts: 8
|
Nope 
Doesn't work.
This is better for us, since we get to move our customers from their old ISP:s to our webhotell 
But i can see that this "feature" with safe mode enabled gives some serious problems.
|
|
|
|
Jenkinhill
|
I have done 3 installs on a server with safe mode on. Worked fine for me, with just the extra step of creating the database file and setting permissions. The server you are trying will almost certainly have a different configuration, but PHP safe mode alone does not prevent SnippetMaster from installing and working.
Good reason for moving the clients to your own server, though. 
|
Kelvyn
|
|
|
admin
Forum Administrator

Posts: 1430
SnippetMaster Author
|
Yes, there are lots of people now running the new version of SnippetMaster on servers with PHP safe_mode turned on. It works great.
But of course... the odds are that if your web host has php safe_mode enabled, then they are either:
1) Super paranoid and they have also disabled a lot of other things...
2) Inept, and have enabled safe_mode because they don't know how to properly secure the server without making the php software practically useless.
Either of the above situations could result in a million unknown configuratoin scenarios for php on your server.
But I can guarantee that snippetmaster works with safe_mode on...
|
|
|
|
|
Pages: [1]
|
|
|
|