Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: SAFE MODE restriction still in effect after defining SILLY_SAFE_MODE  (Read 2836 times)

0 Members and 1 Guest are viewing this topic.

lucidart

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

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. :-\
« Last Edit: April 29, 2004, 07:45:30 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: SAFE MODE restriction still in effect after defining SILLY_SAFE_MODE
« Reply #1 on: April 23, 2004, 08:42:37 pm »

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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SAFE MODE restriction still in effect after defining SILLY_SAFE_MODE
« Reply #2 on: April 24, 2004, 12:39:04 pm »

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
« Last Edit: April 24, 2004, 12:50:06 pm by GauGau »
Logged

lucidart

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: SAFE MODE restriction still in effect after defining SILLY_SAFE_MODE
« Reply #3 on: April 28, 2004, 05:42:09 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 18 queries.