Re: Getting Started
"David Godsey" <liveuser-dCP2xzvwr4TLiC/[email protected]> Wed, 30 Nov 2005 07:45:08 -0700 (MST)
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
As far as getting the examples to work (I figure I should get them to work before I continue), I followed the instructions given by demodata.php, and nothing gets populated in the database. I created a database called liveuser_test_example5 and I gave demodata these parameters: demodata.php?dsn=mysql://root:xxxxxx@localhost/liveuser_test_example5&file=example5/demodata.xml&create=1 Then after a few print_r on variables, it appears my parameters are showing up correctly in the right variables, so that is not the problem. The problem appears to occur at this line: $res = $manager->updateDatabase($file, false, $variables); apprx line 151 in demodata.php. Are there some things I need to set up for that function to work? I realize that MDB2_Schema is not your project, however if you have any hints as what to look for I would appreciate it. So Back to what i did: print "just checking"; $res = $manager->updateDatabase($file, false, $variables); print "do I get here?"; and only just checking prints out. Pretty simple test, but I now know that the problem appears to be with that function (which is the main function of this script). David Godsey > David Godsey wrote: >> I am just getting started with LIveUser. I have LiveUser and >> LiveUser_Admin installed. I will be using them with a Mysql Database. >> I >> am looking for the database schema for the user and permissions tables. >> I >> found this: >> http://www.backendmedia.com/LiveUser/liveuser_db_schema.png >> >> Is that still current? If so, what are the datatypes associated with >> the >> different fields? > > For the most part yes. IIRC only the has_scope columns has been dropped > >> have been unsuccessful at getting the examples to work, and that is >> probably why I still have these questions. Any help would be great. >> >> Accomplishing the impossible means only that the boss will add it to >> your >> regular duties. > > have you looked at the documentation? > http://pear.php.net/manual/en/package.authentication.liveuser.liveuser-summary.php > > AS for the examples there is a README .. > > if you are looking for a file with a bunch of SQL commandos. There is > none that we maintain, though its is possible to generate one. We want > to be compatible with a wide range of databases and therefore its simply > not feasible for us to maintain SQL files instead of the install.php > based solution. > > > _______________________________________________ > LiveUser mailing list > [email protected] > http://mailman.21st-hq.de/mailman/listinfo/liveuser > Accomplishing the impossible means only that the boss will add it to your regular duties. David Godsey