Can i upload more than 5 pics at a time??? Can i upload more than 5 pics at a time???
 

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

Can i upload more than 5 pics at a time???

Started by adil siddiq, December 05, 2006, 09:28:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adil siddiq

hello

im new using coppermine....

the thing i have to upload over 1000 pictures and uploading only 5 pics at a time will kill me.


I couldn't understand the jupload function properly....

i installed it and uploaded it to the root of coppermine on my server.

then i set the default theme as the one in the jupload's folder.

then when i opened the jupload.php, some error occured..


last night a friend of mine told me that i need imagemajick or gd.
so i installed both of them.

now before i proceed, i thought to ask the experts here.

can anyone help, in easy way please!



Waiting..........


Joachim Müller

#2
Or "Plugin conversion of timer.php called CPGMassImport.". Both Nibbler's recommendation as well as mine have already been mentioned as a reply to your identical posting on "Upload applet (JUpload)":
Quote from: GauGau on December 04, 2006, 09:51:42 PM
This thread is not meant to teach you how to use coppermine and what the image libraries are for. For your purposes, JUpload is not ideal. Use FTP-uploads and batch-add instead as suggested in the docs, or even the massimport plugin. Please do not ask questions on those issues here though. Start a thread on the regular upload support board.
Why didn't you do as suggested there - you were suppossed to read the documentation and only ask questions if you don't understand what is being explained there? The fact that you still consider the number of upload fields to be fixed on "5" shows that you haven't read the docs. Starting your thread on the "General discussion (no support!)" board is not a bright move either.

adil siddiq

i used the Batch Add Files way to upload this time....

Had no prob using it but i got the following error....




Warning: imagejpeg(): Unable to open 'albums/miscellaneous/thumb_00001.JPG' for writing in /home/httpd/vhosts/noorifreaxforum.com/httpdocs/gallery/include/picmgmt.inc.php on line 218

Warning: chmod(): No such file or directory in /home/httpd/vhosts/noorifreaxforum.com/httpdocs/gallery/include/picmgmt.inc.php on line 224

Warning: getimagesize(albums/miscellaneous/thumb_00001.JPG): failed to open stream: No such file or directory in /home/httpd/vhosts/noorifreaxforum.com/httpdocs/gallery/include/picmgmt.inc.php on line 226
Unable to create thumbnail or reduced size image.




and when i clicked batch add files and selected the folder i put pics in, the next page appeared where we have to give the location to add files in.
but just under the drop down album selection, following text was written
Warning: the script can't write in this directory, you need to change its mode to 755 or 777 before trying to add the files !



???

Joachim Müller

The error messages should be pretty obvious: you need to set permissions as suggested in the permissions section of the docs.

adil siddiq

ok
now i used my FTp app

i changed the properties of the subfolders 'Albums' and 'Includes' to the ones given on the link you gave.

but i got the following error this time.....

I just changed the properties, didnt do anything else.....


Warning: main(include/init.inc.php): failed to open stream: Permission denied in /home/httpd/vhosts/noorifreaxforum.com/httpdocs/gallery/index.php on line 30

Warning: main(include/init.inc.php): failed to open stream: Permission denied in /home/httpd/vhosts/noorifreaxforum.com/httpdocs/gallery/index.php on line 30

Fatal error: main(): Failed opening required 'include/init.inc.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/noorifreaxforum.com/httpdocs/gallery/index.php on line 30



do i need to change some other settings as well?

adil siddiq

ohhh

i just fixed it.....

i set permissions to rwx-rwx-rwx for 'Albums' , 'Include'  and for the folder in the album sub directory in which i uploaded my pictures...

now i worked...

but i need to ask that if the permission remains same from now on, are there any risks?

Joachim Müller

There's only a risk if the webserver is set up improperly.


Joachim Müller

This is not related to Coppermine, but webserver setup. If you have general questions on webserver setup in the future, please google for it if you need more information. You should read up Lunix file permissions and apache setup instructions if you need details.

For a start, you might want to read "Simple Machines - Why chmod 777 is NOT a security risk" (currently down, you might have to check the cached version on google), "Security risk with "chmod 777 files" versus "chmod 755 files"?" and thousands of other similar pages that are available when googling for it.

This thread had quite a bit of thread drift. We have a "one question per thread" policy that you agreed to respect when signing up. Locking.