coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: dss on November 09, 2006, 11:53:26 PM

Title: Newbie batch add problem
Post by: dss on November 09, 2006, 11:53:26 PM
Hi,

I'm a newbie to this application which was installed through psoft's software with an install button. That went easy and I've created some categories and tried to batch add what I've ftp into the albums folder. When I clicked on my album I got question marks rather then what I assume is supposed to be thumbnails on the right side. Here is what notices I got below that: /include/functions.inc.php
Warning line 2911: cannot yet handle MBCS in html_entity_decode()!
Notice line 2661: Undefined variable: i
/searchnew.php
Notice line 100: Undefined variable: sel_album

I had forgotten the 1st time to pick a category and got NA which shows me it's working to a degree.
Next I picked a category and On next screen I still had question marks under the Result column.
I tried clicking on the question marks and got: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5760 bytes) in /hsphere/local/home/photos/winevalleyphoto.com/photos/include/picmgmt.inc.php on line 259
Pleas Help!
Here is the Dubug Info: USER:
------------------
Array
(
    [ID] => 360ad2eb0886d08de8f2235f4e0b79b7
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
Title: Re: Newbie batch add problem
Post by: Bruce on November 10, 2006, 02:37:03 AM
You made Categories ... but did you make at least one Album inside a Category? You can't upload to a Category - has to be an album.

Did you make a directory for uploads at your FTP to upload your batch to?
Title: Re: Newbie batch add problem
Post by: dss on November 10, 2006, 03:44:35 AM
Hi Bruce,
Thanks for your reply!
Yes I ftp "Shows" and "Aioli" directories to the root of "Albums".
Those directories had 17 & 25 .jpg's in them. I had created a couple
albums before I could really tell what was going on.

Then as I mentioned "batch add files" actually allowed me to choose
"Shows" and I checked only 6 .jpg's (yet they were represented by
question marks) then per my mistake of not selecting from the pull
down got "NA" in the "result" column. I then did it again. I never got
"OK", "DP", or "PB". I got "Adding new files to the gallery" and those
same question marks under the result column.
Title: Re: Newbie batch add problem
Post by: kegobeer on November 10, 2006, 04:42:14 AM
Are you using UTF-8?  If so, try switching to a non UTF-8 character set.  The "cannot yet handle MBCS in html_entity_decode" error is because your version of PHP doesn't handle UTF-8 very well in the html_entity_decode function.

Google for "cannot yet handle MBCS in html_entity_decode".
Title: Re: Newbie batch add problem
Post by: Joachim Müller on November 10, 2006, 07:09:38 AM
Before doing anything else: we don't recommend auto-installers - they are outdated and buggy. You have cpg1.4.4, which has known flaws. Upgrading to the most recent version (currently cpg1.4.10) is mandatory. Please read the documentation as well and do as suggested there, and leave notices_display off unless you're a coder.
Title: Re: Newbie batch add problem
Post by: dss on November 10, 2006, 02:02:38 PM
Thanks so much for all your suggestions!

I left earlier today after my last reply to Bruce,
but when I did I ftp'd another folder of pict's made
smaller (800x533) as opposed to the 1440x960.jpg's.
They worked, so I resized the original ones I had up,
down to the smaller size and now they work;-)

I now have 3 Categories with 7 Albums, and 4 albums
now finally have pictures in them. The PROBLEM now
is that when I click on them to see the album(s) it
says something like this for anything non admin I click on:
Not Found

The requested URL /photos/thumbnails-2.html was not found on this server.
or
The requested URL /photos/displayimage-random-0--19.html was not found on this server...

So all I've been able to see in user/admin modes are the thumbnails on the
home and can't go to links like "My gallery" without that problem.

GauGau - I'm just learning there is an update, could you please share with me how to
update this install, and where to get it? Like I said it cam with my server install through
something called "Easy Apps Collection". Can I just replace files through ftp? If I have to
completely delete the whole thing and start over from scratch, then how do I save my titles,
categories, albums and such, with commments and descriptions? Is there a file(s) to save for that.

Thanks again!
Title: Re: Newbie batch add problem
Post by: Joachim Müller on November 10, 2006, 03:32:47 PM
Quote from: dss on November 10, 2006, 02:02:38 PM
The requested URL /photos/thumbnails-2.html was not found on this server.
or
The requested URL /photos/displayimage-random-0--19.html was not found on this server...
Turn the SEF_URL plugin off then.

Quote from: dss on November 10, 2006, 02:02:38 PM
could you please share with me how to update this install, and where to get it?
As I already told you: you're suppossed to read the documentation - there's a link to it at the top of this page. There's a whole section dedicated to upgrading. You can download the needed package from the downloads section (again: link at the top of this page).

Please do so right now: read the documentation. Do this now, before doing anything else. If upgrading doesn't solve your issues, do exactly as suggested in the upload troubleshooting section of the docs.
Title: Re: Newbie batch add problem
Post by: dss on November 10, 2006, 10:27:05 PM
Thanks GauGau,

Awsome! Now I see what others are saying. I had done the documentation link but for some reason (probably lacking sleep) I wanted my hand held, butt wiped;-) I did go through that upload troubleshooting that I saw from another post and that didn't fix a thing. It was your SEF_UUL plugin that did the trick. Thanks again!