close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

/webassist/framework/ajax_wrapper.php error on checkout page all of the sudden on multiple sites...

Thread began 5/22/2019 11:56 am by Justin@AdventDesign | Last modified 5/22/2019 1:52 pm by Ray Borduin | 30 views | 4 replies |

Justin@AdventDesign

/webassist/framework/ajax_wrapper.php error on checkout page all of the sudden on multiple sites...

I tried several threads but to no avail. This has popped up on two different sites (built in tandem mirroring each other closely) at the same time. They are at least three year old sites that haven't had significant work for several years. Made some changes two months ago, but nothing to do with the cart. Client just notified me this AM both sites now throw the following error when trying to 'continue' on the checkout page:

"Not Acceptable
An appropriate representation of the requested resource /webassist/framework/ajax_wrapper.php could not be found on this server.
Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request."

I've confirmed all the /framework/ pages are mirroring what I have locally. I've re-uploaded the ajax_wrapper.php in case there was some sort of a file corruption issue. I've tried to confirm file path though it looks like it pulls from the JS file that gets me a bit lost. It's odd because nothing in that folder has been changed.

Could some sort of server software upgrade throw a wrench in the ecart system from a few years ago? How else can I troubleshoot?

framework folder and checkout page attached.

Sign in to reply to this post

Justin@AdventDesign

See PM for online replication...

Sign in to reply to this post

Ray BorduinWebAssist

Update the framework files to the latest version and this issue should be fixed. I think the two files that need to be updated are:

webassist/framework/javascript/ajax.js
and
webassist/framework/ajax_wrapper.php

I've attached the newest versions for you. Recent updates to the apache mod_security module make some servers block the ajax communication thinking it is malicious. The latest versions have been updated to get around the problem and pass security checks.

Attached Files
ajax.js
ajax_wrapper.php
Sign in to reply to this post

Justin@AdventDesign

That indeed did the trick, thanks Ray!

BTW - Any easy way to force a cache dump of those files? I had to go incognito to get it to pull the new files so any of their customers who recently tried to checkout will have a similar issue I'm guessing.

Sign in to reply to this post

Ray BorduinWebAssist

The php page won't be cached. You could manually update any references to the ajax.js file to add a parameter like: ajax.js?id=2 and that will cause it to be automatically refreshed.

Realistically this isn't a major concern. Unless the user was on your site today and hasn't closed his browser window the cache would be updated next visit to the site.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...