Advertisement:

Problem upgrading to 1.0.8 (Safe mode)

Aloittaja effo, elokuu 29, 2006, 05:55:07 AP

« edellinen - seuraava »

effo

I am trying to upgrade from 1.0.7 to 1.0.8.

When I click the upgrade link from my admin page I get a safe mode error:
Lainaa2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 2741 is not allowed to access /mnt/home/_x/xxxxx/www.xxxxx.xx/smf/Packages/temp owned by uid 80
Fil: /mnt/home/_x/xxxxx/www.xxxxx.xx/smf/Sources/Subs-Package.php
Rad: 1476

I open up my FTP client (FileZilla) and check out Sources/temp which is 755. I modify this to 777 and restart the upgrade. Now things goes a bit better, I reach the page where packges are installed. I enter necessary ftp information (user/pwd) and click 'Continue'. Once again the same safe mode error occur.

When I check the directory in my FTP client, I notice that the temp directory no longer is 777, it is 755! When I took a closer look at this, I found out that the temp directory is removed before the page with the package installation information is shown. The directory is then re-created once I hit the 'Continue' button, but then with 755 instead of 777!

Is this only happening to me? And is there a workaround? BTW, my forum root directory is set to 777

/Fredrik

sawz

keep smiling, they'll always wonder what your up too.....

effo

Thanks for the fast response. Unfortunatelly the post didn't help me. But I kept reading the thread you pointed me to and found this post about chmoding the individual files to 777. It worked better but I had forgotten to chmod the backup files so I ran into this problem. However, ./index.php and ./changelog.txt were updated while the files in ./Sources were untouched. I didn't have the gutz to re-run the installation as some files had been modified so I downloaded the full package and uploaded the individual files using ftp instead and it all works well.

Advertisement: