XenForo developer

I'm a bit confused as your first message talks about installing (and that's the code that's being run) but your second message mentions upgrading.

During the install, it writes some other files before writing that file, so I don't see why it would fall over. 0775 shouldn't be a problem as long as they're using something like suPHP/suexec. I suspect they are though. Did you need to do any chmodding? (As in, did the installer prompt you to the first time you went to it? Or did you just do the chmodding based on the manual?)

XenForo developer

I didn't do anything. I just told you to run the upgrade to see if it'd work. If it didn't, then I was going to need FTP access to restart the install (since the install-lock file would've already been present).

Active member

But it was not working so i checked the code and found that after creating the file a upgrade log is created so i made one by using the version_id from files.

that did not worked either.

The main thing that i don`t understand (as you don`t too) why was it not allowing to create a file with fopen.

I checked php manual and found that if safe mode is enabled (it is off ) or if open_baseurl() is set( it is not set too) or if the allow_url_fopen is off(thats on too) and the directory was also writable (it created the other 2 folders)

everything was in its place then why did it threw a error. Is it possible that it can be a unknown issue with using fopen? is file_put_contents better option for it?

I will do some test on this server to see if there is something i can find.