Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Please disable the 'safe_mode' setting in php.ini

 

 


2n-Jenn
New User

Nov 17, 2008, 6:15 PM

Post #1 of 5 (2198 views)
Shortcut
Please disable the 'safe_mode' setting in php.ini Can't Post

Hi,

I tried to setup my new copy of CMS builder and when running the program, ran into the error message 'Please disable the 'safe_mode' setting in php.ini. The hosting company indicates that PHP safe mode management is off. A quick search in the forum brought me to the following link: http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/gforum.cgi?post=65432;search_string=safe_mode;t=search_engine#65432 and I followed the suggestion to remove a line from /lib/init.php

I am now running into a new error message (as was indicated might happen) loadini: SAFE MODE Restriction in effect. The script whose uid is 10435 is not allowed to access /home/httpd/vhosts/lindsaybroadbandinc.com/httpdocs/cmsAdmin/data//schema/our_business.ini.php owned by uid 48 [not sure where that extra "/" is coming from between data and schema]


The hosting company is 'HORRENDOUS' to deal with - I'm fairly certain that they use cue cards ;) If they think PHP safe mode turned off, then I am sure before I start that I won't get anywhere with them. I'm wondering if there is a patch available to just get around this as mentioned in the link above. If there is someone I could email directly, I would be happy to provide FTP info and url to CMS Builder.

Thank you so much for any assistance you can offer,

Sincerely,
Jenn


(This post was edited by 2n-Jenn on Nov 18, 2008, 6:55 PM)


Dave
Staff / Moderator


Nov 18, 2008, 1:43 PM

Post #2 of 5 (2178 views)
Shortcut
Re: [2n-Jenn] Please disable the 'safe_mode' setting in php.ini [In reply to] Can't Post

Hi Jennifer, welcome to the CMS Builder forum! :)

We've found the easiest way to get through to hosts is to create a simple one line script that demonstrates the problem.

Create a file in the same folder as CMS Builder called phpinfo.php with this contents:

<?php phpinfo(); ?>

When you run it you should see a long pages with all the PHP configuration values. Search for "safe_mode" the first value (Local Value) should be "Off". If it's not, let us know and email your host and send them the link to the phpinfo.php script that shows safe_mode is still on.

Hope that helps, let me know what happens! :)

Dave Edis - Senior Developer
interactivetools.com
 


2n-Jenn
New User

Nov 18, 2008, 6:54 PM

Post #3 of 5 (2173 views)
Shortcut
Re: [Dave] Please disable the 'safe_mode' setting in php.ini [In reply to] Can't Post

Yes, the settings do indicate that safe mode is turned ON ~ this is exactly what I needed to convince the host.

I appreciate your help, and love the simple solution.

Many thanks, Jenn


(This post was edited by 2n-Jenn on Nov 18, 2008, 7:00 PM)


gagester
User

Mar 20, 2009, 8:41 AM

Post #4 of 5 (1537 views)
Shortcut
Re: [Dave] Please disable the 'safe_mode' setting in php.ini [In reply to] Can't Post

Hello, Can i ask a follow up question to this?

When i login to the admin for the host, i have the option to turn "PHP Safe Mode" on or off, as well as the option to turn "PHP Safe Mode GID" on or off. Do i need to turn the second one off as well?

Thanks!


Dave
Staff / Moderator


Mar 20, 2009, 3:38 PM

Post #5 of 5 (1522 views)
Shortcut
Re: [gagester] Please disable the 'safe_mode' setting in php.ini [In reply to] Can't Post

Hi gagester,

I replied to your other post on this topic here:
http://www.interactivetools.com/forum/gforum.cgi?post=70337#70337

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com