Plugin problem Plugin problem
 

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

Plugin problem

Started by Steve1234, January 17, 2008, 01:38:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steve1234

I have posted here as this is how my problem started
I enabled the short url plugin I then got a permission error on all pages, not knowing what to do I deleted antthing I could find relating to plugins (obviously not a good thing to do) I then realisead it was htaccess file giving problem and deleted this I then got fatal error on line 291 in include/init.inc.php I then proceeded to remove

if (!USER_IS_ADMIN) {
    if (!$CONFIG['debug_mode']) $cpgdebugger->stop(); // useless to run debugger cos there's no output
    error_reporting(E_PARSE); // hide all errors for visitors
}


and replace all I thought I had deleted except for htacesss

All seems to be working but obviously I have done something wrong can anyone help or tell me what the code I removed does

Steve

Joachim Müller

You shouldn't have deleted files except the .htaccess file that the SEF_URLs plugin creates. To undo the damage, re-upload all files that you may have deleted or edited. Since you probably are not sure what files need uploading, just do as suggested in the upgrading instructions of the documentation. Do the very same thing as if you were performing an upgrade - even if the version of coppermine that you currently have and the version you should upgrade to (currently cpg1.4.14) are identical.
However, this is not related to permissions, so your choice of sub-forums was not ideal - moving accordingly.

just_some_guy

Steve,

Try CHMODD'ing the .htaccess, .htaccess's dont work on my server untill they are chmodded. I think 655 might work.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

RenesCopper

 ??? do we need an htaccess file at all? I installed that plugin, and then everything went: 403 forbidden. renamed all plugins and still 403, searched the forum and found your advice to delete the htaccess file, which I did. Now My coppermine is restored. but...

do we need the htaccess file? going to delete the short_sef plugin.

Mac OSX 10.3.9, CopperMine 1.4.18, not bridged.

Joachim Müller

The .htaccess file created by the SEF_URLs plugin resides in the root folder of your coppermine install.