PDA

View Full Version : Error When Updating Global Phrase "notice_1_html"


PokerVillain
11-08-2013, 12:29 PM
Hello,

I am attempting to update the global phrase "notice_1_html" which is the "if this is your first visit" message which is displayed to guests on the index page of the forums. We are running Vbulletin 4.2.2. Unfortunately, when I try to update this, I am greeted with the following issue:

Not Acceptable

An appropriate representation of the requested resource /ADMINDIRECTORYHERE/phrase.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Can anyone shed some light on what I need to do to fix this? We have changed our /admincp directory to a different name but have ensured all the correct files for 4.2.2 /admincp are present within the directory (we even did a fresh upload, overwriting existing files). This did not fix the issue.

It's worth noting that the rest of the forums, both onsite and backend appears to be functioning correctly. I've included a link to the forums below.

http://linkslistforum.com

Regards,

ozzy47
11-08-2013, 12:32 PM
I think it's something in your htaccess that's probably causing it. Probably a rogue rewrite rule.

Empty the contents of the file and try gain, just make sure you save what ever is in there so you can put it back.

PokerVillain
11-08-2013, 01:26 PM
Hi ozzy,

I appreciate your response. Unfortunately, removing the .htaccess file and replacing it to start over did not solve the issue. Furthermore, the original .htaccess file only has a 404 page rule.

Any other ideas?

ozzy47
11-08-2013, 06:14 PM
Is your server running mod_security?

Lynne
11-08-2013, 11:51 PM
And is the file /ADMINDIRECTORYHERE/phrase.php uploaded to the server? And if you look at it, does it look complete?

PokerVillain
11-10-2013, 04:17 PM
Is your server running mod_security?]

How do I check this?

And is the file /ADMINDIRECTORYHERE/phrase.php uploaded to the server? And if you look at it, does it look complete?

Yes, phrase.php is present and looks complete (i've even reuploaded it).

Regards,

ozzy47
11-10-2013, 04:21 PM
If you are unsure, ask your host.

PokerVillain
11-10-2013, 04:29 PM
If you are unsure, ask your host.

Just checked via phpinfo file. Mod_security is not installed.

Lynne
11-10-2013, 04:53 PM
How about suhosin?

That error is a server error. If you are positive the file is uploaded, then you should show the error to your host to have them look into it.

PokerVillain
11-10-2013, 04:59 PM
How about suhosin?

That error is a server error. If you are positive the file is uploaded, then you should show the error to your host to have them look into it.

I have just contacted the host and they have actually confirmed that mod_security IS installed. What does this mean?

ozzy47
11-10-2013, 05:02 PM
I thought so, try adding this to your htaccess file:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Lynne
11-10-2013, 05:02 PM
It means they need to loosen up on the mod_security rules so that you don't get an error when trying to make changes to your phrases.

PokerVillain
11-10-2013, 05:13 PM
I thought so, try adding this to your htaccess file:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Just added this to the .htaccess file in the forums root directory but the same error is being returned when I try to update the phrase.

It means they need to loosen up on the mod_security rules so that you don't get an error when trying to make changes to your phrases.

If I contact the support team how should I word the request- e.g; exactly what would I be instructing/asking them to do?

I appreciate both your responses thus far.

ozzy47
11-10-2013, 05:18 PM
Hmmm, is it mod_security or mod_security2 you are running?

PokerVillain
11-10-2013, 06:19 PM
The host has now whitelisted the domain in mod_security2 and I've been able to successfully update the phrase. Thank you both for all your assistance.

ozzy47
11-10-2013, 06:28 PM
Ok good deal, thanks for reporting back. :)