In Admin >> Advanced Settings >> File Attachments - 'Attachments directory exists and has correct permissions?' is red and set to 'no'.

Essentially it's a similar story with the avatars.

Since it seems you now have your path settings correct, and you only need to deal with permissions (although they're correctly set at 755 for your folder), it's possible that you inadvertently uploaded those particular files as ASCII versus Binary.

Maybe you can try reloading those files in Binary.

By the way, even though you have your Attachments folder correctly set at 755, your server may have automatically assigned any files in that folder to 644 or 666, so you'll want to check to make sure they are also set with permissions of 755.

The same may need to be checked in your /yabbfiles/avatars folder (and files), all of which should be given permissions of 755.

***************************************

Humorous irony: I seem to be fine fixing permission and dealing with uploading issues after I get a forum operating, but my problem has been getting past the 500 error while installing a new forum.

Go figure.

In any case, good luck. You seem to be so close to successfully installing your updated forum.

Edited:

Edited to correct some bad grammar. No, this time it wasn't a typo.

« Last Edit: Jun 20th, 2012 at 5:03pm by Bill Myers »

Morning, noon, or night, have a great one!

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.

By the way, that was smart of you to add some test posts so that you can get to the minimum of 5 posts in order to send a PM for help.

However, adding posts in the section of the forum that you posted doesn't count in the number of posts one makes.

I know - it was worth a try wasn't it! I realized it wasn't working!

IP Logged

Bill Myers

God MemberBeta Testers
Offline

Posts: 1,866
Location: Los Angeles

YaBB 2.4

Re: Attachments M.I.AReply #6 - Jun 20th, 2012 at 5:09pm

In a moment I'll show you how to know exactly what your path settings should be, although you now seems to have them correct.

In other words, what seems to be left are solving your issues of setting the correct permissions.

Be right back!

Morning, noon, or night, have a great one!

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.

The path above will not be as you have it (not exactly), but whatever it is, that is the path setting for your forum.

So if your HTML Dir looks like the following:

/var/www/virtual/YourDomainHere.com/htdocs/yabbfiles

Then your Attachments Dir should be as follows:

/var/www/virtual/YourDomainHere.com/htdocs/yabbfiles/Attachments

And your Avatar Dir should be as follows:

/var/www/virtual/YourDomainHere.com/htdocs/yabbfiles/avatars

Disclaimer: This is based on YaBB 2.4 and it's also based on how my forum is set versus your forum. Nonetheless, hopefully this can be of some help, and it will possibly point you in the right direction to solve your issues.

You are so close!

Edited:

Where is Dandello when you need her? She knows this stuff like the back of her hand.

« Last Edit: Jun 20th, 2012 at 5:34pm by Bill Myers »

Morning, noon, or night, have a great one!

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.

... adding posts in the section of the forum that you posted doesn't count in the number of posts one makes.

I know - it was worth a try wasn't it! I realized it wasn't working!

I forgot to mention that you can easily make some posts here to get to that 5-post minimum. JonB always forgets about this minimum when he offers help via private messages, which is ironic because he can change the minimum number of posts required since he's an administrator.

***************************************

On a related note of showcasing this support forum in the best light that it can shine, an administrator can also install anti-spam mods.

Shhhhh! Don't tell JonB that I mentioned this. He can get a little pissy about me advocating the installation of an anti-spam mod.

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.

Those are supposed to be FOLDER names on your server (notice the variable ends in 'dir': $htmldir = )

such as

/var/www/.../htdocs/yabbfiles

/var/www/.../htdocs/yabbfiles/avatars

/var/www/.../htdocs/yabbfiles/Attachments

much like the $boarddir line above that in Paths.pl,

but instead pointing to your DocumentRoot (which could be htdocs, public_html, wwwdocs or anything else the server geek decided to call it when provisioning. Its also often called the 'web root'. Its where you put your content on the server.) rather than cgi-bin (which is where executables -- like Yabb -- belong).

What you're actually doing is doubling up on your path, which is why the actual path settings aren't working. A few different variations on your end will get you to the right paths.

One thing is for certain; JonB happens to be an expert on this stuff, and he has many years of experience behind him, so without a doubt he'll get this corrected for you in due time as long as he's given the right information about your server's setup.

***************************************

Okay, now that you've provided your server's information, the following path settings should work (obviously, what's highlighted in yellow needs to be corrected):

Path Settings:

/var/sites/w/www.MYDOMAIN.co.uk/cgi-bin/yabb2/yabbfiles

and

/var/sites/w/www.MYDOMAIN.co.uk/cgi-bin/yabb2/Attachments

and

/var/sites/w/www.MYDOMAIN.co.uk/cgi-bin/yabb2/avatars

***************************************

Additionally, and this may be confusing, below those path settings should be your URL settings, which will look more familiar to you.

So the following is what you should have listed:

HTML URL: http://www.MYDOMAIN.co.uk/cgi-bin/yabb2/yabbfiles

and

Attachments URL: http://www.MYDOMAIN.co.uk/cgi-bin/yabb2/Attachments

and

Avatar URL: http://www.MYDOMAIN.co.uk/cgi-bin/yabb2/yabbfiles/avatars

***************************************

I hope this works. Please let us know how it turns out.

« Last Edit: Jun 20th, 2012 at 9:13pm by Bill Myers »

Morning, noon, or night, have a great one!

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.

By the way, even after you've correctly listed your path settings, and your url settings, neither your attachments nor your avatars will show up if you inadvertently uploaded all of those files into different directories.

One way or the other, you'll have evidence of this once your path settings and url settings have been correctly listed.

Morning, noon, or night, have a great one!

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.