Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 1st, 2012, 11:56 AM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #2 (permalink)  
Old January 2nd, 2012, 11:04 AM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:52 PM.


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