Advanced search  

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

Pages: [1]   Go Down

Author Topic: Can i upload more than 5 pics at a time???  (Read 8237 times)

0 Members and 1 Guest are viewing this topic.

adil siddiq

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Can i upload more than 5 pics at a time???
« on: December 05, 2006, 09:28:37 pm »

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..........
« Last Edit: December 06, 2006, 04:44:11 pm by GauGau »
Logged

Nibbler

  • Guest
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can i upload more than 5 pics at a time???
« Reply #2 on: December 05, 2006, 11:08:31 pm »

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)":
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.
« Last Edit: December 06, 2006, 07:11:41 am by GauGau »
Logged

adil siddiq

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can i upload more than 5 pics at a time???
« Reply #3 on: December 06, 2006, 09:06:07 am »

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 !



???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can i upload more than 5 pics at a time???
« Reply #4 on: December 06, 2006, 09:41:21 am »

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

adil siddiq

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can i upload more than 5 pics at a time???
« Reply #5 on: December 06, 2006, 10:46:27 am »

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?
Logged

adil siddiq

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can i upload more than 5 pics at a time???
« Reply #6 on: December 06, 2006, 11:15:33 am »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can i upload more than 5 pics at a time???
« Reply #7 on: December 06, 2006, 04:44:00 pm »

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

adil siddiq

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can i upload more than 5 pics at a time???
« Reply #8 on: December 06, 2006, 05:48:41 pm »

for eg?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can i upload more than 5 pics at a time???
« Reply #9 on: December 06, 2006, 10:51:13 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 20 queries.