Welcome Guest, Not a member yet? Register   Sign In
Announcing Bonfire - A jumpstart for your web apps
#41

[eluser]kilishan[/eluser]
[quote author="Ruud Jonk" date="1301951568"]Ahh,

Looks like I just the wrong repo. Now I use ci-bonfire/Bonfire and it worked.

Thanks[/quote]

Glad to hear it!
#42

[eluser]JBMaverick[/eluser]
I think this is a great resource for starting a new project. Thanks for all your hard work on it. I do have a problem, and I'm not sure how to fix. I tried to register as a new user on the front end and got the following error:
Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI::$user_model

Filename: MX/Controller.php

Line Number: 57

Fatal error: Call to a member function insert() on a non-object in E:\wamp\www\CHL\bonfire\application\core_modules\users\controllers\users.php on line 144

I noticed the Users class extends the Front_Controller which extends the Base controller which extends the MX_Controller. I may be missing something, but it seems the User_Model, as a result, is not getting loaded on the front end.
#43

[eluser]kilishan[/eluser]
It sounds like it's not connecting to your database. Two things to check:

1) Make sure that you downloaded from http://github.com/ci-bonfire/Bonfire, not from my (OLD) personal repo. The personal repo will be dying soon.... maybe sooner than I planned since I think this is directly related to it. Smile
2) Make sure that the database settings in both config/database.php and config/development/database.php are correct for your environment.

Let me know if you still have troubles.
#44

[eluser]kilishan[/eluser]
Ignore that previous remark. I need sleep and didn't read the post right. Smile

You're correct. It looks like that's a casualty of me moving things around while working on the installer. I'll get that fixed and in the repo tonight.
#45

[eluser]JBMaverick[/eluser]
OK, sounds good. As a side note, I did find a few more php short tags in bonfire/application/core_modules/database/views/developer/index.php, lines 39, 41 & 42. I saw you still have an open github ticket for it, but just thought I'd let you know, since I had to replace them to get them to work correctly.
#46

[eluser]kilishan[/eluser]
Both the short tags and the user registration issues should be cleared up now. I also fixed a bug with the form_validation not working now that I had rearranged things. It's all in the repo.
#47

[eluser]JBMaverick[/eluser]
Thanks. Works great!
#48

[eluser]Ruud Jonk[/eluser]
Hello Lonnie,

Maybe an idea for bonfire, can you make it so that when you run the installer you can also add the database prefix? I know you can set this up for all the databases after you run the installer, but then you will still have some tables using the bf prefix.(tables added in the 001_Install_initial_tables.php) It would be nice if everything is using the same prefix.
#49

[eluser]kilishan[/eluser]
[quote author="Ruud Jonk" date="1302137471"]Hello Lonnie,

Maybe an idea for bonfire, can you make it so that when you run the installer you can also add the database prefix? I know you can set this up for all the databases after you run the installer, but then you will still have some tables using the bf prefix.(tables added in the 001_Install_initial_tables.php) It would be nice if everything is using the same prefix.[/quote]

That's a great idea. I modified that last night (have been without internet access here at home for 2 days) and also pulled all of the install code into a core_module (where it should have been all along.)

Currently, am working on building out a testing framework to use with it. It's combining ideas from Toast, FuelCMS and SimpleTest. Have basic unit testing working (though, ironically enough, not fully tested yet) and will be starting on the Web_Tester next to allow testing generated pages, forms, etc. I'm pretty excited to actually have a testing framework that works with all of this stuff!
#50

[eluser]Ruud Jonk[/eluser]
Wow, thats great. Will keep an eye on the repo Smile




Theme © iAndrew 2016 - Forum software by © MyBB