coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: maddog on January 26, 2004, 12:59:10 PM

Title: Batch Add Pictures Error
Post by: maddog on January 26, 2004, 12:59:10 PM
Hi all - I have managed to install coppermine!!   :D

This is installed on a webhosts server.

I have now created a few empty albums, my first attempt to use the batch add pictures resulted in the following error (repeated 3 times). :(

--------------------------------------------------------------
Warning: getimagesize(): Read error! in /home2/username/public_html/foldername/coppermine/searchnew.php on line 123
--------------------------------------------------------------

Any help greatly appreciated, thanks.



Colin
Title: Batch Add Pictures Error
Post by: Joachim Müller on January 26, 2004, 08:25:02 PM
make sure you have CHMODed the albums dir as stated in the readme that comes with coppermine.

GauGau
Title: Batch Add Pictures Error
Post by: maddog on January 26, 2004, 11:21:51 PM
Hi gaugau - yes,I just checked and the are CHMODed to 777
Title: Batch Add Pictures Error
Post by: Joachim Müller on January 27, 2004, 07:04:16 AM
Also make sure you haven't uploaded to albums/userpics, but albums/some_subfolder_you_created

GauGau
Title: Batch Add Pictures Error
Post by: maddog on January 27, 2004, 10:36:30 AM
Hi gaugau - Thanks for your reply, I thought that you had probably hit the nail on the head as my pics were indeed in albums/userpics/myfolder.

However, after moving the pics to albums/myfolder I am still getting the same error.

Your help is appreciated

Regards

Colin
Title: Batch Add Pictures Error
Post by: Casper on January 27, 2004, 10:39:05 AM
have you also set the 'myfolder' to 777?
Title: Batch Add Pictures Error
Post by: Joachim Müller on January 27, 2004, 10:42:44 AM
please switch to debug_mode (in coppermine config) and check the output it generates (post the relevant parts here). Also, please specify some details about your server setup. If your server is running in safe_mode, try enabling silly_safe_mode (refer to the documentation (http://coppermine.sourceforge.net/demo/docs/index.htm#safe)/readme that comes with coppermine how to do this).

GauGau
Title: Batch Add Pictures Error
Post by: maddog on January 29, 2004, 02:21:25 PM
Hello again gaugau - As I am new to this, I'm not sure which are the "relevant parts" so I hope you do not mind me posting the whole thing.

Server Details:

Operating system Linux
Kernel version 2.4.20-28.9
Apache version 1.3.29 (Unix)
PERL version 5.8.0
Installed Perl Modules Click to View
PHP version 4.3.4
MySQL version 4.0.15-standard

Debug Output:

USER:
Array
(
    [ID] => e85eb211cab4f3e72193e6b3ce61a56c
    [am] => 1
)

 
 
USER DATA:
Array
(
   
Title: Batch Add Pictures Error
Post by: moorey on January 30, 2004, 03:50:32 AM
Quote from: "maddog"Hello again gaugau - As I am new to this, I'm not sure which are the "relevant parts" so I hope you do not mind me posting the whole thing.

Server Details:

Operating system Linux
Kernel version 2.4.20-28.9
Apache version 1.3.29 (Unix)
PERL version 5.8.0
Installed Perl Modules Click to View
PHP version 4.3.4
MySQL version 4.0.15-standard


Colin - do you see a GD or ImageMagick section in your phpinfo? It looks like you do not have either installed - which is required to generate thumbnails and so forth.
Title: Batch Add Pictures Error
Post by: maddog on January 30, 2004, 11:52:51 AM
Hi - GD2 and ImagMagick are installed. Safe mode is off.

I just realised (due to moorey's reply) that I did not give a path to ImageMagick during the install.

I would like to configure coppermine to use GD2, could someone please tell me how?

Many thanks

Colin
Title: Batch Add Pictures Error
Post by: Casper on January 30, 2004, 01:22:00 PM
Simply log on as admin, go to config, and select it in the 'Method for resizing images' box.
Title: Batch Add Pictures Error
Post by: maddog on January 30, 2004, 01:34:26 PM
Hi all - I checked my config and it was already set to use "GD version 2.x"

I re-applied configuration, then tried to Batch add pictures and now get the original errors PLUS this one first:

Notice: Undefined index: select_album in /home2/maddog/public_html/family/coppermine/searchnew.php on line 63



So any more suggestions please?

Thanks

Colin