cvs: pear /Perm_LiveUser/docs/examples README /Perm_LiveUser/docs/examples/admin_example README /Perm_LiveUser/docs/examples/example3 index.html
/Perm_LiveUser/docs/examples/example4 index.html /Perm_LiveUser/docs/examples/example5 index.php

From: Date: Fri, 27 Aug 2004 20:16:41 +0000
Subject: cvs: pear /Perm_LiveUser/docs/examples README /Perm_LiveUser/docs/examples/admin_example README /Perm_LiveUser/docs/examples/example3 index.html
/Perm_LiveUser/docs/examples/example4 index.html /Perm_LiveUser/docs/examples/example5 index.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-23375@lists.php.net to get a copy of this message
dufuz Fri Aug 27 16:16:41 2004 EDT Modified files: /pear/Perm_LiveUser/docs/examples README /pear/Perm_LiveUser/docs/examples/admin_example README /pear/Perm_LiveUser/docs/examples/example3 index.html /pear/Perm_LiveUser/docs/examples/example4 index.html /pear/Perm_LiveUser/docs/examples/example5 index.php Log: Updated all the readmes and texts regarding how one should setup the database to get the examples working http://cvs.php.net/diff.php/pear/Perm_LiveUser/docs/examples/README?r1=1.1&r2=1.2&ty=u Index: pear/Perm_LiveUser/docs/examples/README diff -u pear/Perm_LiveUser/docs/examples/README:1.1 pear/Perm_LiveUser/docs/examples/README:1.2 --- pear/Perm_LiveUser/docs/examples/README:1.1 Sun Jun 13 10:30:48 2004 +++ pear/Perm_LiveUser/docs/examples/README Fri Aug 27 16:16:40 2004 @@ -7,6 +7,8 @@ PEAR_DATA_DIRECTORY/liveuser/misc/schema/ +Import perm_db.sql and Auth_DB.sql into the database. + After those two steps you can run the dumps found in every "example" directory. THOSE DUMPS CONTAIN ONLY DATA AND WILL FAIL IF YOU DO NOT RUN THE SCHEMA DUMPS FIRST http://cvs.php.net/diff.php/pear/Perm_LiveUser/docs/examples/admin_example/README?r1=1.2&r2=1.3&ty=u Index: pear/Perm_LiveUser/docs/examples/admin_example/README diff -u pear/Perm_LiveUser/docs/examples/admin_example/README:1.2 pear/Perm_LiveUser/docs/examples/admin_example/README:1.3 --- pear/Perm_LiveUser/docs/examples/admin_example/README:1.2 Sun Apr 25 12:24:09 2004 +++ pear/Perm_LiveUser/docs/examples/admin_example/README Fri Aug 27 16:16:40 2004 @@ -8,10 +8,8 @@ if you use something other then mysql then simply change the db connection string, and report if any errors came while using other then mysql. -create_db.sql + perm_db.sql or perm_db_*.sql * = your db type -Those files are needed to test this example, you can find them in data/sql - -(you get perm_db.sql from /misc/schema) +Make sure you read README from the example root folder and then import create_db.sql to the +test database for each admin_example test. When you read through the config files, then you probly will notice something like this array('sequence_col_name' => 'id') in the MDB[2]. http://cvs.php.net/diff.php/pear/Perm_LiveUser/docs/examples/example3/index.html?r1=1.5&r2=1.6&ty=u Index: pear/Perm_LiveUser/docs/examples/example3/index.html diff -u pear/Perm_LiveUser/docs/examples/example3/index.html:1.5 pear/Perm_LiveUser/docs/examples/example3/index.html:1.6 --- pear/Perm_LiveUser/docs/examples/example3/index.html:1.5 Mon Apr 26 20:27:11 2004 +++ pear/Perm_LiveUser/docs/examples/example3/index.html Fri Aug 27 16:16:40 2004 @@ -36,8 +36,10 @@ driver.</p> <p>To set this up follow these steps:</p> <ol> + <li>Copy the files in this directory into your web root.</li> <li>Configure your DSN and the PEAR path in the conf.php.</li> - <li>Set up a test database by importing demodata.sql and perm_db.sql (from /misc/schema).</li> + <li>Make sure you read README in the examples root folder.</li> + <li>Importing demodata.sql to the test database</li> </ol> <p>If you want to test this example in your local path with out installing LiveUser in PEAR on your server then uncomment these two lines in <b>conf.php</b> and point $path_to_liveuser_dir to live user dir :)<br /> http://cvs.php.net/diff.php/pear/Perm_LiveUser/docs/examples/example4/index.html?r1=1.6&r2=1.7&ty=u Index: pear/Perm_LiveUser/docs/examples/example4/index.html diff -u pear/Perm_LiveUser/docs/examples/example4/index.html:1.6 pear/Perm_LiveUser/docs/examples/example4/index.html:1.7 --- pear/Perm_LiveUser/docs/examples/example4/index.html:1.6 Wed Apr 28 14:58:45 2004 +++ pear/Perm_LiveUser/docs/examples/example4/index.html Fri Aug 27 16:16:40 2004 @@ -38,7 +38,8 @@ <ol> <li>Copy the files in this directory into your web root.</li> <li>Configure your DSN and the PEAR path in the conf.php.</li> - <li>Set up a test database by importing demodata.sql + perm_db.sql (/misc/schema).</li> + <li>Make sure you read README in the examples root folder.</li> + <li>Importing demodata.sql to the test database</li> </ol> <p>If you want to test this example in your local path with out installing LiveUser in PEAR on your server then uncomment these two lines in <b>main.inc.php</b> and point $path_to_liveuser_dir to live user dir :)<br /> http://cvs.php.net/diff.php/pear/Perm_LiveUser/docs/examples/example5/index.php?r1=1.6&r2=1.7&ty=u Index: pear/Perm_LiveUser/docs/examples/example5/index.php diff -u pear/Perm_LiveUser/docs/examples/example5/index.php:1.6 pear/Perm_LiveUser/docs/examples/example5/index.php:1.7 --- pear/Perm_LiveUser/docs/examples/example5/index.php:1.6 Wed Apr 28 15:04:56 2004 +++ pear/Perm_LiveUser/docs/examples/example5/index.php Fri Aug 27 16:16:41 2004 @@ -11,7 +11,14 @@ <div class="content"> <h1>LiveUser Example 5</h1> <p>Please edit conf.php according to your needs and run the sql dump - contained in <br /><code>PEAR_DATA_DIRECTORY/liveuser/misc/schema/perm_sql.sql & PEAR_DATA_DIRECTORY/liveuser/docs/examples/examples5/create_db.sql </code><br /> on a database you created beforehand.</p> + contained in <br /> + <code> + PEAR_DATA_DIRECTORY/liveuser/misc/schema/Auth_DB.sql &amp; + PEAR_DATA_DIRECTORY/liveuser/misc/schema/perm_sql.sql &amp; + PEAR_DATA_DIRECTORY/liveuser/docs/examples/examples5/create_db.sql + </code> + + <br /> on a database you created beforehand.</p> <p>You can use the following commands :</p> <p><code>#mysql -uUSER -p<br /> <span style="font-style: italic">enter password here</span><br />

« previous php.pear.cvs (#23375) next »