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
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.
Steve,
Try CHMODD'ing the .htaccess, .htaccess's dont work on my server untill they are chmodded. I think 655 might work.
??? 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.
The .htaccess file created by the SEF_URLs plugin resides in the root folder of your coppermine install.