ChangeSet ID: 30887
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/01/17 20:35:16
Modified files:
. : testResults.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Language fixes
Patch: http://cvs.winehq.org/patch.py?id=30887
Old revision New revision Changes Path
1.25 1.26 +2 -2 appdb/testResults.php
Index: appdb/testResults.php
diff -u -p appdb/testResults.php:1.25 appdb/testResults.php:1.26
--- appdb/testResults.php:1.25 18 Jan 2007 2:35:16 -0000
+++ appdb/testResults.php 18 Jan 2007 2:35:16 -0000
@@ -180,9 +180,9 @@ else // if ($aClean['sSub']) is not defi
{
// help
echo "<div align=center><table width='90%' border=0 cellpadding=3 cellspacing=0><tr><td>\n\n";
- echo "<p>This is the list of Test Results waiting for submition, or to be deleted.</p>\n";
+ echo "<p>This is the list of test results waiting to be accepted or deleted.</p>\n";
echo "<p>To view a submission, click on its name. From that page you can delete or edit and\n";
- echo "re-submit it into the AppDB .<br>\n";
+ echo "re-submit it into the AppDB.<br>\n";
echo "</td></tr></table></div>\n\n";
$oTest->ShowListofTests($hResult,"Submitted Testing Results");
ChangeSet ID: 30884
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/01/17 20:25:14
Modified files:
. : README
Log message:
Chris Morgan <cmorgan(a)alum.wpi.edu>
Improve setup instructions to remind the user about mysql user and permissions that must be set
so the appdb works properly
Patch: http://cvs.winehq.org/patch.py?id=30884
Old revision New revision Changes Path
1.9 1.10 +9 -0 appdb/README
Index: appdb/README
diff -u -p appdb/README:1.9 appdb/README:1.10
--- appdb/README:1.9 18 Jan 2007 2:25:14 -0000
+++ appdb/README 18 Jan 2007 2:25:14 -0000
@@ -21,8 +21,17 @@ To install locally for testing/hacking:
used in the table creation step below is "apidb", you'll have to modify
these files if you change this in config.php
+# NOTE: if you've changed the name of the database by changing the define of
+ 'APPS_DB' in include/config.php you'll have to modify the 'create database' and 'use'
+ entries in pretty much every file in the /tables/ directory. The recommendation is to
+ leave the default value of APPS_DB to keep things simple
# cd tables, run ./create_tables to create the database tables
+# Look in include/config.php at the 'APPS_DBUSER' and 'APPS_DBPASS' defines.
+ Ensure that this user and password exist in your mysql users list and that this user
+ has been granted 'SELECT', 'INSERT', 'UPDATE' and 'DELETE' privileges on the database
+ defined by the value of 'APPS_DB' in include/config.php
+
# Try to open up localhost/appdb, if you get a directory listing
Edit your /etc/apache/httpd.conf "DirectoryIndex" to include index.php
so apache will open index.php after not finding index.html/index.htm etc
ChangeSet ID: 30883
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/01/17 19:40:12
Modified files:
. : queueditems.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Fix display of queueditems.php by not including filter.php twice
Patch: http://cvs.winehq.org/patch.py?id=30883
Old revision New revision Changes Path
1.1 1.2 +6 -10 appdb/queueditems.php
Index: appdb/queueditems.php
diff -u -p appdb/queueditems.php:1.1 appdb/queueditems.php:1.2
--- appdb/queueditems.php:1.1 18 Jan 2007 1:40:12 -0000
+++ appdb/queueditems.php 18 Jan 2007 1:40:12 -0000
@@ -4,20 +4,16 @@
* A list of the user's queued items
*/
-require("path.php");
-require(BASE."include/incl.php");
-require(BASE."include/filter.php");
-require(BASE."include/appData.php");
-
-apidb_header("View Your Queued Items");
+require_once("path.php");
+require_once(BASE."include/incl.php");
+require_once(BASE."include/appData.php");
$oUser = new User($_SESSION['current']->iUserId);
if(!$oUser->isLoggedIn())
-{
- echo "You need to log in to display your queued items.";
- apidb_footer();
-}
+ util_show_error_page_and_exit("You need to log in to view your queued items.");
+
+apidb_header("View Your Queued Items");
/* Test data */
if($sResult = testData::listSubmittedBy($oUser->iUserId))