[SPIP Zone] Fabrique ne marche pas avec YAML

Hola polapotes

Avec la SPIP 3.1.0-beta SVN [22240]

La fabrique ne veut pas marcher si j'active YAML

Fabrique 1.20.6 SVN [90317]
YAML 1.5.2 SVN [90317]

Mais c'est peut-être mon PHP ?

PHP info donne

PHP Version 5.6.1
php-osx.liip.ch by Liip (originally developed by www.local.ch)

System Darwin 13.4.0 Darwin Kernel Version 13.4.0

Configure Command
'./configure' '--prefix=/usr/local/php5' '--with-apxs2=/usr/sbin/apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-openssl=/usr' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--with-gd' '--with-ldap' '--with-xmlrpc' '--enable-exif' '--enable-soap' '--enable-sqlite-utf8' '--enable-wddx' '--enable-ftp' '--enable-sockets' '--with-bz2=/usr' '--enable-zip' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-mbstring' '--enable-bcmath' '--enable-calendar' '--with-iodbc' '--with-mhash' '--enable-fpm' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--enable-pcntl' '--enable-dtrace' '--enable-opcache' '--disable-phpdbg' '--with-icu-dir=/usr/local/php5' '--with-mssql=shared,/usr/local/php5' '--with-pdo-dblib=shared,/usr/local/php5' '--with-libxml-dir=shared,/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-imap=shared,../imap-2007f' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-gettext=/usr/local/php5' '--with-curl=shared,/usr/local/php5' '--with-png-dir=/usr/local/php5' '--with-jpeg-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-tidy=/usr/local/php5' '--with-gmp=shared,/usr/local/php5' '--with-readline=shared,/usr/local/php5' 'CC=cc '-L/usr/local/php5/lib' '-I/usr/local/php5/include' '-I/usr/local/php5/include/libxml2' '-I/usr/local/php5/include/tidy' '-DENTROPY_CH_RELEASE=1'' 'CFLAGS=-g '-O' '-mmacosx-version-min=10.8' '-I/usr/local/php5/include' '-arch' '-no-cpp-precomp' '-DENTROPY_CH_ARCHS='''i386/x86_64'''' '-DENTROPY_CH_RELEASE=1'' 'LDFLAGS=-L/usr/local/php5/lib '-arch' 'CXXFLAGS=-arch

Luis

bug.png

Le 16/06/2015 21:21, Luis Speciale a écrit :

Hola polapotes

Avec la SPIP 3.1.0-beta SVN [22240]

La fabrique ne veut pas marcher si j'active YAML

Je ne crois pas avoir eu de problème récemment.

Peux-tu faire afficher les erreurs PHP ?

MM.

Le 17/06/2015 16:01, Matthieu Marcillaud a écrit :

Le 16/06/2015 21:21, Luis Speciale a écrit :

Hola polapotes

Avec la SPIP 3.1.0-beta SVN [22240]

La fabrique ne veut pas marcher si j'active YAML

Je ne crois pas avoir eu de problème récemment.

Peux-tu faire afficher les erreurs PHP ?

Yes

( ! ) Parse error: syntax error, unexpected '<<' (T_SL), expecting ')' in /Library/WebServer/Documents/fonda_bd/plugins/saisies/lang/saisies_fr.php on line 169
Call Stack
# Time Memory Function Location
1 0.0003 267624 {main}( ) ../index.php:0
2 0.0422 4752512 charger_fonction( ) ../index.php:143
3 0.0422 4752960 include_spip( ) ../utils.php:53
4 0.0422 4753136 find_in_path( ) ../utils.php:92
5 0.0426 4775536 include_once( '/Library/WebServer/Documents/fonda_bd/ecrire/exec/fond.php' ) ../utils.php:969
6 0.0431 4855944 include( '/Library/WebServer/Documents/fonda_bd/ecrire/public.php' ) ../fond.php:56
7 0.1004 10862464 include( '/Library/WebServer/Documents/fonda_bd/ecrire/public/evaluer_page.php' ) ../public.php:142
8 0.1004 10882488 eval( '?> 'fabrique', 'image_reduire' => 170, 'date' => '2015-06-17 16:42:28', 'date_default' => true, 'date_redac' => '2015-06-17 16:42:28', 'date_redac_default' => true, ),array('type-page' => 'fabrique', 'composition' => '', 'lang' => 'fr')), array("compil"=>array('../prive/squelettes/page.html','html_a67c2ff92aaa5c3c5d9d482ec8228ea3','',1,$GLOBALS['spip_lang'])), _request("connect")); ?>' ) ../evaluer_page.php:55
9 0.1004 10885712 recuperer_fond( ) ../evaluer_page.php(55) : eval()'d code:10
10 0.1005 10886720 evaluer_fond( ) ../utils.php:2144
11 0.1070 10981024 include( '/Library/WebServer/Documents/fonda_bd/ecrire/public/evaluer_page.php' ) ../assembler.php:521
12 0.1071 11008112 eval( '?> 'fabrique', 'image_reduire' => 170, 'date' => '2015-06-17 16:42:28', 'date_default' => true, 'date_redac' => '2015-06-17 16:42:28', 'date_redac_default' => true, 'type-page' => 'fabrique', 'composition' => '', 'lang' => 'fr', ),array('lang' => 'fr')), array("compil"=>array('../prive/squelettes/structure.html','html_56529b38bf24f9e2d2e7470387bc3e68','',10,$GLOBALS['spip_lang'])), _request("connect")); ?> 'fabrique', 'image_reduire' => 170, 'date' => '2015-06-17 16:42:28', 'date_default' => true, 'date_redac' => '2015-06-17 16:42:28', 'date_redac_default' => true, 'type-page' => 'fabrique', 'composition' => '', 'lang' => 'fr', ),array('lang' => 'fr')), array("compil"=>array('../prive/squelettes/structure.html','html_56529b38bf24f9e2d2e7470387bc3e68','',12,$GLOBALS['spip_lang'])), _request("connect")); ?> ' ) ../evaluer_page.php:55
13 0.1621 13333928 recuperer_fond( ) ../evaluer_page.php(55) : eval()'d code:31
14 0.1621 13334904 evaluer_fond( ) ../utils.php:2144
15 0.1744 13460832 include( '/Library/WebServer/Documents/fonda_bd/ecrire/public/evaluer_page.php' ) ../assembler.php:521
16 0.1745 13504768 eval( '?> '', 'plugins' => 'v=17873&p=a596&themes=spip<r=left&md5b=55dcf48fcf08f9da55b00e83fae08057&couleur_claire=D3D3D3&couleur_foncee=909090', 'lang' => 'fr'), array("compil"=>array('../prive/squelettes/body.html','html_ecd2ec0d24b0f11b50ba545de63b8b63','',2,$GLOBALS['spip_lang'])), _request("connect")); ?>
'fr'), array("compil"=>array('../prive/squelettes/body.html','html_ecd2ec0d24b0f11b50ba545de63b8b63','',4,$GLOBALS['spip_lang'])), _request("connect")); ?>
'fabrique', 'image_reduire' => 170, 'date' => '2015-06-17 16:42:28', 'date_default' => true, 'date_redac' => '2015-06-17 16:42:28', 'date_redac_default' => true, 'type-page' => 'fabrique', 'composition' => '', 'lang' => 'fr', ),array('lang' => 'fr')), array("compil"=>array('../prive/squelettes/body.html','html_ecd2ec0d24b0f11b50ba545de63b8b63','',9,$GLOBALS['spip_lang']),'ajax' => ($v=( 'hierarchie'))?$v:true), _request("connect")); ?>
'fabrique', 'image_reduire' => 170, 'date' => '2015-06-17 16:42:28', 'date_default' => true, 'date_redac' => '2015-06-17 16:42:28', 'date_redac_default' => true, 'type-page' => 'fabrique', 'composition' => '', 'lang' => 'fr', ),array('lang' => 'fr')), array("compil"=>array('../prive/squelettes/body.html','html_ecd2ec0d24b0f11b50ba545de63b8b63','',21,$GLOBALS['spip_lang']),'ajax' => ($v=( 'contenu'))?$v:true), _request("connect")); ?>

'fr'), array("compil"=>array('../prive/squelettes/body.html','html_ecd2ec0d24b0f11b50ba545de63b8b63','',28,$GLOBALS['spip_lang'])), _request("connect")); ?>
' ) ../evaluer_page.php:55
17 0.2633 15850664 recuperer_fond( ) ../evaluer_page.php(55) : eval()'d code:69
18 0.2633 15851728 evaluer_fond( ) ../utils.php:2144
19 0.2708 16021384 include( '/Library/WebServer/Documents/fonda_bd/ecrire/public/evaluer_page.php' ) ../assembler.php:521
20 0.2709 16043872 eval( '?>

••••••••••••••••••••••••••••••••••••

' ) ../evaluer_page.php:55
21 0.2784 16323800 inserer_balise_dynamique( ) ../evaluer_page.php(55) : eval()'d code:17
22 0.2784 16323848 inclure_balise_dynamique( ) ../assembler.php:302
23 0.2784 16324424 recuperer_fond( ) ../assembler.php:320
24 0.2784 16328296 evaluer_fond( ) ../utils.php:2144
25 0.2784 16328296 inclure_page( ) ../assembler.php:517
26 0.2796 16333448 public_produire_page_dist( ) ../assembler.php:242
27 0.2796 16333448 public_parametrer_dist( ) ../assembler.php:268
28 0.2967 16821152 html_a1fcdba5c62cd694080acad593beb830( ) ../parametrer.php:113
29 0.2969 16827232 BOUCLE_editablehtml_a1fcdba5c62cd694080acad593beb830( ) ../composer.php(76) : eval()'d code:38
30 1.8119 21895504 BOUCLE_yamlhtml_a1fcdba5c62cd694080acad593beb830( ) ../composer.php(76) : eval()'d code:126
31 1.8122 21906192 BOUCLE_saisieshtml_a1fcdba5c62cd694080acad593beb830( ) ../composer.php(76) : eval()'d code:42
32 1.8122 21906720 saisies_lister_disponibles( ) ../composer.php(76) : eval()'d code:10
33 1.8143 21911840 saisies_charger_infos( ) ../saisies_lister.php:264
34 1.8355 22199792 _T_ou_typo( ) ../saisies_lister.php:305
35 1.8355 22200432 _T( ) ../spip_bonux_options.php:63
36 1.8355 22201192 inc_traduire_dist( ) ../utils.php:511
37 1.8356 22201792 charger_langue( ) ../traduire.php:141

Le 17/06/2015 16:45, Luis Speciale a écrit :
Hold your horses !!! J'ai trouvé. J'avais une pétouille à Saisies My bad

Désolé Mathieu !!!!!!