Webmastersite.net
Register Log In

Problem with Upgrade

Comments on Problem with Upgrade

OidaHabara
Member

Usergroup: Customer
Joined: Jan 14, 2003
Location: Austria

Total Topics: 5
Total Comments: 15
Posted Dec 28, 2007 - 12:42 AM:

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:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 28, 2007 - 3:12 PM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 30, 2007 - 1:33 AM:

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).
OidaHabara
Member

Usergroup: Customer
Joined: Jan 14, 2003
Location: Austria

Total Topics: 5
Total Comments: 15
Posted Dec 30, 2007 - 5:19 AM:

and what?

could you please try to write it in a way that i could understand. i´m not englishspeaking and not a programmer
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Dec 30, 2007 - 1:39 PM:

that was/is my problem also.. www.webmastersite.net/forum...orums/comments.php?id=7799
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 31, 2007 - 1:59 AM:

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.
OidaHabara
Member

Usergroup: Customer
Joined: Jan 14, 2003
Location: Austria

Total Topics: 5
Total Comments: 15
Posted Dec 31, 2007 - 2:12 AM:

I already asked for and possibly he will turn it off soon, than I´ll try it again
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.