Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
Does anyone know what this error means and how it can be solved?

[]Warning: mm_mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in /data/apache/php/mmp_lib/php4u_mail.php on line 7
[/]

This occurs after a new user registration (after pressing the submit button). The site is hosted at Lycos....

Sponsored Links
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Heya,

You need to disable safe mode in your PHP.INI like this...

; Safe Mode
;
safe_mode = Off

; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
safe_mode_gid = Off

Do you have access to PHP.INI? If not, then you'll have to ask Lycos to do this for you

If they won't, then search for a new host ASAP

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Btw Pasq, in config.inc.php do you have this set to anything...?

// Some servers require the [][email protected][/] parameter to send email. Normally this is not
// the case so this should stay off. However, if you are not receiving email you can try turning this on.
$config['fifth_mail'] = "";

If yes, is it because you can't send emails otherwise? If you don't need this enabled, then try setting it to nothing like above and see if your errors go away.

Joined: Dec 2004
Posts: 3
Lurker
Lurker
Joined: Dec 2004
Posts: 3
In the morning we did receive this message from Lycos:

Hello,

In order to patch a security issue on the PHP 4.3.8, we have this morning upgraded our PHP 4 version to the 4.3.10 (See phpinfo()).

PHP version 5 is available with the extension php5 (See phpinfo() version 5)

The Lycos/Spray tech team

Could this be the problem?

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Well the problem is that they have safe mode enabled with the new install, either intentionally or unintentionally.

Any host who intentionally relies upon that is just lazy about security, imo.

Sponsored Links
Joined: Dec 2004
Posts: 3
Lurker
Lurker
Joined: Dec 2004
Posts: 3
// Some servers require the [][email protected][/] parameter to send email. Normally this is not
// the case so this should stay off. However, if you are not receiving email you can try turning this on.
$config['fifth_mail'] = "";


This did work!
Thanks..

Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
We just switched the "[email protected]"-setting to YES, and now it seems to be working

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
o_~


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)