SMF Support > SMF 2.0.x Support

Installed mods not working?

<< < (4/6) > >>

K@:
Wot Yoshi sed. ;)

Ashelia:
Yes.. but since it hasn't made any difference so far, I must have missed a crucial file or folder somewhere.

Also, I installed another mod and then had a look at the error log, got about 40 errors like these:

- 512: package_flush_cache(): some files are still not writable

- failed to open stream: No such file or directory

- failed to open stream: Permission denied

Can also mention that I made a temp folder inside Packages with CHMOD 777 (a friend adviced me to), but it seems to disappear on a regular basis..



K@:
That temp directory can be fixed, with this:

http://custom.simplemachines.org/mods/index.php?mod=724

The permissions can be set in Package Manager>File permissions. If you set that to "Standard", that should see you right.

The "Failed to open stream" thing... Can you say what the exact error-message(s) is/are?

MrPhil:

--- Quote from: Ashelia on April 22, 2012, 01:23:41 AM ---Can also mention that I made a temp folder inside Packages with CHMOD 777 (a friend adviced me to), but it seems to disappear on a regular basis..

--- End quote ---

777 is bad. It permits any other user sharing your server to write stuff in there. Therefore, many hosts will either deny access to it (usually a 500 Internal Server error) or even remove it. That could be what's happening to you. Always start with 755 and add write permissions (775, 777) only if SMF complains that it can't write to the directory. If you have to use 777 (because PHP is running as "other" user), set it back to 755 when you're done installing a mod or otherwise using SMF to upload files. Remember to temporarily change it to 777 the next time you install a mod.

Ashelia:
^noted!

I also installed the temp fix, and used the package manager to set file permissions.

Still no change, but I'll try install another mod and then give you more specific error logs.

EDIT:

Hmm yes.. the temp fix mod isn't working either. It's marked as installed, but the temp folder still disappears on a regular basis.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version