Forums / Install & configuration / File Upload Mime headers garbled in Unknown on line 0

File Upload Mime headers garbled in Unknown on line 0

Author Message

Gary Gogick

Wednesday 06 December 2006 11:11:35 am

Greetings,

Seeing a weird problem when attempting to go through the setup wizard with eZ 3.8.6/PHP 4.4.4. Two problems, actually..

The first is on the 'Choose database system' screen - I have PHP compiled with both MySQL and Postgres support, but both options are duplicated. That is, it lists 'o MySQL', 'o PostgreSQL', 'x MySQL', 'o PostgreSQL', with the second MySQL entry selected by default. A bit odd, but I didn't think it was a major problem.

However, at some point, the install process always fails, returning me to the initial 'Welcome to eZ publish 3.8.6' screen. Adding more debugging to PHP produced the line:

Warning: File Upload Mime headers garbled in Unknown on line 0

...which appears at the top of the page when this problem occurs. It usually happens right after the 'Site Package' screen, but inevitably happens before the install is completed if it manages to get past that part of setup.

Unfortunately, there's nothing funky in the site's error_log that would help explain what's happening, and I'm rather at a loss.

PHP 4.4.4 configured via:

'./configure' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4' '--with-curl' '--with-dom' '--with-exec-dir' '--with-freetype' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg' '--with-openssl' '--with-png' '--with-pspell' '--with-regex' '--with-xml' '--with-expat' '--with-zlib' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-pear' '--with-imap' '--with-imap-ssl' '--with-ldap' '--with-mysql' '--with-pgsql' '--with-unixODBC' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2filter=/usr/sbin/apxs' '--with-kerberos' '--enable-mbstring'

eZ debug

Timing: Jan 18 2025 15:13:59
Script start
Timing: Jan 18 2025 15:13:59
Module start 'content'
Timing: Jan 18 2025 15:14:01
Module end 'content'
Timing: Jan 18 2025 15:14:01
Script end

Main resources:

Total runtime1.3004 sec
Peak memory usage4,096.0000 KB
Database Queries183

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.0938180.8047
Module start 'content' 0.00661.1657 769.8984416.7422
Module end 'content' 1.17230.1281 1,186.6406333.7891
Script end 1.3003  1,520.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00620.4743210.0003
Check MTime0.00260.2033210.0001
Mysql Total
Database connection0.00090.071410.0009
Mysqli_queries1.232494.77531830.0067
Looping result0.00180.13571810.0000
Template Total1.251996.320.6259
Template load0.00410.315920.0021
Template processing1.247795.952220.6239
Template load and register function0.00020.012210.0002
states
state_id_array0.00260.198410.0026
state_identifier_array0.00180.141620.0009
Override
Cache load0.00360.2790120.0003
Sytem overhead
Fetch class attribute can translate value0.00220.170720.0011
Fetch class attribute name0.00130.096510.0013
XML
Image XML parsing0.00060.047120.0003
class_abstraction
Instantiating content class attribute0.00000.000910.0000
General
dbfile0.00330.2520210.0002
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs