close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkout Cart Preview / Form Fields error? Warning: chdir(): No such file or directory (errno 2) in ..... \ajax_wrapper.php

Thread began 4/20/2017 7:13 pm by Hernán Basile | Last modified 4/21/2017 12:31 pm by Ray Borduin | 82 views | 4 replies |

Hernán Basile

Checkout Cart Preview / Form Fields error? Warning: chdir(): No such file or directory (errno 2) in ..... \ajax_wrapper.php

Hi guys, it's been a while! I have been looking into this and I couldn't find any solution so I decided to give it a try here. Everything was working just fine but suddenly an error started happening. I can give you online access if needed. This is an online site that is still under development and the error is happening both online and in localhost. When I get to the checkout page where I am suppose to complete the billing information and get to see a non editable preview of the items on cart, as soon as I click on the Street form field I get the error that I will copy and paste below. Error doesn't show if I click on First Name, Last Name, Email, Phone and Street 2 fields. It only happens with Street, State, Country, City and Zip Code. Maybe a validation issue? Don't know. The error message is displayed where the preview cart is, so it replaces the cart with the error, as follows (see attachment for more details):

Warning: chdir(): No such file or directory (errno 2) in /home/xxxxxxxx/public_html/webassist/framework/ajax_wrapper.php on line 22
Warning: require(confirm_cart.php): failed to open stream: No such file or directory in /home/xxxxxxxxx/public_html/webassist/framework/ajax_wrapper.php on line 32

Fatal error: require(): Failed opening required 'confirm_cart.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/xxxxxxxxxx/public_html/webassist/framework/ajax_wrapper.php on line 32

I have also uploaded a php page with the current working directory code (see private).
And I have also tried creating a complete fresh new site running the checkout wizard on a new localhost location and I had the same ajax_wrapper issue.

I can provide FTP or cPanel access for you guys. Please help if you can, thanks much!

Sign in to reply to this post

Ray BorduinWebAssist

Where is the add to cart page? I'll have to go through and reproduce the problem and I can't see a way to add items currently.

Sign in to reply to this post

Hernán Basile

Hi, see private. Just follow the steps

Sign in to reply to this post

Ray BorduinWebAssist

The mod rewrite to remove the .php from the page name in the url confused the script into thinking checkout was the folder name and not the page name. I updated the ajax_wrapper.php file to account for that.

Sign in to reply to this post

Hernán Basile

You are the best! thanks much Ray.
PS: this is why I choose Webassist... great software developed by great people!!!

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