PDA

View Full Version : Just one FTP test fails. . . and No pics are in normal/thumb


hkimscil
25th of February 2004 (Wed), 19:32
Once I set the ee, I tried to test FTP server.

PHP_FTP is ok. The test returns all the gree letters.
But, internal FTP test spits out the below message:

FAILED Reason: ftp_chdir() [function.ftp-chdir]: Can't change directory to /home/xxxxx/public_html/xxaaaal/gallery/outputstyles: No such file or directory

dir names are properly changed.

Except this one, I don't see any other error.

I tried to upload a pic. The picture can be uploaded in input/UPLOAD directory. But, proper files doesn't seem to be generated, or doesn't move to normal and thumb and microthumb

It just stays there in UPLOAD directory.

Please help

hkimscil
25th of February 2004 (Wed), 19:33
oh, PHP gd2 module is turned on and works fine. But, imagemagick is not installed.

hkimscil
25th of February 2004 (Wed), 19:53
Another one that I am suspicious about is ::
I installed gallery in www/sub_dir/gallery.

This is actually used as sub-domain as in
h t t p : //sub_dir.mydomain.com/gallery

Is this a problem?

hkimscil
29th of February 2004 (Sun), 00:55
I don't get some answers . . . .

I looked up the code in ftp_server.php, hoping to figure out what causes the problem of "checking the EE home directory" test. This particular test only fails.

And since I can't manage to upload pictures (it is fine up until pictures going to UPLOAD directory; but, after that they don't go to default directory and thumb and microthmb directory -- and yes, I made the directories accessible to all, chmod 0777), I am leaning toward this test as a culprit for EE's not-working properly.

FTP test for php module is working fine. Itnernal FTP test has a problem when "Checking EE Home directory"

In the code related to the above test, I found that it seeks for the GALLERY root directory + outputstyles directory -- that is
/home/xxx/public_html/xxx/gallery/outputstyles.

The script doesn't find it. So, I tried deleting outputtyles so that there the script finds the root dir. And it works fine. I tried replacing outputstyles to other directory such as input etc. They didn't work as the orginal code.

Is this a serious problem? If not, why the pictures in the UPLOAD don't go to the default and thumb directories? In the graphic module test, GD2 works fine (I know this since I could see the thumb nail picture of the source.jpg in the graphich module test).

The work-around is that I create thumb pictures and regular pictures and upload to the dfault and other directory directly. And then, import them via manual upload. Only this way, the pictures are registered and available from the GALLLERY page. . . .

If anyone had a similar problem, please let me know.

Thanks for reading this!

Pekka
29th of February 2004 (Sun), 05:57
Another one that I am suspicious about is ::
I installed gallery in www/sub_dir/gallery.

This is actually used as sub-domain as in
h t t p : //sub_dir.mydomain.com/gallery

Is this a problem?

It should not be a problem. Just use URL paths http://sub_dir.mydomain.com/gallery/.....

Pekka
29th of February 2004 (Sun), 07:00
I don't get some answers . . . .

I looked up the code in ftp_server.php, hoping to figure out what causes the problem of "checking the EE home directory" test. This particular test only fails.

And since I can't manage to upload pictures (it is fine up until pictures going to UPLOAD directory; but, after that they don't go to default directory and thumb and microthmb directory -- and yes, I made the directories accessible to all, chmod 0777), I am leaning toward this test as a culprit for EE's not-working properly.

FTP test for php module is working fine. Itnernal FTP test has a problem when "Checking EE Home directory"

In the code related to the above test, I found that it seeks for the GALLERY root directory + outputstyles directory -- that is
/home/xxx/public_html/xxx/gallery/outputstyles.

The script doesn't find it. So, I tried deleting outputtyles so that there the script finds the root dir. And it works fine. I tried replacing outputstyles to other directory such as input etc. They didn't work as the orginal code.

Is this a serious problem? If not, why the pictures in the UPLOAD don't go to the default and thumb directories? In the graphic module test, GD2 works fine (I know this since I could see the thumb nail picture of the source.jpg in the graphich module test).

The work-around is that I create thumb pictures and regular pictures and upload to the dfault and other directory directly. And then, import them via manual upload. Only this way, the pictures are registered and available from the GALLLERY page. . . .

If anyone had a similar problem, please let me know.

Thanks for reading this!

This is most likely incorrectly set ftp path problem.

Ok, first of all, please revert back to original code. It will work as it is.

1. Test graphics engines and approve the tests to activate them.

2. Test ftp server. First only the upper test. Use ftp path which points to your gallery folder. Check your ftp path using ftp client - do not just guess it!. Double-check that there is NO trailing slash in ftp path. When upper test is ok (no matter which ftp engine you use, only either is needed, not both), copy the ftp path to lower test's "ftp path to EE root" field, check that other data is identical in both tests and do the lower test.

3. When graphics engine and ftp servers are ok, go to path editor and make sure EACH dropdown menu contains correct selection.

See editor's MANUAL link for detailed info, especially for how to find the ftp path.

"EE Home ftp server" is needed in several functions like copy/move/delete, rethumbnailer, "Localize files" -system (ftp view).

If you still have problems, PM me login to your ftp and I'll check the structure out (as always, I'm not interested in anything else in your server than getting EE to work).