Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Plugin problem  (Read 4767 times)

0 Members and 1 Guest are viewing this topic.

Steve1234

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Plugin problem
« on: January 17, 2008, 01:38:09 pm »

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

Code: [Select]
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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Plugin problem
« Reply #1 on: January 17, 2008, 05:40:33 pm »

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

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Plugin problem
« Reply #2 on: January 17, 2008, 06:38:13 pm »

Steve,

Try CHMODD'ing the .htaccess, .htaccess's dont work on my server untill they are chmodded. I think 655 might work.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • PhotoJournals of René O'Deay - Still Beautiful!
Re: Plugin problem
« Reply #3 on: May 16, 2008, 12:47:34 am »

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

Logged
Mac OSX 10.3.9, CopperMine 1.4.18, not bridged.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Plugin problem
« Reply #4 on: May 16, 2008, 06:41:52 am »

The .htaccess file created by the SEF_URLs plugin resides in the root folder of your coppermine install.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.