1
ali44
Safe mode error, even safe mode is off??
  • 2004/11/4 21:55

  • ali44

  • Just popping in

  • Posts: 86

  • Since: 2004/5/24


Hi guys,
For 4images modules I received this error
Quote:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 692 is not allowed to access /home2/uocmoxanh/public_html/album/data/media/2 owned by uid 99 in /home2/uocmoxanh/public_html/album/includes/upload.php on line 114

For xcgal module
Quote:
Impossible to move jpg to albums/userpics/10001/!

After extensive search, I foudn it to be SAFE MODE error, but when I look into php.ini file
Quote:

allow_call_time_pass_reference = On

; 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

So safe mode is off, but while it says safe mode error? I was able to upload pictures after chgrp and chown the folders to according owner, but when users create another folder, it going back to orginal setting (which apache is the owner and group of that folder)
Please help. Many thanks

2
ali44
Re: Safe mode error, even safe mode is off??
  • 2004/11/4 21:57

  • ali44

  • Just popping in

  • Posts: 86

  • Since: 2004/5/24


Plus this weird "long duration hour" of mysqld when I do the top command
Quote:
19310 apache 16 0 18148 17M 7384 S 11.1 0.8 0:04 2 httpd
19410 apache 15 0 16192 15M 7352 S 8.9 0.7 0:03 3 httpd
11242 MySQL 20 0 17584 15M 2000 S 8.5 0.7 2398m 1 mysqld
20234 apache 15 0 17036 16M 7364 S 7.0 0.8 0:00 2 httpd
20008 apache 16 0 16104 15M 7356 S 6.6 0.7 0:01 1 httpd
19536 apache 15 0 16684 16M 7392 S 2.5 0.8 0:03 3 httpd
20291 apache 15 0 15560 15M 7332 S 0.3 0.7 0:00 1 httpd

You will see mysqld is running on for 2398m tho everything is running fine.

3
ali44
Re: Safe mode error, even safe mode is off??
  • 2004/11/6 2:11

  • ali44

  • Just popping in

  • Posts: 86

  • Since: 2004/5/24


Anyone please?

4
hydrO
Re:Safe mode error, even safe mode is off??
  • 2004/11/6 11:59

  • hydrO

  • Not too shy to talk

  • Posts: 105

  • Since: 2004/1/8 8


I havent' come across this problem before, but i suggest you play around with the settings and see if it helps.
so u did chmd 777 to alumbs? Also make sure that you give access to others of the albums you create.

5
ackbarr
Re:Safe mode error, even safe mode is off??

well, php sure thinks that safe_mode is enabled. How about creating a new page in your root web directory with the following inside it:

<?php
phpinfo
();
?>


Save it with any file name, then access this file through a browser. Double check that the php.ini file you are looking at is the one used by PHP. While you are there, look for safe_mode and see what its setting is.

Login

Who's Online

193 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits