Batch Upload Problem... Batch Upload Problem...
 

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 Upload Problem...

Started by tmcw, January 15, 2004, 04:21:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tmcw

I've installed Coppermine.. everything went well, no error messages....
I can submit pictures through the backend, but I can't seem to get Coppermine to recognize uploaded pictures. I've tried uploading them to /userpics and /userpics/10001/ with no luck. It just says "No Images Found". The images are named  like imagename.jpg and the thumbnails _thb_imagename.jpg and I've changed the thumbnail setting to accomodate this... but still no luck.

Is this a newbie error or something?  :cry:

moorey

Make sure you FTP them to
Quote/cpg/albums/newfoldername/

Definitely not in
Quote/cpg/albums/userpics/

tmcw


tmcw


moorey

Did you change the folder permissions to 777?

tmcw

forgot to, did it, still no luck.

moorey

Got a link with perhaps a test account? With some server details (versions etc)?

MoPe

I've got the same problem I think...
include folder is 777 the folder with the pictures is 777, what am I doing wrong?

Casper

When you have uploaded them, have you then used the batch add facility to place them in the coppermine database and create the thumbs etc.?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

MoPe

The batch add facility doesn't work, it doesn't find any pictures in the folder and it doesn't give an error ony "No Images Found".

tmcw

yeah same here, the direct quote is "No new picture was found "

Joachim Müller

make sure you haven't uploaded into "userpics" and that your folders don't contain dots in their names.

GauGau

tmcw

nope, i created a new folder entitled "upload" under the "albums" directory

Joachim Müller

Re-check the permissions: has to be CHMODed to 755 or 777 (depending on your server config).
Remember you can't use GIF with GD2.
Check your coppermine config if you have accidentally removed the valid file types from "Accepted file extensions for uploaded pictures".
Check if you have accidentally uploaded a .htaccess file that prevents you from browsing the albums dir.

GauGau

tmcw

hmm that might be the problem.... my webhost (1and1) has very restrictive htaccess and server settings

tmcw

i added an .htaccess file which allows directory listing (the same thing as browsing) in the uploaded folder. still doesn't work..

MoPe

GREAT!!! it works.. you have to fill in the field "The prefix for intermediate pictures" just fill in normal_ or something and set "Create intermediate pictures" to "no" if you don't want intermediate pictures... that solved the problem for me, I hope you understand what I am trying to say because I know my English is not super:)

tmcw

okay, I added a prefix for the normal pictures, and that allows me to add the pictures.. which leads to more errors.. when i click on a picture to view it, i get this
Template error
Failed to find block 'ipinfo'(#(<!-- BEGIN ipinfo -->)(.*?)(<!-- END ipinfo -->)#s) in :

        <tr>
                <td>
                        <table width="100%" cellpadding="0" cellspacing="0">
                                <td class="tableh2_compact" nowrap>
                                        <b>{MSG_AUTHOR}</b>
                                </td>
                                <td class="tableh2_compact" align="right" width="100%">
{BUTTONS}
                                </td>
                                <td class="tableh2_compact" align="right" nowrap>
                                        <span class="comment_date">[{MSG_DATE}]</span>
                                </td>
                        </table>
                </td>
        </tr>
        <tr>
                <td class="tableb_compact">
                        <div id="cbody{MSG_ID}" style="display:block">
                                {MSG_BODY}
                        </div>
                        <div id="cedit{MSG_ID}" style="display:none">
{EDIT}

                        </div>
                </td>
        </tr>

Joachim Müller

apparently you have messed up your theme. Try it with the default theme that comes with coppermine. Posting a link to your gallery might work wonders as well.

GauGau

tmcw

heh... i suppose i did  :oops:
well everything's working well now, thanks for your help