J'ai installé easyphp avec andy's knowledge base il y a qq jours.
J'ai donc mis andy's dans le www de easyphp et lorsque je connecte le logiciel, firefox me renvoie : "Could not select the database: Base 'akb' inconnue".
J'ai trouvé un tuto sur le site d'andy's :
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Installing on Windows, please see the wintip.txt file.
Where 'apache' is the name of the webserver user. Examples: www-data, nobody, apache etc.
2. Edit the akb.sql file and create the Database
INSERT INTO categories VALUES (1, 'aphpkb', 0, 'Y');
INSERT INTO categories VALUES (2, 'Linux', 0, 'Y');
INSERT INTO categories VALUES (3, 'Installation', 1, 'Y');
INSERT INTO categories VALUES (4, 'Applications', 0, 'Y');
INSERT INTO categories VALUES (5, 'MySQL', 4, 'Y');
INSERT INTO categories VALUES (6, 'Windows', 0, 'Y');
INSERT INTO categories VALUES (7, 'Debian', 2, 'Y');
INSERT INTO categories VALUES (8, 'UbuntuLinux', 2, 'Y');
# mysql -u [database user]
mysql> create database akb;
mysql> use akb;
mysql> exit
# mysql -u [database user] akb < akb.sql
3. Knowledgebase setup
Access:
http://your-url-to-aphpkb/a_setup.php
By default the access details for the knowledgebase admin are:
user: admin
passwd: changeme123
Fill out the form to your requirements for the knowledgebase, and the access details for your MySQL system.
Once submitted, this will write to the config.php file.
If you have any problems with permissions when accessing the config.php file, you can access it directly /path-to-aphpkb/docs/config.php
4. You should now be ready to access your knowledgebase and create articles and categories.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Le fichier wintip.txt dit ceci :
Windows tips to Install aphpkb
Most of the more complicated install issues with aphpkb relate to file
permissions, which is one aspect you probably won't have much worries
with Apache under Windows. All you will need to do:
Extract the aphpkb tar ball ( I use tar and gunzip from
http://unxutils.sourceforge.net/ )
> gunzip aphpkb-version.tgz
> tar xvf aphpkb-version.tar
in Apache's document root.
You will need to create the database and insert the sql file provided in
C:\PATH-TO-APHPKB\docs\ Whilst using MySQL directly is good practice on the
command-line, I like using phpmyadmin for creating and setting up the
database: http://www.phpmyadmin.net/home_page/index.php
Access http://your-url-to-aphpkb/a_setup.php by default the auth settings are : admin/changeme123
Once you have the settings written, you should be ready to go.
-------------------------------------------------------------------------------------------------------------------------------------------------
Bon alors je n'ai pas de chemin : "C:\PATH-TO-APHPKB\docs\"
C'est donc compliquer d'y mettre le fichier sql.
De plus on me demande de créer la data base mais comment fait t-on?
J'ai bien inséré ces lignes dans le fichier akb.sql :
INSERT INTO categories VALUES (1, 'aphpkb', 0, 'Y');
INSERT INTO categories VALUES (2, 'Linux', 0, 'Y');
INSERT INTO categories VALUES (3, 'Installation', 1, 'Y');
INSERT INTO categories VALUES (4, 'Applications', 0, 'Y');
INSERT INTO categories VALUES (5, 'MySQL', 4, 'Y');
INSERT INTO categories VALUES (6, 'Windows', 0, 'Y');
INSERT INTO categories VALUES (7, 'Debian', 2, 'Y');
INSERT INTO categories VALUES (8, 'UbuntuLinux', 2, 'Y');
# mysql -u [database user]
mysql> create database akb;
mysql> use akb;
mysql> exit
# mysql -u [database user] akb < akb.sql
Donc voilà il n'y a pas des masses d'infos sur ce soft sur le net. Donc je galère.
Avez-vous une idée?
Merci
-
redzen
- Messages : 41