This topic is locked

Error message HTTP406 when editing a record

2/27/2007 7:41:42 AM
PHPRunner General questions
M
mkyle1 author

Hi,
I keep getting Error message HTTP406 when editing a record. Please can anyone advise what is causing this as it is becoming very frustrating
Thanks, Martin

J
Jane 2/27/2007

Martin,
to say what's happening I need the original error message.

IE hides error message and show its own.

You should go to the Tools --> Internet Options --> Advanced in the IE (Internet Explorer) and uncheck "Show friendly HTTP error messages" option.

Then reproduce your error and post full error message.

M
mkyle1 author 2/27/2007

Hi,

I keep getting Error message HTTP406 when editing a record. Please can anyone advise what is causing this as it is becoming very frustrating
Thanks, Martin


Hi,
error message as promised.
Not Acceptable

An appropriate representation of the requested resource /ucanphp/admin/driver_edit.php could not be found on this server.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at www.ucanverify.com Port 80
Thanks, Martin

Alexey admin 2/28/2007

Martin,
make sure that /ucanphp/admin/driver_edit.php file is at your server.

Try to rebuild your project and upload the pages once more.

M
mkyle1 author 2/28/2007

Hi, I rebuilt the project and put everything back on the server. I think I have found the issue. It is now related to when I try to add a user with an aol email address. (e.g martin@aol.com). Could this be a bug in the code as all other combinations of email seem to work ok without getting the error
Thanks, Martin

J
Jean 2/28/2007

I met such a frustrating problem. As the PHPrunner support couldn't help me (for the first time), after a long quest I found something that solved my problem and could perhaps solve yours :
add a line to the .htaccess file in the main directory where stays the phprunner stuff (create .htaccess if it doesn't exist) :

SecFilterEngine Off
It will deactivate an Apache's filter. In my case, it was effective.
Jean

Alexey admin 3/1/2007

Martin,
please publish your project at Demo account server and try to reproduce the error there.

After doing give me a URL to your pages at Demo account along with instructions on reproducing the error.
Send them to support@xlinesoft.com
The Publish on Demo Account button is on the last tab in PHPRunner.

M
mkyle1 author 3/1/2007

Hi,
Jean's suggestion worked. Thanks ever so much. How did you come to this solution in the first place.
Thanks, Martin <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=15936&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />

J
Jean 8/14/2007

Martin,
For security reasons I think it would be better to try first

<IfModule mod_security.c>

SecFilterScanPOST On

SetEnvIfNoCase Content-Type \

"^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"

</IfModule>


If it failes, try

<IfModule mod_security.c>

SecFilterScanPOST Off

</IfModule>


and only if it failes too, try :

<IfModule mod_security.c>

SecFilterEngine Off

</IfModule>
J
jrdrummond 6/13/2009

This error has turned up again on my web-site when I attempt to "export selected records"
It doesn't happen when I use the same code and database on the demo site
It doesn't happen to all the PHPRunner projects on my site (http://www.candac.ca hosted by Canadianwebhosting)
Adding a ".htacess" with any of the scripts above does not change the situation.
Any suggestions from anyone? Any to at least find out what the problem is?
The exact error message is:

==========================================

Not Acceptable
An appropriate representation of the requested resource /insertpubs/publications_export.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.

Z
zilviukas 8/21/2009



This error has turned up again on my web-site when I attempt to "export selected records"
It doesn't happen when I use the same code and database on the demo site
It doesn't happen to all the PHPRunner projects on my site (http://www.candac.ca hosted by Canadianwebhosting)
Adding a ".htacess" with any of the scripts above does not change the situation.
Any suggestions from anyone? Any to at least find out what the problem is?
The exact error message is:

==========================================

Not Acceptable
An appropriate representation of the requested resource /insertpubs/publications_export.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.

==========================================


Hello,
I have exactly the same error message, like mentioned in the quoted text above. It happens only when exporting. I can see the export page with Excel, Word, CSV, etc selection, but after selecting output format and clicking "export", a described message appears.
Registered version of PHPRunner 5.1.0.2370
Thank you for your support! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=43584&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

J
Jane 8/24/2009

Hi,
I recommend you to send URL to your pages along with detailed description to support@xlinesoft.com.