Project

General

Profile

Actions

Bug #47682

closed

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

Added by Josef F. Glatz (Old User) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-04-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 ###
> 

Files

Actions #3

Updated by Josef F. Glatz (Old User) over 11 years ago

A another test works without problems. Maybe a php opcode cache....

I look further to

Actions #4

Updated by Josef F. Glatz (Old User) over 11 years ago

Currently, my heart beats for the following possible error: http://www.stuartcarnie.com/2012/10/fixing-vmware-fusion-permissions-for.html ????

Actions #5

Updated by Josef F. Glatz (Old User) over 11 years ago

It seems, that the problem is vmware's hgfs driver. Read previous link for details in my last comment. VMware+Vagrant is more powerfull... Hope I can get more details about it...

if no error occurs until tomorrow, this issue should be closed. Sorry!

Actions #6

Updated by Josef F. Glatz (Old User) over 11 years ago

  • % Done changed from 0 to 100

Can't close this issue..

Actions #7

Updated by Chris topher over 11 years ago

  • Status changed from New to Closed
  • Target version deleted (6.1.0)

Done. :-)

Actions

Also available in: Atom PDF