PDA

View Full Version : RC4 - FTP Path Problem (or maybe I'm an idiot!)


BrandonSi
21st of September 2004 (Tue), 15:35
Ok, first of all, this thing rocks.. I installed 1.22 and was about to uninstall it and keep looking until I ran across RC4, wow, what a difference a few rev's makes.. keep up the awesome work!

As far as my problem.. Under FTP Server Setup, I've entered in my paths.

FTP server path is

/home/branstud/public_html

I hit "test now" and I get all green "OK's" with the exception of some error messages at the end of the process, like below


EXTRA: FILESIZE RETRIEVAL BATCH TEST
Warning: unlink(temp/foo.txt): Permission denied in /home/branstud/public_html/abc123/EDITOR_ftp_servers.php on line 717

Warning: fopen(./temp/100000.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/100000.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: fopen(./temp/50000.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/50000.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: fopen(./temp/25000.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/25000.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: fopen(./temp/10000.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/10000.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: fopen(./temp/5000.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/5000.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: fopen(./temp/1000.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/1000.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: fopen(./temp/500.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/500.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: fopen(./temp/100.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/FTP_sizetest_php.php on line 14


Temp file is ./temp/100.jpg (size bytes)
Uploading to server 'studioashford.com', path '/home/branstud/public_html': FAILED
Downloading (1): FAILED
Downloading (2): FAILED
Downloading (3): FAILED
Downloading (4): FAILED
Downloading (5): FAILED
REMOTE DELETE FAILED
Warning: unlink(temp/foo.txt): Permission denied in /home/branstud/public_html/abc123/EDITOR_ftp_servers.php on line 749


the abc123 directory is my input directory, I left it changed from the 1.22 install instructions.

Now, I did not install RC4 into a gallery directory, I installed it into the root. However, I am pointing everything to the HTTP dir /gallery/test which is the FTP equiv path of /home/brandstud/public_html/gallery/test. I've checked all the permissions, everything that should be is 777 including the root /temp directory.

Even more info, here is my path setup..
big - http://www.studioashford.com/gallery/test/big/ - /home/branstud/public_html/gallery/test/big

normal - http://www.studioashford.com/gallery/test/normal/ - /home/branstud/public_html/gallery/test/normal

small - http://www.studioashford.com/gallery/test/small/ - /home/branstud/public_html/gallery/test/small

thumb - http://www.studioashford.com/gallery/test/thumb/ - ../gallery/test/thumb/ - /home/branstud/public_html/gallery/test/thumb

microthumb - http://www.studioashford.com/gallery/test/microthumb/ - ../gallery/test/microthumb/ - /home/branstud/public_html/gallery/test/microthumb

When uploading no files are going into any directories, although EE is showing them in the DB. Obviously I have an FTP/Path issue, I just can not find it. Any help is appreciated. Thanks much!

Brandon

BrandonSi
21st of September 2004 (Tue), 15:39
Just a follow up here, when trying to re-thumb my 3 test pics, I get similar errors, obviously related to the same issue. Just thought some more info might help track down the problem.



Warning: unlink(temp/foo.txt): Permission denied in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 177

Warning: fopen(temp/0cd_Plaza_del_Toros_de_Las_Ventas.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 314

Warning: fwrite(): supplied argument is not a valid stream resource in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 315

Warning: fclose(): supplied argument is not a valid stream resource in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 326

Warning: unlink(temp/foo.txt): Permission denied in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 540

Warning: fopen(temp/Christ_Church.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 314

Warning: fwrite(): supplied argument is not a valid stream resource in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 315

Warning: fclose(): supplied argument is not a valid stream resource in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 326

Warning: unlink(temp/foo.txt): Permission denied in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 540

Warning: fopen(temp/c70_Please_Buy_a_Flower.jpg): failed to open stream: Permission denied in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 314

Warning: fwrite(): supplied argument is not a valid stream resource in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 315

Warning: fclose(): supplied argument is not a valid stream resource in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 326

Warning: unlink(temp/foo.txt): Permission denied in /home/branstud/public_html/abc123/EDITOR_rethumbnail.php on line 540

BrandonSi
21st of September 2004 (Tue), 19:00
issue resolved.

I thought EE wanted absolute path names, it doesn't. It only wants the path relative to your home directory. This is not the case with a lot of image software, like "Gallery" for instance. That's what one gets for making assumptions..