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 1st, 2012, 11:56 AM
Registered User
 
Join Date: Jan 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down Keep Getting errors thrown back

Hi all,

I keep getting errors thrown back when using the category and product views, I don't know if anyone else has had these series of errors but its now getting rather frustrating.

I am using WAMP to test locally and I have set up a folder in which my project will be compiled. To start with I could not get the "anchors to work until I put "index.php" into the config file which now includes it in the url such as "localhost/new-site/index.php/welcome/cat/2 which works fine but looks messy.

Any way this is not the problem in hand;

when I try to run the model mcats it throws an invalid argument about "id_clean" (taken directly from source code download) which then removed the offending statement and corrected the parentheses as you would but now when trying to load the category view i'm getting a series of errors -

Severity: Notice

Message: Undefined variable: listing

Filename: views/category.php

Line Number: 6

and

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: views/category.php

Line Number: 6

A similar problem is happening with the product views.

Can anyone help as this is getting rather annoying to work with.

Thank you

Paul
 
Old January 2nd, 2012, 11:04 AM
Registered User
 
Join Date: Jan 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hi all

I have gone over the book with a lot of detail and followed it exactly and I still get stuck at the same error, please if anyone has had this problem or solved it, it would be great, up to now I have never read a php book that has so many problems till now, so people if you know please post.

Ps I am also a newby when it comes to codeigniter.





Similar Threads
Thread Thread Starter Forum Replies Last Post
VC# 2005 Express Errors NOT being thrown dparsons C# 2005 1 May 9th, 2007 07:37 AM
Autosuggest Exception thrown jellie BOOK: Professional Ajax ISBN: 978-0-471-77778-6 3 March 14th, 2006 10:19 AM
Catching exceptions thrown from an event... jacob C# 5 December 6th, 2005 12:48 PM
Exception thrown Invalid_Viewstate r_ganesh76 ASP.NET 1.0 and 1.1 Professional 1 December 2nd, 2005 04:32 PM





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