PDA

View Full Version : Confused: EE Root and Gallery Root?


thuree
19th of June 2004 (Sat), 12:01
Hej

I am a bit confused.

I have configured my EE according to the below

EE is located at
.../public_folder/EE

and my photos at
.../public_folder/photos

Is this possible?

But Pekka wrote
Please check that you have folder gallery/ftp_temp and that ftp_temp folder is given full permissions (chmod 777).

These folders will have to be 777 (GALLERY/ means here EE root):

GALLERY/temp

So do the photos have to reside under the EE root?

Permission 777 is a bit drastic , or?
Also, I found that I had to have 777 on EVERY file in the UPLOAD directory, otherwise I get an error message.

/Bengt

Pekka
19th of June 2004 (Sat), 16:14
EE root and gallery root are the same thing. It means folder which contains EE's index.php file.

Photos can be anywhere in server, as long as they can be accessed by http and ftp.

Permission 777 is for PHP and only for directories which hold temporary data. PHP needs it so that it can list directories.

Also, I found that I had to have 777 on EVERY file in the UPLOAD directory, otherwise I get an error message.

What does the error message say and which program/script is saying it? What is usually needed that UPLOAD folder itself is 777 and files in them can be 755 or even 644.

thuree
19th of June 2004 (Sat), 20:39
Hej Pekka,

I managed to get this fault again.

bengt@webbie:~/public_html/EE/input/UPLOAD$ ls -la
total 1188
drwxrwxrwx 4 bengt bengt 16384 Jun 20 11:41 .
drwxr-xr-x 10 bengt bengt 4096 Jun 20 10:53 ..
-rw-r----- 1 bengt bengt 56746 Jun 20 11:41 picture.jpg


The permission was 640 instead of 644.
When I changed to 644 it worked fine again.

-bengt

Pekka
20th of June 2004 (Sun), 04:10
Both PHP and FTP have their default permission settings. Those seem to be "too tight" in your server. Perhaps you could mail your support and ask about that.

thuree
20th of June 2004 (Sun), 06:27
Mail my support :)

Hmm... that would be myself :)

/Bengt