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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

adding inventory management; now getting spry error

Thread began 8/15/2014 2:56 pm by vered435903 | Last modified 8/15/2014 5:13 pm by Jason Byrnes | 742 views | 15 replies |

vered435903

adding inventory management; now getting spry error

We are in the process of adding inventory management to our store's admin pages. We followed the tutorial steps, but are now getting JavaScript widget error message on the product_update page. I uploaded it to our website, and when I click on the a product's 'edit' button, I get a blank page with an error message.

When I open the doc in Dreamweaver, I get an error message. I've attached it for your reference.

Thanks for your help!

Sign in to reply to this post

Jason ByrnesWebAssist

that means there is spry validation in place for form elements that have been removed, you will need to remove those spry validation lines.


  I click on the a product's 'edit' button, I get a blank page with an error message.  



what is the error?

Sign in to reply to this post

vered435903

Thanks!

It's not seeing the database table. Here's the error:
Table 'pwp.orders' doesn't exist

Sign in to reply to this post

Jason ByrnesWebAssist

you have to create that table on the remote database

use phpMyAdmin on your local database to export that table,

then use phpMyAdmin on the remote database to import the table.

Sign in to reply to this post

vered435903

I'm confused.... That table exists on our remote database.... Is it case-sensitive? In the database, it's 'Orders' but the error message is 'orders'

Sign in to reply to this post

Jason ByrnesWebAssist

depending on the php environment, it may be case sensitive.

Sign in to reply to this post

vered435903

Yup! That was it! We're back in business! Thanks again for your help!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

vered435903

Okay... now I have another problem... now we're adding the inventory management 'out of stock' element to the cart.... my shopping cart stopped working. I turned on error reporting and it gives me this:


Notice: Undefined variable: eCart1 in /store/cart.php on line 12

Fatal error: Call to a member function GetContent() on a non-object in /store/cart.php on line 12

My concern is that the tutorial asked me to change our cart name from the custom name to $eCart1. I followed the tutorial and renamed all instances in the cart document... the custom name is still in the other supporting documents. I'm assuming this is the problem, but I don't want to change all instances to $eCart1 without confirming with you first.

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

rather than renaming the cart object, you create a new c art object named eCart1.

Sign in to reply to this post
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...