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: [Invalid]: 500 Error after installing 'Who's Online Today" plugin  (Read 3653 times)

0 Members and 1 Guest are viewing this topic.

porcelina

  • Coppermine newbie
  • Offline Offline
  • Posts: 19

I just tried installing the who's online today plug-in: http://forum.coppermine-gallery.net/index.php?topic=17308.0

Followed all the instructions just as it said and now end up with a 500 error: http://www.vivandlarry.com/gallery/index.php

so i deleted all of the changes i had made to index.php, deleted the new onlinetoday.php file I had made, reuploaded index.php, and still get the error.

this is what my index.php code looks like where I had made/deleted the changes:

  case 'anycontent':
                        if ($cat == 0) {
                            ob_start();
                            /**
                             * Any php code or HTML can be put in this file and will be displayed
                             */
                            include('anycontent.php');
                            $anycontent = CPGPluginAPI::filter('anycontent',ob_get_contents());
                            ob_end_clean();
                            echo ($anycontent);
                        }
                        flush();
                        break;
                }


any ideas?

thanks
« Last Edit: December 28, 2009, 11:16:51 am by Joachim Müller »
Logged

porcelina

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: 500 Error after installing 'Who's Online Today" plugin
« Reply #1 on: December 27, 2009, 08:45:16 pm »

never mind, solved--it was the CHmod issue.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: 500 Error after installing 'Who's Online Today" plugin
« Reply #2 on: December 27, 2009, 08:47:46 pm »

you have not installed the plugin, but the outdated mod for cpg1.3
reupload clean files on your server and install the plugin http://forum.coppermine-gallery.net/index.php/topic,35233.0.html
BTW your galerie is outdated to
Quote
<!--Coppermine Photo Gallery 1.4.21 (stable)-->
as the latest stable version is cpg 1.4.25. You must upgrade!
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 500 Error after installing 'Who's Online Today" plugin
« Reply #3 on: December 28, 2009, 11:16:38 am »

That's why the last posting in the thread you refered to is
There is a particular reason why this mod resides in the "outdated mods" sub-board: it is outdated. It only exists here for reference. There's no support for it. As Sami suggested: review the version of this mod that exists for cpg1.4.x. Locking.
You better read the threads you refer to before asking for support. And no: it's not a plugin although your thread's subject says so. The thread you refer to explains a mod and not a plugin.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.