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'

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:27:34
Script start
Timing: Jan 18 2025 18:27:34
Module start 'layout'
Timing: Jan 18 2025 18:27:34
Module start 'content'
Timing: Jan 18 2025 18:27:35
Module end 'content'
Timing: Jan 18 2025 18:27:35
Script end

Main resources:

Total runtime0.6237 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.1641152.6563
Module start 'layout' 0.00690.0041 740.820339.5234
Module start 'content' 0.01100.6113 780.3438411.6328
Module end 'content' 0.62220.0015 1,191.97668.1094
Script end 0.6237  1,200.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5613160.0002
Check MTime0.00160.2528160.0001
Mysql Total
Database connection0.00130.212310.0013
Mysqli_queries0.585093.7978460.0127
Looping result0.00050.0799440.0000
Template Total0.590294.620.2951
Template load0.00230.363020.0011
Template processing0.587994.256620.2939
Template load and register function0.00020.033410.0002
states
state_id_array0.00130.208610.0013
state_identifier_array0.00070.115620.0004
Override
Cache load0.00180.2913120.0002
Sytem overhead
Fetch class attribute can translate value0.00060.090410.0006
Fetch class attribute name0.00050.086610.0005
XML
Image XML parsing0.00010.020510.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00070.1104100.0001
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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