Fichier error.php
Bonjour,
Joomla 3.3
j'ai un fichier error.php qui contient cette ligne : <?php include ('error404.html') ; ?> et un fichier error404.html que j'ai déposé à la racine.
Avec le template Joomla Beez 3 ça fonctionne mais avec le template réalisé avec template créator, ça ne marche pas.
Je sèche.
Merci d'avance.
Joomla 3.3
j'ai un fichier error.php qui contient cette ligne : <?php include ('error404.html') ; ?> et un fichier error404.html que j'ai déposé à la racine.
Avec le template Joomla Beez 3 ça fonctionne mais avec le template réalisé avec template créator, ça ne marche pas.
Je sèche.
Merci d'avance.
by lafeuille
Please Log in or Create an account to join the conversation.
salut
pourquoi tu ne copies pas simplement ton code HTML dans le fichier error.php ?
CEd
pourquoi tu ne copies pas simplement ton code HTML dans le fichier error.php ?
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Merci pour ton retour mais ça ne marche pas mieux. Pour exemple :
Fatal error: Uncaught exception 'RuntimeException' with message 'Unknown column 'new_url' in 'field list' SQL=SELECT `new_url`,`published` FROM `cpl_redirect_links` WHERE `old_url` = ' www.compagnieparislyrique.com/plaquettes/M.Offenbach.pdf ' LIMIT 0, 1' in /home/compagnivh/www/libraries/joomla/database/driver/mysqli.php:613 Stack trace: #0 /home/compagnivh/www/libraries/joomla/database/driver.php(1242): JDatabaseDriverMysqli->execute() #1 /home/compagnivh/www/plugins/system/redirect/redirect.php(74): JDatabaseDriver->loadObject() #2 [internal function]: PlgSystemRedirect::handleError(Object(Exception)) #3 {main} thrown in /home/compagnivh/www/libraries/joomla/database/driver/mysqli.php on line 613
Fatal error: Uncaught exception 'RuntimeException' with message 'Unknown column 'new_url' in 'field list' SQL=SELECT `new_url`,`published` FROM `cpl_redirect_links` WHERE `old_url` = ' www.compagnieparislyrique.com/plaquettes/M.Offenbach.pdf ' LIMIT 0, 1' in /home/compagnivh/www/libraries/joomla/database/driver/mysqli.php:613 Stack trace: #0 /home/compagnivh/www/libraries/joomla/database/driver.php(1242): JDatabaseDriverMysqli->execute() #1 /home/compagnivh/www/plugins/system/redirect/redirect.php(74): JDatabaseDriver->loadObject() #2 [internal function]: PlgSystemRedirect::handleError(Object(Exception)) #3 {main} thrown in /home/compagnivh/www/libraries/joomla/database/driver/mysqli.php on line 613
by lafeuille
Please Log in or Create an account to join the conversation.
tout d'abord tout ceci n'a rien à voir avec template creator
ensuite je ne comprends pas pourquoi ça marche avec protostar et pas un autre template
puis pourquoi aurais-tu une erreur SQL alors que tu n'affiches que tu HTML dans ton fichier ??
ensuite je ne comprends pas pourquoi ça marche avec protostar et pas un autre template
puis pourquoi aurais-tu une erreur SQL alors que tu n'affiches que tu HTML dans ton fichier ??
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
tout d'abord tout ceci n'a rien à voir avec template creator
C'est ce que je pensais aussi, et je ne demande pas mieux que de continuer à penser ceci, je l'ai déjà dit haut et fort, je suis un fan de template créator.
Le truc c'est que j'ai fait sur le même site de nombreux tests avec d'autres templates (protostar, beez3, beez2, allrounder... et cela fonctionne (?) franchement je suis désolé de t'ennuyer mais je ne capte pas.
Pour exemple, voici deux sites redirigés exactement de la même façon sous Joomla 3 mais avec des templates qui ne viennent pas de template créator (cela ne saurait tarder et ça marche...
www.campinglesfloralies.com/error-test.htm
www.dinardolympiquenatation.com/error-test.htm
Last Edit:9 years 5 months ago
by lafeuille
Last edit: 9 years 5 months ago by lafeuille. Reason: grosse fôte d'orthographe
Please Log in or Create an account to join the conversation.
moi aussi j'essaie de comprendre
si tu prends le fichier error.php de bootstrap et que tu le mets dans le template créé avec template creator, est-ce que ça marche ? ça ça doit marcher, d'autres l'ont déjà fait aussi
si tu prends le fichier error.php de bootstrap et que tu le mets dans le template créé avec template creator, est-ce que ça marche ? ça ça doit marcher, d'autres l'ont déjà fait aussi
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.735 seconds