News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

can't install any mod

Started by nitsua, April 25, 2007, 08:32:06 PM

Previous topic - Next topic

nitsua

whenever i try to install any mod it gives me this error: You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
any help?

Oldiesmann

SMF uses a "temp" directory within the packages directory to store things when it's installing a package. Whenever you go to install a new package, SMF will delete the directory if it's not empty, attempt to re-create the directory and attempt to chmod it to 777 (because PHP doesn't have a way to delete all files in a directory). When SMF is unable to recreate the directory, or the chmod operation fails, you'll get that error.

To fix it, browse to your Packages directory via FTP, create a new directory called "temp" and chmod it to 777 (rwxrwxrwx).

nitsua


AndyII

didn't work for me, I did the temp folder and changed permissions to 777, the install said success but TP was Not really installed

Advertisement: