Issue Bug Closed

#47682PHP Parse error 'unexpected end of file' in cache_core/* files

Josef F. Glatz (Old User) 04/29/13, 09:24 updated 05/02/13, 21:59

Description

Problem

There are php errors while testing TYPO3 6-1-0 RC1 and TYPO3 6-2dev (current master) in ClassLoader…, ext_tables…, tca_base…

Errors

PHP Parse error:  syntax error, unexpected end of file in typo3temp/Cache/Code/cache_core/ext_tables_867070552da707efd4cd03d194390b3efa857b5b.php on line 2654, referer: http://foobar/typo3/backend.php
PHP Parse error:  syntax error, unexpected end of file in typo3temp/Cache/Code/cache_core/tca_base_ff88bb59d3a4aa7180ca3352105b178c1fc76a25.php on line 7956, referer: http://foobar/typo3/index.php

Manual temporary solving problems

remove # from last line of file where error appears. After the cache is is flushed, everything starts again from the beginning.

Testing Environment

Errors appear in following both Debian test environments!

  • Debian Wheezy 64bit RC1 (and also)
  • Debian Squeeze 64bit
  • PHP 5.4
  • Apache 2.2.22
  • MySQL 5.5.30-1.1-log
>
### DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST : local.opendo.at
TYPO3_HOST_ONLY : local.opendo.at
TYPO3_PORT :
PATH_INFO :
QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI : /typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER : http://local.opendo.at/typo3/install/index.php?TYPO3_INSTALL[type]=systemEnvironment
TYPO3_REQUEST_HOST : http://local.opendo.at
TYPO3_REQUEST_URL : http://local.opendo.at/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://local.opendo.at/typo3/install/index.php
TYPO3_REQUEST_DIR : http://local.opendo.at/typo3/install/
TYPO3_SITE_URL : http://local.opendo.at/
TYPO3_SITE_SCRIPT : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL :
TYPO3_REV_PROXY :
SCRIPT_NAME : /typo3/install/index.php
TYPO3_DOCUMENT_ROOT : /vagrant
SCRIPT_FILENAME : /vagrant/typo3/install/index.php
REMOTE_ADDR : 172.16.1.1
REMOTE_HOST :
HTTP_USER_AGENT : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31
HTTP_ACCEPT_LANGUAGE: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
CONST: PHP_OS : Linux
CONST: TYPO3_OS :
CONST: PATH_thisScri: /vagrant/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 6.2-dev
OTHER: PHP_VERSION : 5.4.4-14
imagecreatefromgif(): 1
imagecreatefrompng(): 1
imagecreatefromjpeg(: 1
imagegif() : 1
imagepng() : 1
imagejpeg() : 1
imagettftext() : 1
OTHER: IMAGE_TYPES : 15
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Apache
SERVER: GATEWAY_INTE: CGI/1.1
SERVER: SCRIPT_NAME : /typo3/install/index.php
SERVER: PATH_TRANSLA:
T3CV_GFX: image_proc: 1
T3CV_GFX: gdlib : 1
T3CV_GFX: gdlib_png :
T3CV_GFX: im : 1
T3CV_GFX: im_path : /usr/bin/
T3CV_GFX: im_path_lz: /usr/bin/
T3CV_GFX: im_version: gm
T3CV_GFX: im_negate_: 0
T3CV_GFX: im_imvMask: 0
T3CV_GFX: im_combine: combine ### DEBUG SYSTEM INFORMATION - END ###
>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.