( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0014413808{main}( ).../index.php:0
20.08514272616Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.380312888344Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.380612888288Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.380612888664Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.380612888664Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.380812888760Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.381312926392require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.387413282608GKTemplate->__construct( ).../component.php:31
100.402913419616GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.403713463880require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0014413808{main}( ).../index.php:0
20.08514272616Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.380312888344Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.380612888288Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.380612888664Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.380612888664Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.380812888760Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.381312926392require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.387413282608GKTemplate->__construct( ).../component.php:31
100.405513586624GKTemplateMenu->getMenuType( ).../gk.framework.php:85
probleme de cookie suite à migration SPIP 3
Logo
Print this page

probleme de cookie suite à migration SPIP 3

  • Merci, 
    les tutos que tu m’a montré m’ont permis de résoudre partiellement mon problème .

    Création d’un fichier mes_options.php dans le répertoires ’config’
    en ajoutant comme ligne de code

    1. <?php
    2. if (function_exists("date_default_timezone_set"))
    3. date_default_timezone_set("Europe/Paris");
    4.  
    5. ini_set('display_errors','Off');
    6. ?>

    Télécharger

    ensuite lorsque je veux accéder à mon espace privée pour la première fois je désactive le fichier mes_options.php pour l’authentification puis je le réactive quand je suis logué sur l’espace privée . 
    et j’évite de me déconnecter afin de préserver mon cookie

    Je suis conscients que ce n’est pas très élaboré comme solution 
    mais en attendant une mise à jour de spip je n’en vois pas d’autre.


  • Pense aussi à enregistrer "mes_options.php" au format utf-8 sans BOM (avec Notepad++ par exemple). Cela n’a peut être rien à voir, mais j’ai vu que quelqu’un mentionnait ce point sur ces forum. Or j’ai eu récemment un bug qui m’a pris la tête pendant une demi-journée à cause de ça : mon machin marchait en local mais pas chez mon hébergeur. Je voyais bien que cela venait de ce fichier mais pas quelle était la ligne fautive. J’ai fini par vider totalement le fichier, à l’exception de

    1. <?php ?>

    et l’erreur subsistait ! C’était ce fichu format...

     

    结尾?>不要有空格


( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0014405264{main}( ).../index.php:0
20.14801323480Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.14801323480Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.43592969688Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.43662991528Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.43863046856Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.43923063912require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.45223208000K2ControllerItem->execute( ).../k2.php:64
90.45223208000K2ControllerItem->display( ).../BaseController.php:710
100.47513477080K2ControllerItem->display( ).../item.php:78
110.47513477080K2ControllerItem->display( ).../controller.php:19
120.47933495600Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.48293516016K2ViewItem->display( ).../ViewController.php:102
140.58774186888K2ViewItem->display( ).../view.html.php:742
150.58774186888K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.59224361288include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Rate this item
    (0 votes)
  • Published in SPIP
  • Read 2950 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0014405264{main}( ).../index.php:0
20.14801323480Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.14801323480Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.43592969688Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.43662991528Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.43863046856Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.43923063912require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.45223208000K2ControllerItem->execute( ).../k2.php:64
90.45223208000K2ControllerItem->display( ).../BaseController.php:710
100.47513477080K2ControllerItem->display( ).../item.php:78
110.47513477080K2ControllerItem->display( ).../controller.php:19
120.47933495600Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.48293516016K2ViewItem->display( ).../ViewController.php:102
140.58774186888K2ViewItem->display( ).../view.html.php:742
150.58774186888K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.59224361288include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.