batch add whith free.fr doesn't seem to work batch add whith free.fr doesn't seem to work
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

batch add whith free.fr doesn't seem to work

Started by chag, March 02, 2005, 02:31:01 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

chag

Hi,

I try to use "batch add" to feed the albums.

I created a directoty called 'test' in my '/albums' directory.
I uploaded a file called 'luca_001' in 'test'.

Then, I go to 'ftp =>' on my web interface and choose the 'test' directory.
I can see my file but no thumbnail. Only the 'broken image symbol'. If I click the symbol, a window opens whith my picture.
I choose an album (called 'test' too), check the image then click on the 'Insert' button

The next page show 4 columns :

Directory = test/
Image = luca_001
Album = test
Result = red 'PB' symbol

I tried the debug mode but I haven't seen any error msg

The file permissions should be ok but the problem is I can't change them by ftp because free.fr doen't allow this

The rights are actually :
directory 'test' : 700 (same as /albums/userpics directory)
file 'luca_001.jpg' : 644 (rw r r)

All files and directories are owend by the same user

If I upload pics 1 by 1 using the web interface, it works. As I have  more than 300pics tu upload, the web interface can't be used

Here are some informations found in the debug.


==========================
POST :
------------------
Array
(
    [d0000] => 2
    [pics] => Array
        (
            [0] => i0000
        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => dGVzdC9sdWNhXzAwMQ==
    [insert] => Insérer les photos sélectionnées
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.22
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
Active Links 1
Client API version 4.0.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/mysql/include/mysql
MYSQL_LIBS -L/usr/mysql/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | On | On
disable_functions | no value | no value
file_uploads | On | On
include_path | /var/www/free.fr/e/f/samuel.benard/include:. | .
open_basedir | no value | no value
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 2M | 2M
==========================
Page generated in 1.589 seconds - 6 queries in 1.511 seconds - Album set :




The url is http://samuel.benard.free.fr

Well, I think, you now know as much as me ;)

Hope someone can help me. :)

Chag

Joachim Müller

coppermine can be run on free.fr - you can set CHMOD permissions using an interface they have afaik if they don't allow you to change permissions using your ftp app.
Try changing the permissions; if this doesn't help, set debug_mode to "yes:everyone" in coppermine config, notices display to "no", then go to "groups" and set "upload method" to "Single file uploads only" for all relevant groups and post a test user account with upload prpivileges, so we can check the details.

Joachim

chag

Hi,

Here is what I found on their site :
"Toute gestion des droits est désactivée chez Free. Tous les fichiers présents ont les droits suffisants."
which means
"Rights management are disabled at free. All files have sufficient rights"

I'll try to find the interface you talked about. I found a script which created a dir 'test2' whith rights 755. but it doesn't work either.

I created a user/pass : test/test whith upload permissions and upload method set to 'Single file uploads only". uploading pictures using the web interface works. It's juste the 'batch add' wihth ftp that doesn't work.

Hope you can help.

Thanks in advance

Chag

Joachim Müller

OK, I should have read your initial posting more carefully: you have a file http://samuel.benard.free.fr/albums/test/luca_001 on your server, which doesn't have an extension. Upload a known-good file with a proper extension that coppermine (or rather: the image library used on your server, usually GD) can handle, e.g. ".jpg" and you should be fine. A file without an extension can not be used!

Joachim

P.S. Of course you would have had to switch admin approval off if you wanted me to test drive the http upload ::)

chag

Hi,

Well, That's was so big that I couldn't see it... I feel so stupid... :)

However, it works better now that files have an extension.

Many thanks for your help.

Chag