Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19329

PHP code in the page header after a clear cache

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2011.9
    • Caching
    • None
    • Operating System: RHEL 6
      PHP Version: 5.3.3

    Description

      Hi,

      Sometimes, after a clear cache, a part of PHP code is displayed in all the page header at the first generation of the cache.
      At the second generation of the page when the view cache is generated, the problematic code disapears.

      Example of code in the header :

       $arr_84 ) ) );
      ?>
      

      We find this code in the generated file in the cache folder, example :

      <?php
      $eZTemplateTreeCacheCodeDate = 1044440833;
      
      $arr_0 = array( 2 => "1" );
      $arr_1 = array( "ez_lock/not_locked" );
      
      [....]
      
                                    array( 3,
                                           false,
                                           $arr_82,
                                           $arr_83 ),
                                    array( 2,
                                           false,
                                           " border=\"0\" align=\"middle\" alt=\"\" /></a>\n				",
                                           $arr_84 ) ) );
      ?>
                                      $arr_84 ) ) );
      ?>
      

      The problem is the duplication of the two last lines in the file.

      Best regards,
      Alexandre

      Attachments

        Activity

          People

            unknown unknown
            alex57 alex57
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: