Wrox Programmer Forums
BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8
This is the forum to discuss the Wrox book Professional CodeIgniter by Thomas Myer; ISBN: 9780470282458
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 4th, 2009, 06:23 PM
Registered User
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ajax Cart update Undefined Property


I've reached the Ajax section of building a shopping cart but get this error when clickin update. It does say moentarily that "1 record's updated" but above that it displays this...

A PHP Error was encountered
Severity: Notice
Message: Undefined property: MOrders::$566.85
Filename: models/morders.php
Line Number: 73
Anyone know what may be causing this?

So frustrating!


Last edited by modelreject; January 4th, 2009 at 06:43 PM..
Old March 16th, 2009, 10:04 AM
Wrox Author
Join Date: May 2008
Posts: 53
Thanks: 0
Thanked 5 Times in 5 Posts

Hmmm, I don't think that you should be passing in a dollar symbol ($) there, just plain numbers. It looks like the model is trying to turn your passed in value into a PHP variable.
Thomas Myer
Author, Professional CodeIgniter

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shopping cart doesn't update repero BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 14 June 4th, 2012 07:47 AM
Chapter 7 : Cannot update a cart item Qiaona Jin BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 January 3rd, 2009 05:23 AM
Does the CssClass property works with AJAX ? tedhill BOOK: Beginning Ajax with ASP.NET 2 December 16th, 2006 08:53 AM
Shopping Cart quantity update problem j2 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 August 21st, 2006 02:39 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.