profiling table?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

profiling table?

Hugh Prior
I have installed mediawiki 1.5.5, but the database which gets created does
not seem to have a "profiling" table, nor can I see any such table in the
"maintanence/tables.sql" file.

So, where is this table defined/created?

Thanks.


Hugh Prior



_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: profiling table?

Brion Vibber
Hugh Prior wrote:
> I have installed mediawiki 1.5.5, but the database which gets created does
> not seem to have a "profiling" table, nor can I see any such table in the
> "maintanence/tables.sql" file.
>
> So, where is this table defined/created?

It's not, generally. It's only used in an obscure debugging mode.

-- brion vibber (brion @ pobox.com)


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

signature.asc (257 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: wmv video upload works for small, not big files. Large mp3's or swf files do work.

Jonathan Andrew Wolter
In reply to this post by Hugh Prior
Thanks Sy,

I'm having problems with a 3.5 meg wmv file. I can upload successfully a 7
meg mp3 or a 7 meg swf flash file. If I change the extension of the wmv to
mp3 or swf -- it still does not work.

As for php maximum filesizes -- I changed the following settings in php.ini
to no help:
max_execution_time = 900
max_input_time = 900
memory_limit = -1   ;this is infinite
file_uploads = On
upload_max_filesize = 100M
post_max_size = 128M

I then restarted apache: /etc/init.d# ./apache2 restart

I tried uploading the same file --> the status bar slowly grows for several
minutes-probably 900 sec

---> and it fails (the page appeared to refresh with no error message, the
status bar stopped, and the windows 'flag' in the top right corner stopped
waving. The list of uploaded files does not list this file type.

My next step is to add echo / logging lines to the SpecialUpload.php page
and see how far it is going and where it gets stuck.


>> Snip <<
>> Any ideas? Could it be the codec I used to encode the wmv file? (I used
>> camtasia - this is for video based training in our internal company
wiki).

>It's probably an issue with http uploading.. either a php limit on
>maximum filesize or a problem with the timeout.


 --- original post ---
I am not able to upload large windows media video (wmv) files to a MediaWiki
1.5.5 running on php 4.3.10-16 and MySQL 4.0.24_Debian-10sarge1-log.

In testing, I am able to upload small wmv files (<3meg).

When I try with large ones, I either (a) the page waits for a few minutes
(while status bar in IE slowly grows) and then appears to refresh with no
error (and no file uploaded) or (b) IE shows "this page cannot be displayed'

The uploads directory is writable.

I can upload other images, mp3 files (tested successfully 10 meg), swf or
fla flash files (tested >7megs) and these appear perfectly.

I've tried increasing the php.ini settings: memory_limit = 16M;
upload_max_filesize = 12M; post_max_size = 12M;  I have also increased the
time allowed for scripts to run and load.

I added to LocalSettings.php:
   $wgFileExtensions = array('gif', .. The others already there. 'wmv');
   $wgVerifyMimeType = false;

When I look at a small wmv (<3meg) file I successfully uploaded, the mime
type is text/plain (which seems odd, mp3 files are properly identified)

Any ideas? Could it be the codec I used to encode the wmv file? (I used
camtasia - this is for video based training in our internal company wiki).

Thanks!




_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: wmv video upload works for small, not big files. Large mp3's or swf files do work.

Bugzilla from sy1234@gmail.com
On 1/31/06, Jonathan Andrew Wolter <[hidden email]> wrote:
> I'm having problems with a 3.5 meg wmv file. I can upload successfully a 7
> meg mp3 or a 7 meg swf flash file. If I change the extension of the wmv to
> mp3 or swf -- it still does not work.

Well _that_ is definitely wierd!  I'm scratching my head over that one..
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l