Bonjour,
ce weekend, j'ai mis à jour wampserver vers la version 3.0.4 en passant, entre autre, vers PHP 7.0.7.
Le frontend de mon site en 3.5.1 fonctionnait très bien, mais il m'était impossible d'accéder aux différents menus du backend (extension, contenu, etc). J'obtenais ça :
Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 22
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 23
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\menu.php on line 94
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
14 2.4938 10035608 JAdminCssMenu->addSeparator( ) ...\default_enabled.php:27
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 28
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\menu.php on line 94
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
14 2.5190 10053320 JAdminCssMenu->addSeparator( ) ...\default_enabled.php:33
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 34
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
Je ne sais pas ce que ça veux dire.
J'ai donc comparé ma configuration précédente de PHP à la nouvelle. "Display errors" était décoché. Je l'ai donc décoché et tout est rentré dans l'ordre. J'ai à nouveau accès à mon backend sans problème.
Bonne journée
ce weekend, j'ai mis à jour wampserver vers la version 3.0.4 en passant, entre autre, vers PHP 7.0.7.
Le frontend de mon site en 3.5.1 fonctionnait très bien, mais il m'était impossible d'accéder aux différents menus du backend (extension, contenu, etc). J'obtenais ça :
Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 22
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 23
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\menu.php on line 94
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
14 2.4938 10035608 JAdminCssMenu->addSeparator( ) ...\default_enabled.php:27
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 28
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\menu.php on line 94
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
9 2.4530 9841024 JDocumentRendererHtmlModule->render( ) ...\modules.php:42
10 2.4532 9841640 JModuleHelper::renderModule( ) ...\module.php:93
11 2.4589 9867560 include( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\mod_menu.php' ) ...\helper.php:190
12 2.4646 9932608 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default.php' ) ...\mod_menu.php:30
13 2.4676 10033768 require( 'C:\wamp\www\essai351\administrator\modules\mod_me nu\tmpl\default_enabled.php' ) ...\default.php:14
14 2.5190 10053320 JAdminCssMenu->addSeparator( ) ...\default_enabled.php:33
( ! ) Notice: Only variables should be passed by reference in C:\wamp\www\essai351\administrator\modules\mod_men u\tmpl\default_enabled.php on line 34
Call Stack
# Time Memory Function Location
1 0.0005 362448 {main}( ) ...\index.php:0
2 0.0866 2540432 JApplicationCms->execute( ) ...\index.php:51
3 2.2908 9552832 JApplicationAdministrator->render( ) ...\cms.php:263
4 2.2909 9552920 JApplicationCms->render( ) ...\administrator.php:433
5 2.3162 9744104 JDocumentHtml->render( ) ...\cms.php:1068
6 2.3162 9744104 JDocumentHtml->_renderTemplate( ) ...\html.php:477
7 2.4528 9840528 JDocumentHtml->getBuffer( ) ...\html.php:697
8 2.4528 9840616 JDocumentRendererHtmlModules->render( ) ...\html.php:411
Je ne sais pas ce que ça veux dire.
J'ai donc comparé ma configuration précédente de PHP à la nouvelle. "Display errors" était décoché. Je l'ai donc décoché et tout est rentré dans l'ordre. J'ai à nouveau accès à mon backend sans problème.
Bonne journée
Commentaire