Scaffolding Path[solved] |
[eluser]r@mtbb_[/eluser]
Hello CI-ers, I've start learning codeigniter this morning, and of course I tried by applying the video tutorials. So, it felt simple until i got to the scaffolding part. I cannot manage mysql table records because scaffolding requests an invalid path (eg. http://localhost/CI/index.php/blog/index...g/delete/0) so I get an extra "index.php/blog/". I am using the latest wamp version, and followed the tutorials step by step. What could be the problem? Update: I figured I can skip this part and then added records to database manually but now I can't retrive query results neither. The code is exactly as in the tutorial and I get this error: Quote:Fatal error: Call to a member function get() on a non-object in C:\wamp\www\CI\system\application\controllers\blog.php on line 17 Update2: The scaffolding problem was solved by defining the base path . Now, there's only the get() issue. Here's the code: Code: class Blog extends Controller { Thanks! //fixed...I wasn't loading the database lib. I was expecting to have that explained in teh tutorial |
Messages In This Thread |
Scaffolding Path[solved] - by El Forum - 12-16-2007, 07:19 AM
Scaffolding Path[solved] - by El Forum - 12-19-2007, 08:22 AM
Scaffolding Path[solved] - by El Forum - 12-19-2007, 08:47 AM
Scaffolding Path[solved] - by El Forum - 01-05-2008, 12:58 PM
|