Yes, the exact same version that was used in the development env: php-5.4.9

/al



________________________________
 From: John <[email protected]>
To: Al Johnson <[email protected]>; MediaWiki announcements and site admin 
list <[email protected]> 
Sent: Monday, December 24, 2012 7:57 PM
Subject: Re: [MediaWiki-l] Moving small wiki. errors
 
do you have the correct versions of php installed?

On Mon, Dec 24, 2012 at 9:49 PM, Al Johnson <[email protected]> wrote:
> Hi,
>
> I moved my small wiki from one linux box to another on AWS and am getting the 
> following error in the browser when clicking on the index.php link:
>
>
> Error: invalid magic word 'int'
> Backtrace:
> #0 /usr/local/apache2/htdocs/wiki/includes/MagicWord.php(236): 
> MagicWord->load('int')
> #1 /usr/local/apache2/htdocs/wiki/includes/parser/Parser.php(4765): 
> MagicWord::get('int')
> #2 
> /usr/local/apache2/htdocs/wiki/includes/parser/CoreParserFunctions.php(42): 
> Parser->setFunctionHook('int', Array, 1)
> #3 /usr/local/apache2/htdocs/wiki/includes/parser/Parser.php(253): 
> CoreParserFunctions::register(Object(Parser))
> #4 [internal function]: Parser->firstCallInit()
> #5 /usr/local/apache2/htdocs/wiki/includes/StubObject.php(79): 
> call_user_func_array(Array, Array)
> #6 /usr/local/apache2/htdocs/wiki/includes/StubObject.php(99): 
> StubObject->_call('firstCallInit', Array)
> #7 /usr/local/apache2/htdocs/wiki/includes/cache/MessageCache.php(829): 
> StubObject->__call('firstCallInit', Array)
> #8 /usr/local/apache2/htdocs/wiki/includes/cache/MessageCache.php(829): 
> StubObject->firstCallInit()
> #9 /usr/local/apache2/htdocs/wiki/includes/cache/MessageCache.php(807): 
> MessageCache->getParser()
> #10 /usr/local/apache2/htdocs/wiki/includes/Message.php(618):
> MessageCache->transform('$1 - {{SITENAME...', true, Object(Language),
>  Object(Title))
> #11 /usr/local/apache2/htdocs/wiki/includes/Message.php(436): 
> Message->transformText('$1 - {{SITENAME...')
> #12 /usr/local/apache2/htdocs/wiki/includes/Message.php(476): 
> Message->toString()
> #13 /usr/local/apache2/htdocs/wiki/includes/OutputPage.php(790): 
> Message->text()
> #14 /usr/local/apache2/htdocs/wiki/includes/OutputPage.php(833): 
> OutputPage->setHTMLTitle(Object(Message))
> #15 /usr/local/apache2/htdocs/wiki/includes/Article.php(485): 
> OutputPage->setPageTitle('Main Page')
> #16 /usr/local/apache2/htdocs/wiki/includes/actions/ViewAction.php(37): 
> Article->view()
> #17 /usr/local/apache2/htdocs/wiki/includes/Wiki.php(427): ViewAction->show()
> #18 /usr/local/apache2/htdocs/wiki/includes/Wiki.php(304): 
> MediaWiki->performAction(Object(Article))
> #19 /usr/local/apache2/htdocs/wiki/includes/Wiki.php(536): 
> MediaWiki->performRequest()
> #20 /usr/local/apache2/htdocs/wiki/includes/Wiki.php(446): MediaWiki->main()
> #21 /usr/local/apache2/htdocs/wiki/index.php(59): MediaWiki->run()
> #22 {main}
>
> The wiki only has about 4 regular pages and 6 templates.
>
>
> I followed the instructions for the basic move, such as copying the whole 
> wiki dir and importing the mysql db, updated the LocalSettings.php.  The db 
> import looks OK and apache works.  I'm not sure what to do there.
>
> Your help is appreciated,
> Al
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to