[Résolu] Erreur 404

Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
#1
Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: 1.12.x
#~ Url du site :
#~ Hébergeur / Soft : Netensia
#~ Informations Système :
#~ ----------------------------------------------
#~ Cms Version: 1.12
#~ Installed Modules:
#~ CMSMailer: 5.2.2
#~ FileManager: 1.4.5
#~ MenuManager: 1.8.6
#~ ModuleManager: 1.5.8
#~ News: 2.15.1
#~ Printing: 1.1.1
#~ Search: 1.7.12
#~ ThemeManager: 1.1.8
#~ TinyMCE: 2.9.12
#~ CGExtensions: 1.49.9
#~ FormBuilder: 0.8.1.2
#~ SitePusher: 0.1
#~ CGSimpleSmarty: 1.9.1
#~ MysqlDump: 1.3.1
#~ SiteMapMadeSimple: 1.2.8
#~ Map: 0.2.3
#~ jQuery: 1.1.0
#~ CMSPrinting: 1.0.5
#~ MicroTiny: 1.2.9
#~ Config Information:
#~ php_memory_limit:
#~ process_whole_template:
#~ max_upload_size: 2000000
#~ url_rewriting: mod_rewrite
#~ page_extension: .html
#~ query_var: page
#~ image_manipulation_prog: GD
#~ auto_alias_content: false
#~ locale: fr.FR-utf-8
#~ default_encoding: utf-8
#~ admin_encoding: utf-8
#~ set_names: true
#~ Php Information:
#~ phpversion: 5.5.9-1ubuntu4.13
#~ md5_function: On (Vrai)
#~ gd_version: 2
#~ tempnam_function: On (Vrai)
#~ magic_quotes_runtime: Off (Faux)
#~ E_STRICT: 0
#~ E_DEPRECATED: 0
#~ memory_limit: 128M
#~ max_execution_time: 30
#~ output_buffering: 4096
#~ safe_mode: Off (Faux)
#~ file_uploads: On (Vrai)
#~ post_max_size: 8M
#~ upload_max_filesize: 2M
#~ session_save_path: Aucune vérification à cause de la restriction spécifiée par PHP open_basedir
#~ session_use_cookies: On (Vrai)
#~ xml_function: On (Vrai)
#~ xmlreader_class: On (Vrai)
#~ Server Information:
#~ Server Api: cgi-fcgi
#~ Server Db Type: MySQL (mysql)
#~ Server Db Version: 5.5.44
#~ Server Db Grants: Trouvé un privilège "GRANT ALL" qui semble être adapté
#~ Server Time Diff: Aucune différence de date du système de fichiers trouvées
#~ ----------------------------------------------
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~



Bonjour à tous,
Je viens vers vous car j'ai un souci sur un site internet en ligne,
En effet, ma page d'accueil fonctionne parfaitement bien, en revanche lorsque je souhaite entrer dans mes pages de contenus, j'ai une erreur 404, ce qui est tonnant puisque jusqu'à présent tout fonctionnait parfaitement.

Également, lorsque je souhaite créer une page, quand je clique sur "ENVOYER", j'ai une page blanche qui s'affiche...

Merci d'avance.
Cordialement.
#1
Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: 1.12.x
#~ Url du site :
#~ Hébergeur / Soft : Netensia
#~ Informations Système :
#~ ----------------------------------------------
#~ Cms Version: 1.12
#~ Installed Modules:
#~ CMSMailer: 5.2.2
#~ FileManager: 1.4.5
#~ MenuManager: 1.8.6
#~ ModuleManager: 1.5.8
#~ News: 2.15.1
#~ Printing: 1.1.1
#~ Search: 1.7.12
#~ ThemeManager: 1.1.8
#~ TinyMCE: 2.9.12
#~ CGExtensions: 1.49.9
#~ FormBuilder: 0.8.1.2
#~ SitePusher: 0.1
#~ CGSimpleSmarty: 1.9.1
#~ MysqlDump: 1.3.1
#~ SiteMapMadeSimple: 1.2.8
#~ Map: 0.2.3
#~ jQuery: 1.1.0
#~ CMSPrinting: 1.0.5
#~ MicroTiny: 1.2.9
#~ Config Information:
#~ php_memory_limit:
#~ process_whole_template:
#~ max_upload_size: 2000000
#~ url_rewriting: mod_rewrite
#~ page_extension: .html
#~ query_var: page
#~ image_manipulation_prog: GD
#~ auto_alias_content: false
#~ locale: fr.FR-utf-8
#~ default_encoding: utf-8
#~ admin_encoding: utf-8
#~ set_names: true
#~ Php Information:
#~ phpversion: 5.5.9-1ubuntu4.13
#~ md5_function: On (Vrai)
#~ gd_version: 2
#~ tempnam_function: On (Vrai)
#~ magic_quotes_runtime: Off (Faux)
#~ E_STRICT: 0
#~ E_DEPRECATED: 0
#~ memory_limit: 128M
#~ max_execution_time: 30
#~ output_buffering: 4096
#~ safe_mode: Off (Faux)
#~ file_uploads: On (Vrai)
#~ post_max_size: 8M
#~ upload_max_filesize: 2M
#~ session_save_path: Aucune vérification à cause de la restriction spécifiée par PHP open_basedir
#~ session_use_cookies: On (Vrai)
#~ xml_function: On (Vrai)
#~ xmlreader_class: On (Vrai)
#~ Server Information:
#~ Server Api: cgi-fcgi
#~ Server Db Type: MySQL (mysql)
#~ Server Db Version: 5.5.44
#~ Server Db Grants: Trouvé un privilège "GRANT ALL" qui semble être adapté
#~ Server Time Diff: Aucune différence de date du système de fichiers trouvées
#~ ----------------------------------------------
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~



Bonjour à tous,
Je viens vers vous car j'ai un souci sur un site internet en ligne,
En effet, ma page d'accueil fonctionne parfaitement bien, en revanche lorsque je souhaite entrer dans mes pages de contenus, j'ai une erreur 404, ce qui est tonnant puisque jusqu'à présent tout fonctionnait parfaitement.

Également, lorsque je souhaite créer une page, quand je clique sur "ENVOYER", j'ai une page blanche qui s'affiche...

Merci d'avance.
Cordialement.
#2
Vider le cache et lancer les différents outils de "réorganisation" (index) des pages
#2
Vider le cache et lancer les différents outils de "réorganisation" (index) des pages
#3
revoir ton htaccess ou ta config serveur ou ton fichier config.php
J-C Etiemble v 2.2.xx
#3
revoir ton htaccess ou ta config serveur ou ton fichier config.php
J-C Etiemble v 2.2.xx
#4
gmassart a écrit :Vider le cache et lancer les différents outils de "réorganisation" (index) des pages

Qu'entends-tu par outils de "réorganisation" (index) des pages ?
#4
gmassart a écrit :Vider le cache et lancer les différents outils de "réorganisation" (index) des pages

Qu'entends-tu par outils de "réorganisation" (index) des pages ?
#5
jce76350 a écrit :revoir ton htaccess ou ta config serveur ou ton fichier config.php

Mon .htaccess


----------------------------------------------------------------------------------------

# BEGIN Optional settings

# Turns off directory browsing
# not absolutely essential, but keeps people from snooping around without
# needing empty index.html files everywhere
Options -Indexes

# Deny access to config.php
# This can be useful if php ever breaks or dies
# Use with caution, this may break other functions of CMSms that use a config.php
# file. This may also break other programs you have running under your CMSms
# install that use config.php. You may need to add another .htaccess file to those
# directories to specifically allow config.php.
<Files "config.php">
order allow,deny
deny from all
</Files>

# Sets your 403 error document
# not absolutely essential to have,
# or you may already have error pages defined elsewhere
ErrorDocument 403 /forbidden403.shtml

# No sense advertising what we are running
ServerSignature Off

# END Optional Settings

# BEGIN CMSMS and Rewrite Rules
# Make sure you have Options FollowSymLinks
# and Allow on

RewriteEngine On
RewriteBase /

# URL Filtering helps stop some hack attempts
#IF the URI contains a "http:"
RewriteCond %{QUERY_STRING} http\: [OR]
#OR if the URI contains a "["
RewriteCond %{QUERY_STRING} \[ [OR]
#OR if the URI contains a "]"
RewriteCond %{QUERY_STRING} \] [OR]
#OR if the URI contains a "<script>"
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
#OR script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
#OR any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^.*$ - [F,L]
# END Filtering

# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
# END CMSMS
# END Rewrite rules

----------------------------------------------------------------------------------------


Ma config.php est nickel et ma config php serveur: SuPHP

Merci !
#5
jce76350 a écrit :revoir ton htaccess ou ta config serveur ou ton fichier config.php

Mon .htaccess


----------------------------------------------------------------------------------------

# BEGIN Optional settings

# Turns off directory browsing
# not absolutely essential, but keeps people from snooping around without
# needing empty index.html files everywhere
Options -Indexes

# Deny access to config.php
# This can be useful if php ever breaks or dies
# Use with caution, this may break other functions of CMSms that use a config.php
# file. This may also break other programs you have running under your CMSms
# install that use config.php. You may need to add another .htaccess file to those
# directories to specifically allow config.php.
<Files "config.php">
order allow,deny
deny from all
</Files>

# Sets your 403 error document
# not absolutely essential to have,
# or you may already have error pages defined elsewhere
ErrorDocument 403 /forbidden403.shtml

# No sense advertising what we are running
ServerSignature Off

# END Optional Settings

# BEGIN CMSMS and Rewrite Rules
# Make sure you have Options FollowSymLinks
# and Allow on

RewriteEngine On
RewriteBase /

# URL Filtering helps stop some hack attempts
#IF the URI contains a "http:"
RewriteCond %{QUERY_STRING} http\: [OR]
#OR if the URI contains a "["
RewriteCond %{QUERY_STRING} \[ [OR]
#OR if the URI contains a "]"
RewriteCond %{QUERY_STRING} \] [OR]
#OR if the URI contains a "<script>"
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
#OR script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
#OR any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^.*$ - [F,L]
# END Filtering

# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
# END CMSMS
# END Rewrite rules

----------------------------------------------------------------------------------------


Ma config.php est nickel et ma config php serveur: SuPHP

Merci !
#6
Je reviens vers vous parce que je désespère vraiment...
Ce que je trouve étonnant c'est que ma page d'accueil est visible et mes pages intérieurs ont une erreur...

J'ai comparer avec un autre site sous cmsms, réalisé à la même periode et il ont la même configuration sur le .htacces et le config.php...

La seule différence c'est que celui avec les erreur 404 est en mode php: suPHP et l'autre qui fonctionne parfaitement est en Mod-PHP.

Si je modifie celui qui plante en Mod-PHP, j'ai une erreur :

The following directories must be writable by the web server:
tmp/cache
tmp/templates_c

Please correct by executing:
chmod 777 tmp/cache
chmod 777 tmp/templates_c
or the equivilent for your platform before continuing.

Sad Sad Sad
#6
Je reviens vers vous parce que je désespère vraiment...
Ce que je trouve étonnant c'est que ma page d'accueil est visible et mes pages intérieurs ont une erreur...

J'ai comparer avec un autre site sous cmsms, réalisé à la même periode et il ont la même configuration sur le .htacces et le config.php...

La seule différence c'est que celui avec les erreur 404 est en mode php: suPHP et l'autre qui fonctionne parfaitement est en Mod-PHP.

Si je modifie celui qui plante en Mod-PHP, j'ai une erreur :

The following directories must be writable by the web server:
tmp/cache
tmp/templates_c

Please correct by executing:
chmod 777 tmp/cache
chmod 777 tmp/templates_c
or the equivilent for your platform before continuing.

Sad Sad Sad
#7
J'ai écris le 23/10/2015 13:54:45 "ou ta config serveur "
J-C Etiemble v 2.2.xx
#7
J'ai écris le 23/10/2015 13:54:45 "ou ta config serveur "
J-C Etiemble v 2.2.xx
#8
C'est effectivement la config de mon serveur.
Le AllowOverride était sur None...
#8
C'est effectivement la config de mon serveur.
Le AllowOverride était sur None...
#9
Hé oui ..... :/
J-C Etiemble v 2.2.xx
#9
Hé oui ..... :/
J-C Etiemble v 2.2.xx


Atteindre :


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