Error after uploading picture Error after uploading picture
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Error after uploading picture

Started by lkcn, November 02, 2003, 02:29:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lkcn

Upgraded from 1.1D to 1.2. Tried to upload a picture and got the error message:


Warning: in_array(): Wrong datatype for second argument in /home/.../displayimage.php on line 278

Notice: Undefined index: addFavPhrase in /home/.../displayimage.php on line 279

Notice: Undefined index: addFav in /home/.../displayimage.php on line 279
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


Now when I accessed coppermine gallery homepage, I got the error message:


Fatal error: Call to undefined function: theme_display_album_list_cat() in /home/.../index.php on line 493


BTW, I run coppermine as a postnuke module, using pnCPG for postnuke v1.5. I got the error message when I run coppermine as standalone though, just after upgrading.

Joachim Müller


lkcn

The site is under development, not sure if I should disclose the URL. Anyway I have decided to remove the 1.1D and install 1.2 from scratch. It has worked. The program pnCPG1.5 is working as well, except users can't login/logout/change password in coppermine module. But I guess I should ask this in postnuke support forum. Thanks.

Joachim Müller

OK, now I understand: cpg1.1d is for phpnuke, cpg1.2.0 is standalone only (hasn't been ported yet to phpnuke). You simply can't upgrade at the moment - wait some more days untill cpg1.2.0 for phpnuke comes out or stick to the standalone. Do I get this right: you're running phpnuke, postnuke and a standalone gallery on one website? Well, choose your overkill...

GauGau

lkcn

Now I can give away the link:
http://chinatraveltalk.com

I'm running postnuke + coppermine. Not intend to use CPG as a standalone application. I was running CPG1.1D + pnCPGv1.4 which was fine. Then I upgraded to 1.2 and got the problems. I guess there must be some issues with upgrading because the developors have changed. So I decided to aviod this by installing 1.2 from scratch, plus pnCPGv1.5. Now the problem is that if an user logout or change password in CPG instead of in postnuke, it will cause some confusion. But I didn't find a way to disallow an user to logout/change password in CPG.

I've tried phpnuke + coppermine. I have to say the intergration is slightly better. But I like postnuke. Also phpBB2 works better with postnuke. So the combination now is postnuke + phpBB2 + CPG1.5  8)
Hope CPG will be better integrated into postnuke in the future!   :)