Webmastersite.net
Register Log In

Upgrade

Comments on Upgrade

mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Nov 27, 2007 - 6:04 PM:

I'm not sure if this is a bug or a problem with one of my servers. After the release of 4.1.15, I have not been able to auto-upgrade on one of my servers. The other server works fine. After hitting the auto upgrade button I receive the following:

Unable to create directory '../temp/wsnlinks/admin/'Unable to create path for ../temp/wsnlinks/admin/
Warning: Invalid argument supplied for foreach() in /home/babypean/public_html/includes/filefunctions.php on line 51

Warning: Invalid argument supplied for foreach() in /home/babypean/public_html/includes/filefunctions.php on line 51

Warning: Invalid argument supplied for foreach() in /home/babypean/public_html/includes/filefunctions.php on line 51


Could this be due to the version of PHP that I am using? (4.4.7) I have verified the file permissions are correct and they are the same on both servers.
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted Nov 29, 2007 - 11:37 AM:

Do you have a /temp/ directory? If not, create it and chmod it to 777.
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Nov 29, 2007 - 3:00 PM:

It was already there and set to 777. I deleted the folder and added it again with the same results. I even tried a new install using an older version. Still cannot update. Running upgrade php after rewriting all files gives the same error also.
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Dec 03, 2007 - 4:00 PM:

Got a little more information.. when a folder is created under temp during upgrade, it is chmod to 666 and not 777. By changing it myself to 777, the upgrade continues to the point that another folder is created. That new folder will then have a chmod value of 666.
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted Dec 04, 2007 - 10:41 AM:

At Admin -> Settings -> System, do you have 777 selected as the directory chmod value?
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Dec 04, 2007 - 3:25 PM:

Yes sir. That was the first thing I checked.
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Dec 08, 2007 - 3:22 PM:

follow up: I have solved this problem by moving the site to a different server.
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted Dec 09, 2007 - 3:36 AM:

Well if you run into it again all I can suggest is scripts.webmastersite.net/w...dex.php?section=inspection
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.