First off Thank you for creating REDBeanPHP! I heard of it when installing DevShell. Now here is my problem with the tutorial.
1. I can't figure out how to preload the database. My server is linux so R::setup(); should work.
2. Everything else in the tutorial appears to work, as I can create the tags obviously without Joe, Pete, or Lenny since they are not there to select.
3. I went through other posts concerning the tutorial but did not see a similar question.
4. Here is my init.php file:
<?php
require('rb.php');
R::setup();
R::nuke();
foreach(array('Joe','Pete','Lenny') as $p) {
$person = R::dispense('person');
$person->name = $p;
R::store($person);
}
foreach(array('Feature','Bug','Research') as $c) {
$category = R::dispense('category');
$category->label = $c;
R::store($category);
}
$task = R::dispense('task');
$task->description = 'Deploy';
R::store($task);
?>