album_comments and album_files Files appearing in my gallery

Hi there

I just installed phpalbum, and for some strange reason, every time after I scan for new galleries, a whole bunch of php files are added to my data folder.

These files appear in my gallery with the "download file" image.

Is there a way to stop this?...because it is a hassle to have to go thru my gallery and uncheck the "visible" box so that they are not shown.

Please help

thanks!

patrik's picture

This happens due to

This happens due to incorrect installation setup. Your Photos-Directory points to the same directory as your Data-Directory.

New data files are created every time you add some new galleries. Data and Photos directory should be separated.

Hi Patrik Thanks for the

Hi Patrik

Thanks for the quick reply. I'm still a little confused. In the setup page, I see the blanks for the cache directory and the album directory.

For the Cache I've named it cache_asfsdkjfhs
For the Album I've named it data_asfsdkjfhs

Should I have a new directory for the Album directory - ie album_asfsdkjfhs

Thanks so much!

patrik's picture

Yes, actually you need 3

Yes, actually you need 3 directories:

data - where data will be be stored, this must be writable for www and set up in config.php

cache - where chached thumbnails will be stored, this must be writable for www too, and is setup in Setup->Main Setup

photos - where you will be or alerady have your photos. this must be just readable for phpAlbum. And is set up in Setup->Main Setup

Patrik

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.