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
[Resolu] FEU : saisie de nouveau users impossible
#10
Merci pour ta réponse, voici le htaccess :
Code :
[== Indéfini ==]
# .htaccess
SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5_3
# Empecher de lire ou accéder au fichier .htaccess
<files .htaccess>
order allow,deny
deny from all
</files>

# Empecher de lire ou accéder au fichier config.php
<Files config.php>
order allow,deny
deny from all
</Files>

#Pour information lire le fichier /doc/htaccess.txt
# la site suivant votre serveur ...
#


# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"

#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off

# (this is important, so uncomment if your host permit)
Options -Indexes
ServerSignature Off
#
Options +FollowSymLinks
#
# Activer les url propres (pretty-url)
# Donc vérifier si le mod_rewrite de votre serveur est actif
#
<IfModule mod_rewrite.c>
RewriteEngine on
#
#RewriteBase /
#Exemple RewriteBase /cmsms - Attention à voir suivant  les hébergement
## ne pas utliser RewriteBase en LOCAL en général

#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>

et le config.php

Code :
[== Indéfini ==]
?php
# CMS Made Simple - Fichier de configuration
# Documentation : /doc/CMSMS_config_reference.pdf
#
$config['php_memory_limit'] = '';
$config['process_whole_template'] = '';
$config['debug'] = false;
$config['output_compression'] = '';
$config['timezone'] = 'Europe/Paris';
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'randokerasrk1.mysql.db';
$config['db_username'] = 'randokerasrk1';
$config['db_password'] = '********';
$config['db_name'] = 'randokerasrk1';
$config['db_port'] = 0;
$config['db_prefix'] = 'as1_';
$config['persistent_db_conn'] = '';
$config['use_adodb_lite'] = '1';
$config['root_url'] = 'http://www.randokerlouan.fr/randokerlouan';
$config['ssl_url'] = 'https://www.randokerlouan.fr/randokerlouan';
$config['root_path'] = '/homez.354/randoker/www/randokerlouan';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/homez.354/randoker/www/randokerlouan/tmp/cache';
$config['uploads_path'] = '/homez.354/randoker/www/randokerlouan/uploads';
$config['uploads_url'] = 'http://www.randokerlouan.fr/randokerlouan/uploads';
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = 'false';
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['image_uploads_path'] = '/homez.354/randoker/www/randokerlouan/uploads/images';
$config['image_uploads_url'] = 'http://www.randokerlouan.fr/randokerlouan/uploads/images';
$config['ssl_uploads_url'] = '/uploads';
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';
$config['set_names'] = true;
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel';
?>


Voila, je me perds un peu dans tous les chemins du config.php, mais je n'y ai jamais touché.
Merci pour ton aide


Messages dans ce sujet

Atteindre :


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