coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: porcelina on December 27, 2009, 08:27:06 PM

Title: [Invalid]: 500 Error after installing 'Who's Online Today" plugin
Post by: porcelina on December 27, 2009, 08:27:06 PM
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
Title: Re: 500 Error after installing 'Who's Online Today" plugin
Post by: porcelina on December 27, 2009, 08:45:16 PM
never mind, solved--it was the CHmod issue.
Title: Re: 500 Error after installing 'Who's Online Today" plugin
Post by: François Keller 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 (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!
Title: Re: 500 Error after installing 'Who's Online Today" plugin
Post by: Joachim Müller on December 28, 2009, 11:16:38 AM
That's why the last posting in the thread you refered to is
Quote from: Joachim Müller on September 07, 2007, 10:03:50 AM
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.