Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Error after uploading picture  (Read 3382 times)

0 Members and 1 Guest are viewing this topic.

lkcn

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Error after uploading picture
« on: November 02, 2003, 02:29:49 am »

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

Code: [Select]

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:

Code: [Select]

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Error after uploading picture
« Reply #1 on: November 02, 2003, 08:50:36 am »

link?

GauGau
Logged

lkcn

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Error after uploading picture
« Reply #2 on: November 02, 2003, 11:56:23 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Error after uploading picture
« Reply #3 on: November 03, 2003, 07:49:37 am »

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
Logged

lkcn

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Error after uploading picture
« Reply #4 on: November 04, 2003, 06:15:42 pm »

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

Page created in 0.018 seconds with 19 queries.