[Solved]: SAFE MODE restriction still in effect after defining SILLY_SAFE_MODE [Solved]: SAFE MODE restriction still in effect after defining SILLY_SAFE_MODE
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: SAFE MODE restriction still in effect after defining SILLY_SAFE_MODE

Started by lucidart, April 23, 2004, 06:28:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lucidart

Let me start by saying I love Coppermine and this support forum has been a very useful source of information for me over the last several months!

My host "upgraded" their servers last night and this morning the following issue has appeared in my batch add screen:

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10186 is not allowed to access albums/userpics/dummy/ owned by uid 48 in /home/httpd/vhosts/dawnmeson.com/httpdocs/searchnew.php on line 203


Warning: opendir(albums/userpics/dummy/): failed to open dir: Success in /home/httpd/vhosts/dawnmeson.com/httpdocs/searchnew.php on line 203


Warning: readdir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/dawnmeson.com/httpdocs/searchnew.php on line 204


Warning: closedir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/dawnmeson.com/httpdocs/searchnew.php on line 225



I have checked the read/write permissions on the include, album, userpics, and dummy directories and all are set to 777. SILLY_SAFE_MODE is on in my phpinclude file.  Does anyone have another suggestion as to what I should try for troubleshooting? The problem appears to affect the way images are resized using gd.

Thanks much for any assistance. :-\

Casper

Your best bet is to email your hosts.  They always say upgrades are painless, but they can get bits wrong, or take days to add in the bits they had on the old server.
Hopefully, an email should get it sorted.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

seems to me like they rather "downgraded" your webspace by upgrading to a newer version of php together with enabling safe mode. Did you have safe mode before? I guess not... If your webhost doesn't react, I suggest you take a look at the silly_safe_mode settings - refer to the documentation: http://coppermine.sourceforge.net/manual.php#safe

GauGau

lucidart

Thanks for the responses, Casper & GauGau...

After several days of back and forth with my hosting service, it turns out that 2 issues were apparently causing the problem(s). First, during the host's php installation the directories in question were assigned to the main server admin user, causing safe mode conflicts. They changed those username assignations which fixed the script errors I referenced earlier.
The image resize/GD issue I mentioned turned out to be occurring because GD2x apparently didn't get installed(!) during the initial upgrade. That, too, has now been fixed and all is running smoothly again...  :D

 http://www.dawnmeson.com