Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning PHP 5.3
|
BOOK: Beginning PHP 5.3
This is the forum to discuss the Wrox book Beginning PHP 5.3 by Matt Doyle; ISBN: 978-0-470-41396-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 5.3 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 September 21st, 2011, 02:34 AM
Authorized User
 
Join Date: Jun 2011
Posts: 51
Thanks: 9
Thanked 0 Times in 0 Posts
Send a message via MSN to nawar youssef
Default shopping_cart.php in Dosn't work exactly

shopping_cart.php in Dosn't work exactly in my browser, I copied it and pasted it in the editor and save it in the root folder, it shows but when I click the addItem or removeItem links, the following error shows :

The website encountered an error while retrieving http://localhost/shopping_cart.php?a...em&productId=3. It may be down for maintenance or configured incorrectly.

any body knows whats the problem here?
thanks
 
Old September 21st, 2011, 09:27 AM
Authorized User
 
Join Date: May 2010
Posts: 70
Thanks: 4
Thanked 6 Times in 6 Posts
Send a message via Yahoo to GeneBuchite
Default Shopping Cart

The error is in your link to the database, check how you connect to your mysql database and change the link.
 
Old September 22nd, 2011, 12:20 AM
Authorized User
 
Join Date: Jun 2011
Posts: 51
Thanks: 9
Thanked 0 Times in 0 Posts
Send a message via MSN to nawar youssef
Default thx, but ..

in this example we did not work with databases, we still save the information in the session that is what the example is about, and I am using the book files source code, and the book doesn't talk about database in chapter 10.
do you have any other idea ?
thank you
 
Old September 22nd, 2011, 07:12 AM
Authorized User
 
Join Date: May 2010
Posts: 70
Thanks: 4
Thanked 6 Times in 6 Posts
Send a message via Yahoo to GeneBuchite
Default Book Code

sorry for the bumb info yesterday.

The book code I downloaded Works fine on my machine.
I would try downloading the code again, then run it before you make any changes to the code.

if you want to, post your code and I will check it in my browser.
Good Luck!





Similar Threads
Thread Thread Starter Forum Replies Last Post
shopping_cart.php does not run RonInNewYork BOOK: Beginning PHP 5.3 1 July 31st, 2011 01:40 PM
zxml dosn't work at i9, please help rafal BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 0 May 12th, 2011 01:20 PM
integrated windows dosn't work well ms_kout ASP.NET 2.0 Professional 0 May 27th, 2007 02:01 AM
php does not work help!!! p2ptolu PHP How-To 2 March 23rd, 2005 03:51 AM





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