Dear friends,
after following George's guidelines, I managed to solve most of my installation's problems.
I had to make changes in the .htaccess files in the wiki directory and the apache2.conf file to allow CGI operation and excecution. By looking at the apache error log, I also found quite some references to deprecated functions "split" which I changed to "explode" to avoid errors. I also found an error which prevented adding a new tag or transcript and isntead of showing the relevant "forms" when clicked, it showed an endless "loading ..." text. The error is:
[Sun Dec 02 09:15:53 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined method MV_EditPageAjax::extractMetaDataFromArticle() in /var/www/mediawiki-1.16.0/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php on line 182, referer: http://localhost/wiki/index.php/Stream:Last-test
I tested by commenting out line 182 in MV_EditPageAjax.php and now the new tag an new transcript links work, however I would like to ask for your help on this issue since obviously my solution is not the proper one.
With your help, I am progressing really well, since I need to fully understand metavid's functionality in order to contribute to it's update.
Kind Regards Ioannis
Message: 3 Date: Fri, 30 Nov 2012 21:34:17 -0500 From: "George Chriss" gchriss@openmeetings.org To: "metavid-l@lists.wikimedia.org" metavid-l@lists.wikimedia.org Cc: ioannis ioannis ioannisc@hotmail.com Subject: Re: [MetaVid-l] Updated: Requst for info about metavid installation? Message-ID: c203ca54b31ada73d7299d291df02b12.squirrel@cpanel09.myhostcenter.com Content-Type: text/plain;charset=iso-8859-1
On Fri, November 30, 2012 8:23 am, ioannis ioannis wrote:
Dear friends,
please let me update you on my project's status so far after the information and files you provided.
I installed mediawiki 1.16, semantic mediawiki 1.3 and metavid1.0r47961 (thanks to Michael for the zipped files) successfully on ubuntu 10.04lts. The older version of ubuntu was used so as to have the correct versions of mysql, php, etc.
As an alternative to passing around zip files the following should work: svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/MetavidWiki@4796... Note that '@47961' specifies the revision number.
...likewise for mwEmbed (required but distributed separately): svn checkout http://svn.wikimedia.org/svnroot/mediawiki/branches/new-upload/phase3/js2/mw...
...then remove .svn directories for filesystem manageability: find . -name ".svn" -type d -exec rm -rf {} ; -prune -print
Now in my wiki's Special:Version page the s/w listed is exactly the same as the one shown in metavid.org site, therefore I consider the two setups to be identical.
I successfully managed to add a new stream (test_stream) from a local file (.ogv) on my "server" from Special:MV_Add_Stream
...now would be a good time to update your .htaccess files. A suggested template for the base www directory (w/ short URLs enabled):
AddType video/ogg ogg AddType video/ogg ogv AddType audio/ogg oga AddType application/rss+xml rss RewriteEngine On RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA] RewriteRule ^wiki/*$ /w/index.php [L,QSA]
Note that index.html in the base directory is a simple META redirect to 'http://site.org/w'. Also, .htaccess syntax is really, really picky and sometimes requires lots of trial-and-error.
...and likewise for the directory serving the actual media files:
AddType video/ogg ogg AddType video/ogg ogv AddType audio/ogg oga AddType application/rss+xml rss RewriteEngine on RewriteCond %{QUERY_STRING} ^. RewriteRule .ogg ../cgi-bin/oggz-chop.cgi [L]
RewriteCond %{QUERY_STRING} ^. RewriteRule .ogv ../cgi-bin/oggz-chop.cgi [L]
The stream can be seen in my "server's" Special:MV_List_Streams.
So far so good, but after this step there are some issues for which I again ask for your kind assistance.
When I attempt to edit the stream (Stream:Test_stream), I get a page which shows the video embedded as expected and I can play the video as well.
You will also need to build/test oggz-chop for seeking ability. In detail: http://blog.openmeetings.org/2010/11/downtime/
However the following links are not operational:
Edit Time - upper right corner above the video windowDownload Options - lower left corner under the video windowEmbed Video - lower left corner under the video windowNew tag or Annotation - lower right corner of wiki creenNew transcript - lower right corner of wiki screen
Therefore, I am unable to edit or tag the video in the timeline, as shown in the example video in youtube where Michael presents metavid's features.
Once mwEmbed is in place include the following in './w/skins/mvpcf.php' just after '<?php $this->html('headscripts') ?>' (or, in an appropriate place such that it shows up within the HTML <head> section):
<script src="/w/js2/mwEmbed/mv_embed.js" type="text/javascript" > </script>
mwEmbed #51518 seems to be the most-recent working version w/ MetaVidWiki #51560; MetaVidWiki itself needs substantial work to become compatible with the newest versions of mwEmbed.
Your help in assisting me on how to resolve these issues would be of great value at this point.
Good luck! Keep us posted.
Cheers, George
Kind regards Ioannis
_______________________________________________
MetaVid-l mailing list MetaVid-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/metavid-l
--
MetaVid-l mailing list MetaVid-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/metavid-l
End of MetaVid-l Digest, Vol 11, Issue 1