views/helpers/bloc.php est vide views/themed/montheme/helpers/bloc.php existe
lors de l'accès à l'appli http://localhost:82/ : apache crash , puis unkwonw host puis apache reboot ... [Thu Nov 29 10:11:16 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Thu Nov 29 10:11:16 2007] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations [Thu Nov 29 10:11:16 2007] [notice] Server built: Sep 5 2007 08:58:56 [Thu Nov 29 10:11:16 2007] [notice] Parent: Created child process 4392 [Thu Nov 29 10:11:16 2007] [notice] Child 4392: Child process is running [Thu Nov 29 10:11:16 2007] [notice] Child 4392: Acquired the start mutex. [Thu Nov 29 10:11:16 2007] [notice] Child 4392: Starting 250 worker threads. [Thu Nov 29 10:11:16 2007] [notice] Child 4392: Starting thread to listen on port 83. [Thu Nov 29 10:11:16 2007] [notice] Child 4392: Starting thread to listen on port 82. [Thu Nov 29 10:11:16 2007] [notice] Child 4392: Starting thread to listen on port 81. [Thu Nov 29 10:11:16 2007] [notice] Child 4392: Starting thread to listen on port 80. bon c'est dommage :x ca m'oblige à tester dans la methode de mon helper quel thème j'utilise ; c'est "très" moyen :x On Nov 28, 9:43 pm, esion <[EMAIL PROTECTED]> wrote: > Je pense que cake remplacera pour un theme n'importe quel fichier > uniquement s'il est présent dans l'appli originale. > Ce qui donne : > > //controller > $var helpers = array('toto'); > > /views/helpers/toto.php <- helper vide > /views/themed/nom_du_theme/helpers/toto.php <- helper à utiliser > > Dans le cas où il y a un nouveau theme sans l'helper toto spécifié, il > prendra celui par défaut : > /views/helpers/toto.php > > Pour ce qui est du crash tu peux peut être l'indiquer sur le tracker. > > On 28 nov, 20:48, foxmask <[EMAIL PROTECTED]> wrote: > > > Bonjour, > > En parcoucant la class ThemeView je n'ai pas trouvé comment faire un > > Helper spécifique à un thème donné. > > > mon arbo est la suivante : > > view/themed/mytheme/layouts/ > > view/themed/mytheme/lelements/ > > view/themed/mytheme/articles/... > > view/themed/mytheme/blog/... > > etc... > > > mais si je mets mes helpers dans view/themed/mytheme/helpers/ ils ne > > sont pas utilisés > > > il semblerait que les helpers doivent etre ici view/helpers/ mais du > > coup sans la gestion de themes :( > > > normal ? > > Si non comment fais-je ? > > > Si oui donc j'ai repéré un bug avec les helpers qui fait planter > > apache sous windows > > > quand on fait > > > $var helpers = array('toto'); dans app_controller.php > > > si le help toto n'est pas trouver dans le rep view/helper, apache > > crash > > > merci de votre aide. --~--~---------~--~----~------------~-------~--~----~ Groupe "Cakephp-fr". Adresse : [email protected] Pour résilier : [EMAIL PROTECTED] Pour les options : http://groups.google.com/group/cakephp-fr?hl=fr -~----------~----~----~----~------~----~------~--~---
