The problem is safe mode: "SAFE MODE Restriction in effect. The script whose uid is 639 is not allowed to access /home/www/web2/html/wsnlinks/temp/wsnlinks owned by uid 33 in /home/www/web2/html/wsnlinks/classes/tar.php on line 1522"
It seems that the combination of PHP being run as apache without suexec and safe mode being on makes it impossible for PHP to create the directories needed. I had it recreate /temp/ as PHP's user but that didn't help. Somehow it insists the owner is not the same as PHP's. Read through many manual pages for possible workarounds, but none work and the consensus seems to be that failure is the norm when making directories in safe mode.
This sort of thing is the reason why safe mode is being removed from PHP (as of version 6 if I recall).
Comments on Problem with Upgrade
Member
Usergroup: Customer
Joined: Jan 14, 2003
Location: Austria
Total Topics: 5
Total Comments: 15
I´ve tried to upgrade to latest version and got error message like shown in screen shot. temp-directory is set to chmod 777
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Looks like a permissions issue. Are you sure your server needs 777 and not 755? Is there anything in the /temp/ directory?
Could also be a file path issue if the path to attachments at Admin -> Settings -> System is wrong, but that'd cause bigger problems elsewhere.
If it's not those it'll require inspection: scripts.webmastersite.net/w...dex.php?section=inspection
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The problem is safe mode: "SAFE MODE Restriction in effect. The script whose uid is 639 is not allowed to access /home/www/web2/html/wsnlinks/temp/wsnlinks owned by uid 33 in /home/www/web2/html/wsnlinks/classes/tar.php on line 1522"
It seems that the combination of PHP being run as apache without suexec and safe mode being on makes it impossible for PHP to create the directories needed. I had it recreate /temp/ as PHP's user but that didn't help. Somehow it insists the owner is not the same as PHP's. Read through many manual pages for possible workarounds, but none work and the consensus seems to be that failure is the norm when making directories in safe mode.
This sort of thing is the reason why safe mode is being removed from PHP (as of version 6 if I recall).
Member
Usergroup: Customer
Joined: Jan 14, 2003
Location: Austria
Total Topics: 5
Total Comments: 15
and what?
could you please try to write it in a way that i could understand. i´m not englishspeaking and not a programmer
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
that was/is my problem also.. www.webmastersite.net/forum...orums/comments.php?id=7799
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You need a hosting account that does not run PHP in safe mode. If you contact your host, they may be willing to turn it off for your account.
Member
Usergroup: Customer
Joined: Jan 14, 2003
Location: Austria
Total Topics: 5
Total Comments: 15
I already asked for and possibly he will turn it off soon, than I´ll try it again