modpack or something else?... 406 error modpack or something else?... 406 error
 

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

Main Menu

modpack or something else?... 406 error

Started by askier, August 14, 2007, 10:35:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

askier

Hi all,

OK, here's a brief overview.  Up until a couple months ago, I had a perfectly working 1.3.x CG with Stramm's earlier Modpack.
Then I updated to 1.4.10, no Modpack.  Still perfection.
Then, today, I updated to 1.4.12.  Upgrade was a piece of cake, no errors, version check confirmed it all as perfect.
Then I applied the latest Mod.  Again, no problems....

Now, I went into config to try to test new themes, update my thumbnails and such AND every single time I try to do anything, I get '406 Not Acceptable' eror:
"Not Acceptable - An appropriate representation of the requested resource /gal/admin.php could not be found on this server."

Now, I can't even turn on the debug option to try to understand where the problem occurred.  File permissions are mostly set to 755 (not that I've changed them at any point).  Error.log is not registering anything.  Am I missing something?  Any ideas?  ???

Thx,
askier

Nibbler

Your host might block requests for files named admin. Try renaming the file and see if that helps. Otherwise you will need to contact them.

askier

Nibbler, thx for being prompt but that's not it.

Renaming it just changes the error message to reflect that path - i.e. instead of referring to admin.php it refers to the renamed file.  Also, while it won't save the changes, I can access admin.php without a problem and navigate through it.  It's just the saving that seems to be an issue.  Also, admin.php for wordpress isn't affected, which makes me think this has got to be CG-related.

Any other ideas?
askier

Nibbler

I'm convinced it's a security issue so ask your host. Many of them use tools that detect suspicious behaviour and have been known to interfere with Coppermine. Perhaps the number of post fields on the admin form is higher than some arbitrary limit.

askier

Hmm, OK, I'll talk to them though something like this out of the blue is a bit strange.
In the meantime, how would I go about changing into debug mode manually?  Is there a field in the db or one of the php files that could be edited to enable this?


askier

Nibbler, thanks!  Turns out you were right and the problem was on the hosting end - they turned on mod_security out of the blue.  Corrected and resolved!