Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Sujet : No input file specified

Bonjour, voila j'ai envoyé mon site : watest.toile-libre.org
Il marche bien en localhost, j'ai changé les données pour la abse de données et la j'ai une erreur "No input file specified. "

J'ai regardé sur google il semble que cela viennent de mes .htaccess, je code en MVC
Voici mes .htaccess :

DOSSIER PRINCIPAL :
RewriteEngine On
RewriteBase /
RewriteRule (.*) webroot/$1 [L]

WEBROOT :
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*)$ index.php/$1 [L]


J'ai essaye /index.php/$1 [L] ça marche pas
J'ai essayé index.php?/$1 [L] ça donne watest.toile-libre.org/page/page/page...
J'ai casiment tous essayé ça n'a pas fonctionné, auriez vous une idée ?
Merci

Thumbs up Thumbs down


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/web/4/0/forum.toile-libre.org/htdocs/include/parser.php on line 738

Re : No input file specified

ça fais 2 mois que je cherche la solution , voila : ouvrir ton:  ''.htaccess'' et met ça :

Options +FollowSymLinks
RewriteEngine on

#Sub-dir e.g: /cmsms
RewriteBase /                    wink    ( si dans le local met /tonsite et si en ligne laisse la comme elle est )  wink
#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]


c'est tester  big_smile

Thumbs up Thumbs down