Hi guys,
I'm pretty new to Dolphin, although I have tried it before, and I am having problems with Safe Mode. I have searched for the topic but the newest topic on this was 12 months ago & whilst I appreciate regardless of version, Safe Mode needs to be off, my situation is bugging me somewhat. I asked my host if they could disable it & they said "Sure! Give us the domain name & we'll do it." What they did was add a php.ini file to my public_html. Needless to say I couldn't access Admin. I told them & they added a php.ini file to the Admin Directory. I figured all was okay until I install modules & now THEY are requesting Safe Mode be disabled. Firstly, is there anywhere else I need to be adding a php.ini file so that I won't come across this again? Secondly, is it safe to add a php.ini file in the Modules Directory & would that solve my problem? Finally & thirdly isn't there a way the host can simply turn it off for the whole domain? I was sure there is.
Thanks for any help
Mark
|
Your host should be able to turn it off for you ...
Does your Host Tools show the setting as off ?
DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price! |
Like I say in my original post, the host support added php.ini files to turn it off, they didn't disable it server wide. They simply added "safe_mode = off" in php.ini files.
Edited to include the following update;
Safe Mode actually is shown as 'off' in Host Tools yet if I click on any module settings or modules on the front end of my site (i.e I try to go to 'Groups' or 'Timeline' etc) that is when I get the notification about Safe Mode.
|
This is quite rare. Once in a while we encounter a host that requires a php.ini file be placed in every single dolphin folder. And it looks like you have one of those hosts. There are very few of us here that even know this.
You have two choices. Either find a new host that does not have those kinds of restrictions in place, or do what needs to be done. If you choose to stick with that host, then you need to create the needed ini files. Instructions below.
See this document. As you require a php.ini file, follow step 2. Not step 1. http://www.boonex.com/trac/dolphin/wiki/GenDol7TShooter#Igetallowedmemorysizeexhaustederror. Step two shows what should be in a php.ini file so it complies with dolphins recommended settings.
Then at the bottom of that document is a shell command you can run assuming you have ssh access. If you don't then have your host run it. The script will copy the php.ini file to every dolphin folder and then remove it from few folders that are not suppose to have one.
Remember. It is rare for hosts to have such restrictions in place. I strongly recommend you do not use them to run dolphin. To me it's a sign of future problems. https://www.deanbassett.com |
I agree with Deano on this one, it might be best to find a new host. Normally placing it in the root of the site should have been all you needed as it will apply to all subdirectory. Your host is different. Not all hosts are suitable for a Dolphin site and you don't want your site going down because your host sets or changes something. Geeks, making the world a better place |
I was getting to explaining that this could be possible issue next ... or else; once set the change should have been global
requires a php.ini file be placed in every single dolphin folder
DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price! |
How weird you refer me to that document. I was just trying that out & was up to the point with the shell. I do plan to switch my hosting package to a Dedicated Server with the same host. As I will have complete control over the server then I should be okay then right? :) |
How weird you refer me to that document. I was just trying that out & was up to the point with the shell. I do plan to switch my hosting package to a Dedicated Server with the same host. As I will have complete control over the server then I should be okay then right? :)
Yes, a dedicated server comes with full root (administrator) access to the server. No more messing around with a dozen php.ini files all over the place. 
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Keep track of where you put those php.ini files as well because you will need to remove them when you move; clutter and all that. Geeks, making the world a better place |
Thanks for all your help guys! :) |
are your issues resolved now? DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price! |
Yes thanks! I revisited my host & told them I needed Safe Mode off globally across the whole domain. He said he had posted something in my .htaccess file. I haven't checked what yet but whatever it was it has solved the problem right now. Thanks for all your comments & assistance. |