close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

confirm ecart

Thread began 11/20/2015 4:07 pm by mrobben375515 | Last modified 11/24/2015 3:55 pm by Ray Borduin | 1329 views | 6 replies |

mrobben375515

confirm ecart

We are experiencing the following error on our cart at https://www.cutestpetcontest.com/confirm.php

Fatal error: Call to a member function GetContent() on a non-object in /home/content/05/11651305/html/WA_eCart/WA_eCart_Database_PHP.php on line 6

I notice that any page that I edit which is a previous PS3 page inside Dreamweaver where I only have the new Web Assist tools, I experience this same error. I actually have to go to backups to replace the page as just undoing the code does not reset the page.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like your WA_eCart_Database_PHP.php page has been overwritten... That is supposed to be a library file with a bunch of functions in it, but this file looks like a page from another area of the site. You should replace that file with the original version from the powerstore download.

I'll attach a version you can use in case the download .zip isn't easily accessible.

Attached Files
WA_eCart_Database_PHP.php
Sign in to reply to this post
Did this help? Tips are appreciated...

mrobben375515

I uploaded this file and the cart worked. However, when I edited a text field on the cart.php file I received the same error again. Strangely when I undo the adjustment and upload it again, it still fails. The only way to fix it is to go to backups and download the exact file before it is every changed. This is happening with all the files associated with the ecart process. See the test I did below. The only change on the "-bu" files and uploaded it. It fails. see pm

This works:

https://www.cutestpetcontest.com/Products_Detail.php?ProductID=1 and it redirects to https://www.cutestpetcontest.com/cart.php successfully

This fails:

https://www.cutestpetcontest.com/Products_Detail-bu.php?ProductID=1 which was supposed to redirect to https://www.cutestpetcontest.com/cart-bu.php but it give me the GetContent() error.

Sign in to reply to this post

Ray BorduinWebAssist

Now it looks like your file: WA_eCart/eCart_New_PHP.php got overwritten with content from another page.

You will have to restore that file from a backup, but somehow you are replacing pages with other pages content. I'm not sure the cause, but I've never seen that happen before so I'm pretty sure it isn't Dreamweaver doing it.

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

mrobben375515

It maybe that there is something messed up with my syncing. I see files on the site that should not be there.

Sign in to reply to this post

Ray BorduinWebAssist

Yes that would make sense. Either a sync or ftp issue of some sort overwriting files with the wrong name or content. Very odd... I've never seen anything like that before but it would obviously cause issues.

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

mrobben375515

This post has been deleted.

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