News:

Join the Facebook Fan Page.

Main Menu

Error Log

Started by tacticalguy, September 27, 2012, 11:41:29 AM

Previous topic - Next topic

tacticalguy

This is what shows up sometimes when I reload my page:


Performance Warning

The cache directory is not writable - this will adversely affect the performance of your forum.

In my error log, it shows:
September 25, 2012, 10:21:33 pm
2350ac44e4feb746b5ce2f66c34ca66b
Type of error: Critical
http://sentinelsofflorida.com/index.php?action=profile;area=forumprofile;u=1;save
The attachments upload directory is not writable. Your attachment or avatar cannot be saved.

What does this mean and how can I fix it?

Matthew K.

How do I chmod? / what is chmod?

Make sure your forums attachments directory is at least 755 and possibly even 777.

Shambles

Also, the search feature on sm.org has soooo many solutions to this issue. Why are folk so averse to trying it  ::)

tacticalguy

Quote from: Labradoodle-360 on September 27, 2012, 11:44:52 AM
How do I chmod? / what is chmod?

Make sure your forums attachments directory is at least 755 and possibly even 777.
Current Attachment Directory size is 7.13kb
Is that what you meant? Should it be larger?

Matthew K.

No...you need to change the directory file permissions.

tacticalguy

Quote from: Labradoodle-360 on September 27, 2012, 12:37:41 PM
No...you need to change the directory file permissions.
Sorry to ask what may seem like stupid questions here. I'm tech stupid. Where do I find that? Under what menu?

Matthew K.

Did you bother to click the link I posted? Apparently not...

tacticalguy

Quote from: Labradoodle-360 on September 27, 2012, 03:56:56 PM
Did you bother to click the link I posted? Apparently not...
Sorry, I didn't recognize it for what it was.

Just looked through the mods you authored. VERY impressive. Which one changes the directory permissions?

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Matthew K.

Haha why thank you! But Kindred is right. That was the link I was referring to...

tacticalguy

Okay, I read over that. I'm not sure that it's applicable to my situation since I'm not using a server with a Unix system, I'm doing this from my home PC. If anyone would like to further elucidate, I'm positively all ears.

Matthew K.

Every OS has file permissions...trust me.

tacticalguy

Okay, I finally figured out what you were talking about. I did get into my file permissions. The forum attachment directory shows chmod: 777. I assume that's correct?

Kays

If you're still showing the original error. Then that's not correct.

First try 755 and see if that clears the error. If not try 775.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

tacticalguy

Quote from: Kays on September 30, 2012, 04:25:02 PM
If you're still showing the original error. Then that's not correct.

First try 755 and see if that clears the error. If not try 775.

Interestingly enough, I haven't seen that error show up now, in at least 24 hours. Keeping fingers crossed! :)

Kays

Cool. :)

Keep an eye on it for a while and if thing are still fine then please mark this as being solved.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

tacticalguy

And there it is again. The same thing.

Performance Warning

The cache directory is not writable - this will adversely affect the performance of your forum.

What am I missing here?

Kindred

hmmm... what is your cache level setting?

Also, confirm that the cache directory and the avatar and Attachment UPLOAD directories are also writable (note that in 2.0.x there can be multiple attachments directories)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

Quote from: Kindred on October 01, 2012, 03:13:40 PM
hmmm... what is your cache level setting?

Also, confirm that the cache directory and the avatar and Attachment UPLOAD directories are also writable (note that in 2.0.x there can be multiple attachments directories)
Okay, I just set them to write. Let's see if I continue to get the same error. The cache level is 1.

tacticalguy

Yup, same error. How do I adjust the chmod value?

Kindred

you can usually adjust chmod from the host's file manager or from ftp
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

Quote from: Kindred on October 02, 2012, 01:52:32 PM
you can usually adjust chmod from the host's file manager or from ftp
Okay, once I access the cache from the FTP, how do I change the chmod value? I checked the box and went into file permissions. It showed "(Inherit permissions from parent directory".  Do I want to change that to "reset all children to inherit"?

tacticalguy

Quote from: tacticalguy on October 02, 2012, 11:17:50 PM
Quote from: Kindred on October 02, 2012, 01:52:32 PM
you can usually adjust chmod from the host's file manager or from ftp
Okay, once I access the cache from the FTP, how do I change the chmod value? I checked the box and went into file permissions. It showed "(Inherit permissions from parent directory".  Do I want to change that to "reset all children to inherit"?
Any thoughts on this?

Storman™

Quote"reset all children to inherit"?

Not necessarily, depends on what the parent is set at.

You should be able to enter a numerical value.

Which FTP client are you using or are you using the file manager in cPanel or a similar control panel ?

tacticalguy

#24
Quote from: Storman™ on October 04, 2012, 02:36:44 AM
Quote"reset all children to inherit"?

Not necessarily, depends on what the parent is set at.

You should be able to enter a numerical value.

Which FTP client are you using or are you using the file manager in cPanel or a similar control panel ?

I'm using the FTP manager and control panel through GoDaddy.

PS: Okay, I called GoDaddy. They walked me through un-checking the "inherit" box and and getting things right. If the site loads correctly for the next 2 days, I'll mark this solved. Thanks for all your help, folks!

tacticalguy

I knew it was too easy. I'm still getting the same error message. Any other ideas? LOL.

tacticalguy

Okay, my issue is still unresolved. When I went to download a mod through the package manager, it said that it needed to be able to write to the directory and couldn't. It required that I enter my FTP username and password before it would download then, it downloaded it fine. I'm still trying to figure out how to fix this. Anything that I haven't tried, yet?

Kindred

what is the chmod permissions for the forum directories and files?
(hint, directories should be 755 minimum and files should be either 664 or 644, depending on configuration.)
Also, packages and packagaes/temp must be present and 755 or 777
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

This is what my current settings are.

  D:/Hosting/********/html  Writable  (chmod: 0777)       
      agreement.txt  Writable  (chmod: 0666)       

      Settings.php  Writable  (chmod: 0666)       

      Settings_bak.php  Writable  (chmod: 0666)       

       attachments  Writable  (chmod: 0777)       

       avatars  Writable  (chmod: 0777)       

       cache  Writable  (chmod: 0777)       

       Smileys  Writable  (chmod: 0777)       

            aaron  Writable  (chmod: 0777)       

            akyhne  Writable  (chmod: 0777)       

            default  Writable  (chmod: 0777)       

            halloween  Writable  (chmod: 0777)       

            christmassmileys  Writable  (chmod: 0777)       


       Sources  Writable  (chmod: 0777)       

           Admin.php  Writable  (chmod: 0666)       

           AdminToolbox.php  Writable  (chmod: 0666)       

           AdminToolboxHooks.php  Writable  (chmod: 0666)       

           BoardIndex.php  Writable  (chmod: 0666)       

           BotScout.php  Writable  (chmod: 0666)       

           Calendar.php  Writable  (chmod: 0666)       

           Class-Graphics.php  Writable  (chmod: 0666)       

           Class-Package.php  Writable  (chmod: 0666)       

           DbExtra-mysql.php  Writable  (chmod: 0666)       

           DbExtra-postgresql.php  Writable  (chmod: 0666)       

           DbExtra-sqlite.php  Writable  (chmod: 0666)       

           DbPackages-mysql.php  Writable  (chmod: 0666)       

           DbPackages-postgresql.php  Writable  (chmod: 0666)       

           DbPackages-sqlite.php  Writable  (chmod: 0666)       

           DbSearch-mysql.php  Writable  (chmod: 0666)       

           DbSearch-postgresql.php  Writable  (chmod: 0666)       

           DbSearch-sqlite.php  Writable  (chmod: 0666)       

           Display.php  Writable  (chmod: 0666)       

           DumpDatabase.php  Writable  (chmod: 0666)       

           Errors.php  Writable  (chmod: 0666)       

           FeedPoster2.php  Writable  (chmod: 0666)       

           Groups.php  Writable  (chmod: 0666)       

           Help.php  Writable  (chmod: 0666)       

           Karma.php  Writable  (chmod: 0666)       

           Load.php  Writable  (chmod: 0666)       

           LockTopic.php  Writable  (chmod: 0666)       

           LogInOut.php  Writable  (chmod: 0666)       

           ManageAttachments.php  Writable  (chmod: 0666)       

           ManageBans.php  Writable  (chmod: 0666)       

           ManageBoards.php  Writable  (chmod: 0666)       

           ManageCalendar.php  Writable  (chmod: 0666)       

           ManageErrors.php  Writable  (chmod: 0666)       

           ManageMail.php  Writable  (chmod: 0666)       

           ManageMaintenance.php  Writable  (chmod: 0666)       

           ManageMembergroups.php  Writable  (chmod: 0666)       

           ManageMembers.php  Writable  (chmod: 0666)       

           ManageNews.php  Writable  (chmod: 0666)       

           ManagePaid.php  Writable  (chmod: 0666)       

           ManagePermissions.php  Writable  (chmod: 0666)       

           ManagePosts.php  Writable  (chmod: 0666)       

           ManageRegistration.php  Writable  (chmod: 0666)       

           ManageScheduledTasks.php  Writable  (chmod: 0666)       

           ManageSearch.php  Writable  (chmod: 0666)       

           ManageSearchEngines.php  Writable  (chmod: 0666)       

           ManageServer.php  Writable  (chmod: 0666)       

           ManageSettings.php  Writable  (chmod: 0666)       

           ManageSmileys.php  Writable  (chmod: 0666)       

           Memberlist.php  Writable  (chmod: 0666)       

           MessageIndex.php  Writable  (chmod: 0666)       

           ModerationCenter.php  Writable  (chmod: 0666)       

           Modlog.php  Writable  (chmod: 0666)       

           MoveTopic.php  Writable  (chmod: 0666)       

           News.php  Writable  (chmod: 0666)       

           Notify.php  Writable  (chmod: 0666)       

           PackageGet.php  Writable  (chmod: 0666)       

           Packages.php  Writable  (chmod: 0666)       

           PersonalMessage.php  Writable  (chmod: 0666)       

           Poll.php  Writable  (chmod: 0666)       

           Post.php  Writable  (chmod: 0666)       

           PostModeration.php  Writable  (chmod: 0666)       

           Printpage.php  Writable  (chmod: 0666)       

           Profile-Actions.php  Writable  (chmod: 0666)       

           Profile-Modify.php  Writable  (chmod: 0666)       

           Profile-View.php  Writable  (chmod: 0666)       

           Profile.php  Writable  (chmod: 0666)       

           QueryString.php  Writable  (chmod: 0666)       

           Reasonfordelete.php  Writable  (chmod: 0666)       

           Recent.php  Writable  (chmod: 0666)       

           Register.php  Writable  (chmod: 0666)       

           Reminder.php  Writable  (chmod: 0666)       

           RemoveTopic.php  Writable  (chmod: 0666)       

           RepairBoards.php  Writable  (chmod: 0666)       

           Reports.php  Writable  (chmod: 0666)       

           ScheduledTasks.php  Writable  (chmod: 0666)       

           Search.php  Writable  (chmod: 0666)       

           SearchAPI-Custom.php  Writable  (chmod: 0666)       

           SearchAPI-Fulltext.php  Writable  (chmod: 0666)       

           SearchAPI-Standard.php  Writable  (chmod: 0666)       

           Security.php  Writable  (chmod: 0666)       

           SendTopic.php  Writable  (chmod: 0666)       

           SplitTopics.php  Writable  (chmod: 0666)       

           Stats.php  Writable  (chmod: 0666)       

           Subs-Admin.php  Writable  (chmod: 0666)       

           Subs-Auth.php  Writable  (chmod: 0666)       

           Subs-BoardIndex.php  Writable  (chmod: 0666)       

           Subs-Boards.php  Writable  (chmod: 0666)       

           Subs-Calendar.php  Writable  (chmod: 0666)       

           Subs-Categories.php  Writable  (chmod: 0666)       

           Subs-Charset.php  Writable  (chmod: 0666)       

           Subs-Compat.php  Writable  (chmod: 0666)       

           Subs-Db-mysql.php  Writable  (chmod: 0666)       

           Subs-Db-postgresql.php  Writable  (chmod: 0666)       

           Subs-Db-sqlite.php  Writable  (chmod: 0666)       

           Subs-Editor.php  Writable  (chmod: 0666)       

           Subs-Graphics.php  Writable  (chmod: 0666)       

           Subs-List.php  Writable  (chmod: 0666)       

           Subs-Membergroups.php  Writable  (chmod: 0666)       

           Subs-Members.php  Writable  (chmod: 0666)       

           Subs-MembersOnline.php  Writable  (chmod: 0666)       

           Subs-Menu.php  Writable  (chmod: 0666)       

           Subs-MessageIndex.php  Writable  (chmod: 0666)       

           Subs-OpenID.php  Writable  (chmod: 0666)       

           Subs-Package.php  Writable  (chmod: 0666)       

           Subs-Post.php  Writable  (chmod: 0666)       

           Subs-RSS2.php  Writable  (chmod: 0666)       

           Subs-Recent.php  Writable  (chmod: 0666)       

           Subs-Sound.php  Writable  (chmod: 0666)       

           Subs.php  Writable  (chmod: 0666)       

           Subscriptions-PayPal.php  Writable  (chmod: 0666)       

           Themes.php  Writable  (chmod: 0666)       

           ViewQuery.php  Writable  (chmod: 0666)       

           Who.php  Writable  (chmod: 0666)       

           Xml.php  Writable  (chmod: 0666)       

           index.php  Writable  (chmod: 0666)       


       Themes  Writable  (chmod: 0777)       

            default  Writable  (chmod: 0777)       

            core  Writable  (chmod: 0777)       

            classic  Writable  (chmod: 0777)       

            babylon  Writable  (chmod: 0777)       


       Packages  Writable  (chmod: 0777)       




Kindred

You are missing the temp directory under packages.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

So, how do I find that?

Kindred

you have to create it.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy


Kindred

ummm.... just go into the packages directory and create a new directory called temp
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

Quote from: Kindred on October 18, 2012, 12:25:57 AM
ummm.... just go into the packages directory and create a new directory called temp
Okay, through the FTP file manager?

Arantor


MrPhil

If you continue to get errors that a directory/folder or file is not writable, please be aware that 777 and 666 permissions are forbidden on some servers as a security risk ("world writable" directories or files). You may get a 500 (Internal Server) error, or you might just get "can't write". You always start with 755 and 644 (except 444 for Settings.php, to make it Read-Only once you're up and running). If you get complaints from SMF that it can't write to a directory or file, increase permissions to 775 (directories) or 664 (files). If you still get "can't write" complaints, as a last resort use 777 and 666.

tacticalguy

Quote from: MrPhil on October 19, 2012, 09:19:09 AM
If you continue to get errors that a directory/folder or file is not writable, please be aware that 777 and 666 permissions are forbidden on some servers as a security risk ("world writable" directories or files). You may get a 500 (Internal Server) error, or you might just get "can't write". You always start with 755 and 644 (except 444 for Settings.php, to make it Read-Only once you're up and running). If you get complaints from SMF that it can't write to a directory or file, increase permissions to 775 (directories) or 664 (files). If you still get "can't write" complaints, as a last resort use 777 and 666.
They're all set to 777 and 666. When I try to change it through the FTP I get nowhere.

Kindred

which suggests that your host has security/permissions screwed up and/or does not allow ftp to set permissions.

So use your cpanel file manager
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

Quote from: Kindred on October 20, 2012, 12:18:49 AM
which suggests that your host has security/permissions screwed up and/or does not allow ftp to set permissions.

So use your cpanel file manager
I don't have a dedicated server. I'm just using my home PC. When I looked up cpanel for GoDaddy, that's what it told me that I needed, a dedicated server.

tacticalguy

Okay, so now, I'm starting to get a little upset. When I went to downlioad and install a mod, this what I got, today. Keep in mind that I've been able to download mods until this occurred. What fresh circle of Hell have I descended into now??

Kindred

Quote from: tacticalguy on October 22, 2012, 03:02:56 PM
Okay, so now, I'm starting to get a little upset. When I went to downlioad and install a mod, this what I got, today. Keep in mind that I've been able to download mods until this occurred. What fresh circle of Hell have I descended into now??

What is what you get?
You either missed an attachment or a paste.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

Quote from: Kindred on October 22, 2012, 03:04:11 PM
Quote from: tacticalguy on October 22, 2012, 03:02:56 PM
Okay, so now, I'm starting to get a little upset. When I went to downlioad and install a mod, this what I got, today. Keep in mind that I've been able to download mods until this occurred. What fresh circle of Hell have I descended into now??

What is what you get?
You either missed an attachment or a paste.
You're right. This what it shows:
QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Kindred

I believe we ave already addressed this.

Make sure that your packages and packages/temp directories are the correct writable chmod permissions. 755, 775, or 777 depending on your server config.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

Well, I spoke to someone from GoDaddy today about this again. He said that since I'm using a Windows based OS and not Linux that I'm unable to do more with my chmod settings other than to make them writeable and readable. I can't assign specific values, in other words. He also said that I may have created a conflict since I set up MySQL through this and PHP doesn't seem to work as well with Windows based OS as it does Linux. So.... I'm now in a spot.

Kindred

I'd say get a real host...:(
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MrPhil

Do you use other Windows-only software (.Net, Access, ASPX, etc.) that makes it easier to stay on Windows, or do you have the option to move to a Linux server? I would think that NoDaddy offers Linux servers, and hopefully you can get credit for the balance on your Windows account.

tacticalguy

Quote from: MrPhil on October 23, 2012, 09:59:32 PM
Do you use other Windows-only software (.Net, Access, ASPX, etc.) that makes it easier to stay on Windows, or do you have the option to move to a Linux server? I would think that NoDaddy offers Linux servers, and hopefully you can get credit for the balance on your Windows account.
No, I don't use any of that Windows only software. I don't seem to be able to find anything about GoDaddy using any Linux servers. Looks like if I was to run that, I'll have to pony up the money to buy one, myself.

Kindred

or go to an actually decent host....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tacticalguy

So, I'm dead in the water, huh? Great.

MrPhil

I just went to godaddy.com and looked at the page, and it says they offer both Linux and Windows servers.

Of course, lots of people run SMF on Windows servers every day (including at NoDaddy), so it's quite possible. You just haven't hit the right permissions incantations, or you set the wrong ones (made directories read-only to PHP), or you're missing a directory or two. I think if you search this forum you'll find discussion specific to your host, as well as to the error message you're getting.

SMF (through PHP) needs to be able to write to any of the directories. Ask your host if the default permissions won't allow it, and if so, how to change permissions to turn off Read-Only for PHP. Note that I don't use Windows servers and I don't host with NoDaddy, so I can't tell you any specifics of what to do.

tacticalguy

Quote from: MrPhil on October 25, 2012, 08:57:00 AM
I just went to godaddy.com and looked at the page, and it says they offer both Linux and Windows servers.

Of course, lots of people run SMF on Windows servers every day (including at NoDaddy), so it's quite possible. You just haven't hit the right permissions incantations, or you set the wrong ones (made directories read-only to PHP), or you're missing a directory or two. I think if you search this forum you'll find discussion specific to your host, as well as to the error message you're getting.

SMF (through PHP) needs to be able to write to any of the directories. Ask your host if the default permissions won't allow it, and if so, how to change permissions to turn off Read-Only for PHP. Note that I don't use Windows servers and I don't host with NoDaddy, so I can't tell you any specifics of what to do.

Thanks, you gave me some starting points.

Advertisement: