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.
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.
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.
Comments on Upgrade
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Do you have a /temp/ directory? If not, create it and chmod it to 777.
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
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.
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
At Admin -> Settings -> System, do you have 777 selected as the directory chmod value?
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
Yes sir. That was the first thing I checked.
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
follow up: I have solved this problem by moving the site to a different server.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Well if you run into it again all I can suggest is scripts.webmastersite.net/w...dex.php?section=inspection