Recent Topics

1 Mar 04, 2013 17:26    

Hi, I just installed 4.1.6-stable on a local LAMP server that isn't connected to the net. It's mainly for development purposes for now. After figuring out a number of issues along the way, I'm stuck on this particular one.

Here's a direct link to a screencap of the issue.

http://i.imgur.com/3O0y4SJ.png

As you can see, a couple of images in the default installation are not displaying properly. They show the following error:

_evocache folder read/write error! Check filesystem permissions.

while others (the 'Powered by b2evolution' logo farther down the sidebar and off-screen, for example) are displaying without issue. I've got the following perms on the /media folder structure:

777 /media/
777 /media/blogs/
775 /media/blogs/a
775 /media/blogs/b
775 /media/blogs/links/
775 /media/blogs/photos
777 /media/users/
775 /media/users/admin/

Possibly related to this issue, I received the following error/warning during installation:

"The /cache folder could not be created/written to. b2evolution will still work but without caching, which will make it operate slower than optimal."

I've noticed that the same images don't display in the admin panel, which is at least consistent. I'm thinking this is just a straight permissions issue but I'm not sure at which folder(s) I should be looking. Can anyone offer some guidance?

jj.

2 Mar 05, 2013 18:52

It is a straight permissions issue. You should check the owner and the group of your /media/* and /cache/* directories. One of them (preferably the group) should match the user PHP (and therefore b2evolution) is running on.

Otherwise it's no use to set permissions because you don"t set them for the unix user that needs them ;)

3 Mar 06, 2013 03:51

Thanks for the clarification, it helped get me in the right direction.

I've got apache running with virtual hosts under /home/myuser/public_html/ folder. Apache and php are running as the default www-data, and 'myuser' has been added to the www-data group.

I installed mod_suPHP and switched all the folders back to myuser:myuser. It seems to be working properly so far (the images load, I can switch skins, etc). I haven't tested it extensively yet to see if everything works, but is there any reason why this approach shouldn't be used?

jj.

6 Mar 07, 2013 06:01

Thank you, I'll check it out in the morning. The less modules / processing cycles the better of course. I'll undo the mods I made and test it out based on the page you linked.

jj.

7 Mar 09, 2013 03:19

Well I followed the guidelines on the page you linked and so far everything is running smoothly. I should have some time this weekend to do some skin development for starters, and that should help find any issues that may remain. Thanks again!

jj.


Form is loading...