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

How can I remove the php file extentions from ecart?

Thread began 2/23/2021 7:18 am by Robert Crespo | Last modified 2/24/2021 12:28 pm by Ray Borduin | 38 views | 10 replies |

Robert Crespo

How can I remove the php file extentions from ecart?

Greetings WebAssist team!

I have a question related to the functionality of the checkout pages. I recently updated my servers .htaccess file to ignore all php file extensions for a cleaner look, for better SEO, and to hide the programming language underlying my websites. All went well with this project except when it comes to the checkout pages. For some reason, when you get to www.mywebsite/checkout, the confirm_cart.php file does not get loaded after one enters the customer address information. I "fixed" the issue by having all references to the checkout pages to include the php extension, as in www.mywebsite/checkout.php. Any suggestions as to how to get this to work will be greatly appreciated as usual. : )

Thank you,
Robert Crespo

Sign in to reply to this post

Ray BorduinWebAssist

I'm not sure why it didn't work. If you give me a url to see the issue then I might be able to spot what is wrong.

Sign in to reply to this post
Did this help? Tips are appreciated...

Robert Crespo

Hello Ray,

It will be hard to recreate this on the live server as I do not want to prevent anyone from completing a sale. Locally, I did get an error message at the top of the shopping cart on the checkout page, right below the NEXT button.

Warning: chdir(): No such file or directory (errno 2) in C:\wamp64\www\newreptilesncritters\webassist\framework\ajax_wrapper.php on line 22

Does this help narrow it down?

Sign in to reply to this post

Ray BorduinWebAssist

It implies that it can't find the file. I'd have to debug it live.

Sign in to reply to this post
Did this help? Tips are appreciated...

Robert Crespo

Ray, can we try this tomorrow? It's getting late here and I need to prepare for some downtime on my website.

Sign in to reply to this post

Ray BorduinWebAssist

Yes. Talk to you then

Sign in to reply to this post
Did this help? Tips are appreciated...

Robert Crespo

Ray, good morning to you. We can try and diagnose this issue anytime you are ready. I have posted the exact paths in the private message area.

Sign in to reply to this post

Ray BorduinWebAssist

Yes, I'd need ftp information to look into this further.

Sign in to reply to this post
Did this help? Tips are appreciated...

Robert Crespo

See private message.

Based on the error message on the checkout page, the issue seems like it is on the ajax_wrapper.php page on line 22.

Sign in to reply to this post

Ray BorduinWebAssist

I made a small change to ajax_wrapper.php in order to address this issue.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

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