Skip to content

Commit

Permalink
Rename phprojekt6 to phprojekt only.
Browse files Browse the repository at this point in the history
Change error message
  • Loading branch information
Gustavo Solt committed Dec 15, 2008
1 parent 811ab64 commit 3c7dcc8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions phprojekt/INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
folder outside the ones accessed by your HTTP server.

$ tar xzvf phprojekt.tar.gz
$ cp -R phprojekt6/* /srv/www/
$ cp -R phprojekt/* /srv/www/

Use your favorite packaging tool on Windows under an appropriate path "C:\phprojekt\"

Expand All @@ -38,14 +38,14 @@
UNIX /srv/www/htdocs/
WINDOWS C:\phprojekt\htdocs\

3. Create a database on your MySQL server (e.g. phprojekt6). Make sure that the
3. Create a database on your MySQL server (e.g. phprojekt). Make sure that the
database user that you want to use has the rights to load files.
An example:

$ mysql -u root -p
mysql> CREATE DATABASE 'phprojekt6';
mysql> CREATE USER 'phprojekt6'@'localhost' IDENTIFIED BY 'phprojekt6_secret';
mysql> GRANT ALL PRIVILEGES ON 'phprojekt6'.* TO 'phprojekt6'@'localhost';
mysql> CREATE DATABASE 'phprojekt';
mysql> CREATE USER 'phprojekt'@'localhost' IDENTIFIED BY 'phprojekt_secret';
mysql> GRANT ALL PRIVILEGES ON 'phprojekt'.* TO 'phprojekt'@'localhost';

4. Database:

Expand All @@ -55,8 +55,8 @@
and load it into the database. You might want to use MySQL Administration tools
or PHPMyAdmin. You can also use the command line to do so:

$ mysql -u phprojekt6 -p
mysql> use phprojekt6;
$ mysql -u phprojekt -p
mysql> use phprojekt;
mysql> \. /srv/www/docs/blank_database.sql

3. Configuration
Expand Down
14 changes: 7 additions & 7 deletions phprojekt/configuration.ini-dist
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ database.host = "localhost"
; Username and password with the appropriate rights for Phprojekt to access to
; the database.
database.username = "p6-user"
database.password = "phprojekt6"
database.password = "phprojekt"

; Name of the database, inside the server
database.name = "phprojekt6"
database.name = "phprojekt"


; LOG
Expand Down Expand Up @@ -99,8 +99,8 @@ uploadpath = "C:\Programme\Zend\Apache2\htdocs\phprojekt\tmp\"
database.type = "pdo_mysql"
database.host = "localhost"
database.username = "p6-user"
database.password = "phprojek6"
database.name = "phprojekt6-testing"
database.password = "phprojekt"
database.name = "phprojekt-testing"

; Log options
log.debug.filename = "C:\Programme\Zend\Apache2\htdocs\phprojekt\logs\debug.log"
Expand Down Expand Up @@ -133,12 +133,12 @@ uploadpath = "C:\Programme\Zend\Apache2\htdocs\phprojekt\tmp\"
database.type = "pdo_mysql"
database.host = "localhost"
database.username = "p6-user"
database.password = "phprojekt6"
database.password = "phprojekt"
database.name = "unittest"

; Log options
;log.debug.filename = "C:\Programme\Zend\Apache2\htdocs\phprojektlogs\debug_test.log"
;log.crit.filename = "C:\Programme\Zend\Apache2\htdocs\phprojektlogs\crit_test.log"
;log.debug.filename = "C:\Programme\Zend\Apache2\htdocs\phprojekt\logs\debug_test.log"
;log.crit.filename = "C:\Programme\Zend\Apache2\htdocs\phprojekt\logs\crit_test.log"

; Modules
itemsPerPage = 3
Expand Down
2 changes: 1 addition & 1 deletion phprojekt/htdocs/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
Zend_Registry::set('config', $config);
} catch (Zend_Config_Exception $error) {
$error->getMessage();
echo 'You need to continue the file configuration.ini';
echo 'You need the file configuration.ini to continue';
die();
}

Expand Down

0 comments on commit 3c7dcc8

Please sign in to comment.