Pages : 1
#1 Le 20/03/2008, à 14:08
- titienne
je n'arrive pas a installé ecolemusiquev2
bonjour a tous
je n'arrive pas a installé ecolemusiquev2
voici le lien : http://adullact.net/projects/eemusique/
j'ai bien installé LAMP et phpmyadmin fonctionne bien.
j'ai copier le contenue de l'archive dans /var/www/
et j'ai entré dans firefox 127.0.0.1/EcoleMusiquev2
mais il y a des erreur php
quelqu'un peut-il m'aider ???
Hors ligne
#2 Le 20/03/2008, à 14:54
- titimaster
Re : je n'arrive pas a installé ecolemusiquev2
Quelles sont les erreurs évoquée ?
Merci de toujours donner le maximum d'éléments.
Hors ligne
#3 Le 20/03/2008, à 15:24
- titienne
Re : je n'arrive pas a installé ecolemusiquev2
aprés avoir renseigné le fichier : cake/libs/model/datasources/dbo/dbo_mysql.php
il me propose de telecharger un fichier "xxxxxxxx.phtml" ("x" chage a chaque fois)
ce fichier contient exatement index.php (je rapelle que php fonctionne).
Hors ligne
#4 Le 20/03/2008, à 18:52
- titienne
Hors ligne
#5 Le 20/03/2008, à 22:08
- Swal
Re : je n'arrive pas a installé ecolemusiquev2
Je pense que ton apache ne prends pas en compte les .phtml. Il les renvoie bêtement d'ou le code php que tu reçoit...
Essaye de rajouter le type phtml dans un .htaccess ou le httpd.conf d'apache :
AddType application/x-httpd-php .phtml
Hors ligne
#6 Le 22/03/2008, à 12:37
- titienne
Re : je n'arrive pas a installé ecolemusiquev2
non ce n'ai pas ca en plus j'ai tous recommencé et voici ce qui se passe :
Warning (2): mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 100]
Context | Code
$config = array("persistent" => false, "host" => "localhost", "login" => "root", "password" => "", "database" => "ecolemusique02_dev", "port" => "3306", "connect" => "mysql_pconnect", "driver" => "mysql", "encoding" => "utf8", "prefix" => "")
$connect = "mysql_pconnect"
$this->connected = false;
if (!$config['persistent'] || $config['connect'] === 'mysql_connect') {
$this->connection = mysql_connect($config['host'] . ':' . $config['port'], $config['login'], $config['password'], true);
Warning (2): mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 100]
Context | Code
$config = array("persistent" => false, "host" => "localhost", "login" => "root", "password" => "", "database" => "ecolemusique02_dev", "port" => "3306", "connect" => "mysql_pconnect", "driver" => "mysql", "encoding" => "utf8", "prefix" => "")
$connect = "mysql_pconnect"
$this->connected = false;
if (!$config['persistent'] || $config['connect'] === 'mysql_connect') {
$this->connection = mysql_connect($config['host'] . ':' . $config['port'], $config['login'], $config['password'], true);
} else {
mysql_connect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 100
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 400
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 295
require - CORE/app/webroot/index.php, line 83
[main] - CORE/index.php, line 75
Warning: fopen(/home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 110
Warning: [File] Could not open /home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log with mode a! in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 111
Warning (2): mysql_select_db(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 105]
Context | Code
$config = array("persistent" => false, "host" => "localhost", "login" => "root", "password" => "", "database" => "ecolemusique02_dev", "port" => "3306", "connect" => "mysql_pconnect", "driver" => "mysql", "encoding" => "utf8", "prefix" => "")
$connect = "mysql_pconnect"
$this->connection = $connect($config['host'], $config['login'], $config['password']);
}
if (mysql_select_db($config['database'], $this->connection)) {
$this->connected = true;
mysql_select_db - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 105
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 400
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 295
require - CORE/app/webroot/index.php, line 83
[main] - CORE/index.php, line 75
Warning: fopen(/home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 110
Warning: [File] Could not open /home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log with mode a! in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 111
Warning (2): mysql_query(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 133]
Context | Code
$sql = "SET NAMES utf8"
* @access protected
*/
function _execute($sql) {
return mysql_query($sql, $this->connection);
}
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 133
DboMysql::setEncoding() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 444
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 110
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 400
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 295
require - CORE/app/webroot/index.php, line 83
[main] - CORE/index.php, line 75
Warning: fopen(/home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 110
Warning: [File] Could not open /home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log with mode a! in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 111
Fatal error: Call to undefined function ldap_connect() in /home/etienne/Bureau/www/EcoleMusiquev2/app/models/ldap_user.php on line 61
} else {
mysql_connect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 100
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 400
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 295
require - CORE/app/webroot/index.php, line 83
[main] - CORE/index.php, line 75
Warning: fopen(/home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 110
Warning: [File] Could not open /home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log with mode a! in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 111
Warning (2): mysql_select_db(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 105]
Context | Code
$config = array("persistent" => false, "host" => "localhost", "login" => "root", "password" => "", "database" => "ecolemusique02_dev", "port" => "3306", "connect" => "mysql_pconnect", "driver" => "mysql", "encoding" => "utf8", "prefix" => "")
$connect = "mysql_pconnect"
$this->connection = $connect($config['host'], $config['login'], $config['password']);
}
if (mysql_select_db($config['database'], $this->connection)) {
$this->connected = true;
mysql_select_db - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 105
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 400
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 295
require - CORE/app/webroot/index.php, line 83
[main] - CORE/index.php, line 75
Warning: fopen(/home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 110
Warning: [File] Could not open /home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log with mode a! in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 111
Warning (2): mysql_query(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 133]
Context | Code
$sql = "SET NAMES utf8"
* @access protected
*/
function _execute($sql) {
return mysql_query($sql, $this->connection);
}
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 133
DboMysql::setEncoding() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 444
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 110
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 90
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 107
Model::setDataSource() - CORE/cake/libs/model/model.php, line 1974
Model::__construct() - CORE/cake/libs/model/model.php, line 378
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 400
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 295
require - CORE/app/webroot/index.php, line 83
[main] - CORE/index.php, line 75
Warning: fopen(/home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 110
Warning: [File] Could not open /home/etienne/Bureau/www/EcoleMusiquev2/app/tmp/logs/error.log with mode a! in /home/etienne/Bureau/www/EcoleMusiquev2/cake/libs/file.php on line 111
Fatal error: Call to undefined function ldap_connect() in /home/etienne/Bureau/www/EcoleMusiquev2/app/models/ldap_user.php on line 61
Hors ligne