Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when embedding a video #14

Open
iordonez opened this issue Oct 20, 2010 · 5 comments
Open

Errors when embedding a video #14

iordonez opened this issue Oct 20, 2010 · 5 comments

Comments

@iordonez
Copy link

The following PHP errors display when trying to use EmbedVideo running:

[Tue Oct 19 21:33:27 2010] [error] [client 66.249.71.68] PHP Warning: call_user_func_array() [function.call-user-func-array]: Unable to call EmbedVideo::parserFunction_ev() in /web/wiki/includes/parser/Parser.php on line 2920

PHP 5.1.6
mysql 5.0.77
Apache 2.2.3
MediaWiki 1.16.0

@Whiteknight
Copy link
Owner

I'm trying to get a dev environment set up to do some testing. I'll see if I can reproduce this error then.

@iordonez
Copy link
Author

I was able to find this fix here that seemed to work for now:

http://www.mediawiki.org/wiki/Extension_talk:EmbedVideo#Problem_with_PHP_5.1.6

@tedmasterweb
Copy link

I too got it to work using the code found on the link in iordonez' comment.

Note that I also had to do the includes at the very end of the LocalSettings.php file, after all custom namespace declarations.

@Whiteknight
Copy link
Owner

I haven't been able to reproduce this error myself. If somebody can submit a patch or pull request that fixes it, I will be happy to test and apply it.

@tedmasterweb
Copy link

I'm kinda busy but I can confirm that with wikipedia 1.6, PHP 5.2.n or higher the link above fixes the problem... Sorry can't provide more details at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants