Photos dir doesn't exist

View previous topic View next topic Go down

Photos dir doesn't exist

Post  ki6syd on Thu Mar 21, 2013 8:49 am

Hi,

I'm fairly new to unix-based systems, but am excited about using PhotoShow! I am having some trouble getting set up on my server, though.

I have the PhotoShow cloned files in the root of my www folder ('/var/www/PhotoShow') and have edited config.php to point to folders in my home directory. However, I get this message when I go to mydomain.com/PhotoShow:

PHOTOS dir '/home/max/Pictures/PhotoShow_Photos' doesn't exist and couldn't be created !

I think my problem has to do with setting permissions of my PhotoShow_Photos and PhotoShow_Generated folders - this is the output of "ls -la" for those folders:

drwxrwxr-x 2 max www-data 4096 Mar 20 14:04 PhotoShow_Generated
drwxrwxr-x 3 max www-data 4096 Mar 20 14:26 PhotoShow_Photos

I have verified that the absolute path to these folders is correct. As I understand permissions, Apache should be able to access these folders because I have "rwx" set for the www-data group.

Any help would be much appreciated!

Best,

Max

ki6syd

Posts : 2
Join date : 2013-03-21

View user profile

Back to top Go down

Re: Photos dir doesn't exist

Post  ki6syd on Thu Mar 21, 2013 1:35 pm

Found my problem - I needed to add execute permission to a few directories above.

It all seemed to work, but when I start a new browser session, I can't log in any more - I get a "webpage not available" message when I try to load "/PhotoShow/?t=Log"

I'm using Chrome, if that helps. Please let me know if you have any ideas what might be going on! It looked very nice until I couldn't use it any more...

ki6syd

Posts : 2
Join date : 2013-03-21

View user profile

Back to top Go down

Re: Photos dir doesn't exist

Post  gilgongo on Mon Jun 03, 2013 4:20 am

Hi - it might be worth looking at the web server logs when you go to your PhotoShow URL. They should show what the web server is trying to serve.


gilgongo

Posts : 2
Join date : 2013-06-03

View user profile

Back to top Go down

Re: Photos dir doesn't exist

Post  hom on Sun Jul 21, 2013 9:02 pm

Hi,

I've the same problem :
PHOTOS dir '/media/phototheque/Photos/' doesn't exist and couldn't be created !

And ls -al /media/phototheque/ give this :
drwxrwx--- 4 www-data www-data 4,0K févr. 12 11:09 .
drwxrwxr-x 6 pi       pi       4,0K juil. 21 10:55 ..
drwxrwx--- 2 www-data www-data 4,0K juil. 21 11:27 .Generated
drwxrwx--- 5 www-data www-data 4,0K juil. 21 10:55 Photos

I don't understand why PhotoShow cannot access to directories indicated... And I refuse to give him rights to above directories.

It's a bug or I don't understand something ? There is a solution ?

Thx.

hom

Posts : 1
Join date : 2013-07-21

View user profile

Back to top Go down

Re: Photos dir doesn't exist

Post  Sponsored content Today at 6:51 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum