coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: tallis on July 20, 2006, 11:01:57 PM

Title: ftp - batch upload: cannot select directory
Post by: tallis on July 20, 2006, 11:01:57 PM
Hi there,

After installing cpg 1.4.8 sucessfully a couple of days ago
and doing some configuration work, I still haven't managed
to upload at least a single picture.

My ftp program tells me they are already there but cpg does
not recognize them.

The add batch button tells me to select the directory in which
I have uploaded the pictures, but my browser (Firefox 1.5 on a
mac) doesn't even diplay the dialog-box.
On a different browser I can see the box, but there are no
directories visible to choose from. [*see php transcript below]

On single file upload I get the message that the files cannot
or could not be moved.


What can be done?

Oh, all the rights are set to 777 ...

Title: Re: ftp - batch upload: cannot select directory
Post by: tallis on July 20, 2006, 11:33:33 PM
I've done some more testing e.g. created a new, different album
- this time I get a reply along the lines that the script cannot write
into the folder albums/userpics/

I will attach the debug info in a new message - so it can be easily
skipped ...
Title: ftp - batch upload: cannot select directory
Post by: tallis on July 20, 2006, 11:34:10 PM
here goes:

*
USER:
------------------
Array
(
    [ID] => 57766a1b835d6d33a59c9f4c759d0044
    [am] => 1
    [lang] => german
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => web295
    [groups] => Array
        (
           
Title: Re: ftp - batch upload: cannot select directory
Post by: Sami on July 21, 2006, 12:03:46 AM
do as suggested under trouble shooting docs
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
Title: Re: ftp - batch upload: cannot select directory
Post by: Joachim Müller on July 21, 2006, 06:32:57 AM
You're probably self-hosted on a Windows machine. Switch the batch-add interface from "browsable" to "classic". Don't post debug_output unless requested.
Title: Re: ftp - batch upload: cannot select directory
Post by: tallis on July 21, 2006, 11:49:22 PM
QuoteYou're probably self-hosted on a Windows machine.
Sorry but you're wrong. I told you that I#m using FF on a MAC.
My webhoster is www.revido.de

QuoteSwitch the batch-add interface from "browsable" to "classic".
so I did. - have switched back and forth. no avail...

Some more helpful ideas?
Title: Re: ftp - batch upload: cannot select directory
Post by: Sami on July 21, 2006, 11:58:47 PM
QuoteOn single file upload I get the message that the files cannot
or could not be moved.

QuoteOh, all the rights are set to 777 ...

try 755 and ask your webhost for correct CHMOD or permission for write
Title: Re: ftp - batch upload: cannot select directory
Post by: tallis on July 22, 2006, 12:35:58 AM
I've just tried setting all permissions to 755 and still get the following
error message on single file upload:
QuoteIn das Zielverzeichnis alben/userbilder/ kann vom Skript nicht geschrieben werden!
Datei: /srv/www/htdocs/web295/html/cpg148/db_input.php - Zeile: 331
Title: Re: ftp - batch upload: cannot select directory
Post by: Sami on July 22, 2006, 12:40:56 AM
Please post english error under english board
I'm sure your error ( as it's refrence to line 331 of db_input.php ) is permission to write under album folder , so as I said before ask your host for correct permission and make sure you've set it correctly
Title: Re: ftp - batch upload: cannot select directory
Post by: tallis on July 22, 2006, 01:38:40 AM
Quote from: bmossavari on July 22, 2006, 12:40:56 AM
Please post english error under english board

Well, I had just found out that GauGau is a native German speaker,
but anyway, here goes:
the script cannot write into the target directory albums/userpics!
filei: /srv/www/htdocs/web295/html/cpg148/db_input.php - Zeile: 331
Title: Re: ftp - batch upload: cannot select directory
Post by: Joachim Müller on July 22, 2006, 10:30:51 AM
You can temporarily switch your language to english to English error messages by going to http://yoursite.tld/your_coppermine_folder/?lang=english. Go back to German with http://yoursite.tld/your_coppermine_folder/?lang=xxx

Quote from: tallis on July 22, 2006, 01:38:40 AM
Well, I had just found out that GauGau is a native German speaker,
That doesn't matter, I'm not the only supporter. German postings are only allowed on the German support board.

Quote from: bmossavari on July 21, 2006, 12:03:46 AM
do as suggested under trouble shooting docs
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
In fact you should do as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

As bmossavari already pointed out: get your permissions fixed. As suggested in the docs (permissions section) (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions):
QuoteIf you can't figure how to set permissions properly, ask your webhost for support.
Nothing we could possibly do to help you.