logo       

Re: [Mediawiki-l] v. 1.15.1 : blank page after file upload: msg#00174

mediawiki-l

Subject: Re: [Mediawiki-l] v. 1.15.1 : blank page after file upload


On Jul 14, 2009, at 9:06 PM, Rob Lingelbach wrote:

> I just upgraded from v. 1.13.3 to 1.15.1, and am getting the dreaded
> "blank page after
> file upload." The file is actually uploaded ok, as I can confirm by
> searching the /images
> directory, but I can't link to it successfully with wiki syntax. The
> file is not listed in the
> Special:ListFiles . I had already done the usual things with PHP and
> LocalSettings.php
> to be liberal with file uploads, i.e. increased memory limits, etc.
> and was having no
> problems with v. 1.13.3 . The upgrade from 1.13.3 went smoothly
> following the instrux
> as given for database updates, no errors returned.
>
> PHP version is 5.2.10
> mysql is 5.1.36
>
> thanks very much for any help, in advance.


if it helps, here's the debug output. Is there anything here that
looks wrong?

Start request
POST /wiki3/index.php/Special:Upload
Host: tig.colorist.org
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:
1.8.1.22) Gecko/20090615 Camino/1.6.
8 (like Firefox/2.0.0.22)
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,
*/*;q=0.5
Accept-Language: en-
US,en;q=0.9,ja;q=0.8,fr;q=0.7,de;q=0.6,es;q=0.5,it;q=0.4,pt;q=0.3,pt-
PT;q=0.2,
nl;q=0.1
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Referer: http://tig.colorist.org/wiki3/index.php/Special:Upload
Cookie: wikidbUserName=Rob+Lingelbach; wikidbUserID=2;
wikidb_session=kgva31tbna41rvcl738c10gsj3
Content-Type: multipart/form-data;
boundary=---------------------------168072824752491622650073
Content-Length: 157708
Cache-Control: max-age=259200

Main cache: FakeMemCachedClient
Message cache: MediaWikiBagOStuff
Parser cache: MediaWikiBagOStuff
session_set_cookie_params: "0", "/", "", "", "1"
Unstubbing $wgMessageCache on call of $wgMessageCache::addMessages
from ceSetup
Unstubbing $wgContLang on call of $wgContLang::lcfirst from
MessageCache::addMessage
Unstubbing $wgParser on call of $wgParser::setHook from
wfMailmanExtension
Parser output marked as uncacheable.
Parser output marked as uncacheable.
Unstubbing $wgLang on call of $wgLang::getCode from
MessageCache::loadMessagesFile
Unstubbing $wgUser on call of $wgUser::getOption from
StubUserLang::_newObject
Cache miss for user 2
Connecting to localhost wikidb...
Connected
Logged in from session
MimeMagic::__construct: loading mime types from /var/www/html/colorist/
wiki3/includes/mime.types
MimeMagic::__construct: loading mime info from /var/www/html/colorist/
wiki3/includes/mime.info
Fully initialised
Language::loadLocalisation(): got localisation for en from source
Unstubbing $wgOut on call of $wgOut::setArticleRelated from
SpecialPage::setHeaders
Connecting to localhost wikidb...
Connected
MessageCache::load: Loading en... got from global cache
WebRequest::getFileName() 'IMG_0549.jpg' normalized to 'IMG_0549.jpg'
User::isBlocked: enter
User::getBlockedStatus: checking...
IP: 189.50.129.106
Block::load: '', '2', 1
User::isBlockedFrom: enter
User::isBlockedFrom: asking isBlocked()
User::isBlocked: enter
User::getBlockedStatus: already loaded.
User::isBlockedFrom: enter
User::isBlockedFrom: asking isBlocked()
User::isBlocked: enter
User::getBlockedStatus: already loaded.
User::isBlockedFrom: enter
User::isBlockedFrom: asking isBlocked()
User::isBlocked: enter
User::getBlockedStatus: already loaded.
FileCache negative MISS for IMG_0549.jpg
File::getPropsFromPath: Getting file info for /tmp/phpQVnEqd
MimeMagic::doGuessMimeType: getimagesize detected /tmp/phpQVnEqd as
image/jpeg
MimeMagic::guessMimeType: final mime type of /tmp/phpQVnEqd: image/jpeg
File::getPropsFromPath: /tmp/phpQVnEqd loaded, 156663 bytes, image/jpeg.
MacBinary::loadHeader: header bytes 0 and 74 not null
MimeMagic::doGuessMimeType: getimagesize detected /tmp/phpQVnEqd as
image/jpeg
MimeMagic::guessMimeType: final mime type of /tmp/phpQVnEqd: image/jpeg


mime: <image/jpeg> extension: <jpg>

UploadForm::verifyExtension: mime type image/jpeg matches extension
jpg, passing file
SpecialUpload::detectScript: checking for embedded scripts and HTML
stuff
SpecialUpload::detectScript: no scripts found
UploadForm::detectVirus: virus scanner disabled
UploadForm::verify: all clear; passing.
FSRepo::publishBatch: wrote tempfile /tmp/phpQVnEqd to /var/www/html/
colorist/wiki3/images/5/53/IM
G_0549.jpg
Database::query: Writes done: INSERT IGNORE INTO `image`
(img_name,img_size,img_width,img_height,i
mg_bits
,img_media_type
,img_major_mime
,img_minor_mime,img_timestamp,img_description,img_user,img_us
er_text,img_metadata,img_sha1) VALUES
('IMG_0549.jpg','156663','640','480','8','BITMAP','image','j
peg','20090715012547','','2','Rob Lingelbach','a:32:{s:4:\"Make\";s:
5:\"Canon\";s:5:\"Model\";s:24
:\"Canon PowerShot SD970 IS\";s:11:\"Orientation\";i:1;s:
11:\"XResolution\";s:5:\"180/1\";s:11:\"Y
Resolution\";s:5:\"180/1\";s:14:\"ResolutionUnit\";i:2;s:8:\"Software
\";s:15:\"QuickTime 7.6.2\";s
:8:\"DateTime\";s:19:\"2009:06:08 11:15:59\";s:12:\"ExposureTime\";s:
3:\"1/5\";s:7:\"FNumber\";s:4
:\"16/5\";s:15:\"ISOSpeedRatings\";i:400;s:11:\"ExifVersion\";s:
4:\"0220\";s:16:\"DateTimeOriginal
\";s:19:\"2009:05:30 19:06:19\";s:17:\"DateTimeDigitized\";s:
19:\"2009:05:30 19:06:19\";s:22:\"Com
pressedBitsPerPixel\";s:3:\"3/1\";s:17:\"ShutterSpeedValue\";s:
5:\"37/16\";s:13:\"ApertureValue\";
s:6:\"107/32\";s:16:\"MaxApertureValue\";s:6:\"107/32\";s:
12:\"MeteringMode\";i:5;s:5:\"Flash\";i:
16;s:11:\"FocalLength\";s:4:\"33/5\";s:10:\"ColorSpace\";i:1;s:
21:\"FocalPlaneXResolution\";s:8:\"
147541/9\";s:21:\"FocalPlaneYResolution\";s:8:\"147541/9\";s:
24:\"FocalPlaneResolutionUnit\";i:2;s
:13:\"SensingMethod\";i:2;s:14:\"CustomRendered\";i:0;s:
12:\"ExposureMode\";i:1;s:12:\"WhiteBalanc
e\";i:0;s:16:\"DigitalZoomRatio\";s:3:\"1/1\";s:16:\"SceneCaptureType
\";i:0;s:22:\"MEDIAWIKI_EXIF_
VERSION\";i:1;}','jvovoi7t0i9sj2fvl0h5hqgwlek3gl2')

--
Rob Lingelbach
rob@xxxxxxxxxxxx


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@xxxxxxxxxxxxxxxxxxx
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise