Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
[Résolu] OVH, base de données et fichier config.php !
#8
Je ne vois pas d'erreur de type oubli de ;

Par contre ca ne serait pas une erreur d'accès ? Ce truc-là : "Modifier les permissions à 444 du fichier "config.php" , c'est quoi au juste ?
Ca serait ceci à changer : $config['default_upload_permission'] = '664'; ? (voir plus bas)


Voilà mon fichier config :


<?php

$config['php_memory_limit'] = '';
$config['process_whole_template'] = false;
$config['debug'] = false;
$config['output_compression'] = false;

$config['dbms'] = 'mysql';
$config['db_hostname'] = 'xxx';
$config['db_username'] = 'xxx';
$config['db_password'] = 'xxxxxx';
$config['db_name'] = 'xxx';

$config["db_port"] = '';
$config['db_prefix'] = 'v01_';
$config['persistent_db_conn'] = false;
$config['use_adodb_lite'] = true;

$config['root_url'] = 'http://www.ovh.com';
$config['ssl_url'] = 'http://www.ovh.com';
$config['root_path'] = $_SERVER['DOCUMENT_ROOT'];
$config['admin_dir'] = 'admin';
$config['previews_path'] = $_SERVER['DOCUMENT_ROOT'].'/tmp/cache';
$config['uploads_path'] = $_SERVER['DOCUMENT_ROOT'].'/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';


$config['max_upload_size'] = 2000000;
$config['default_upload_permission'] = '664';

$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;


$config['url_rewriting'] = 'none';
$config['page_extension'] = '';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';

$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = 'C:/Program Files/VisualMagick/bin/';
$config['image_uploads_path'] = '/www.monsite.fr/monrepertoire_cmsms/uploads/images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
$config['ssl_uploads_url'] = '/uploads';


$config['locale'] = '';
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';

$config['set_names'] = true;
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php/...dmin_Panel';

?>


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)