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
Probléme JS dans l'admin: mauvaise URL dans une requete
#9
Cela est une conséquence du bug sur le panneau d'administration:
Je ne peux plus changer les pages par défaut.


Le config.php
Code :
[== PHP ==]
$config['dbms'] = 'mysqli';
$config['db_hostname'] = '*******';
$config['db_username'] = '*******';
$config['db_password'] = '********';
$config['db_name'] = '***********';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'Europe/Paris';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '';
$config['query_var'] = 'page';
$config['root_path'] = '/app';
$config['root_url'] = 'http://www.sirail.fr';
$config['ssl_url']='https://www.sirail.fr';
$config['admin_url']='https://www.sirail.fr/admin';

#Désactiver REGISTER_GLOBALS
SetEnv REGISTER_GLOBALS 0
#Désactiver Magixc Quotes
SetEnv MAGIC_QUOTES 0
#Activer PHP5
SetEnv PHP_VER 5_5
# BEGIN Expire headers



Le .htaccess
Code :
[== Indéfini ==]
Options +FollowSymLinks  -Indexes
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]


#fix for bug on fonts
AddType application/vnd.ms-fontobject    .eot
AddType application/x-font-opentype      .otf
AddType image/svg+xml                    .svg
AddType application/x-font-ttf           .ttf
AddType application/font-woff            .woff
AddType application/font-woff2           .woff2

<IfModule mod_headers.c>
  <FilesMatch ".(eot|otf|svg|ttf|woff|woff2)$">
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>


Messages dans ce sujet

Atteindre :


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