Hmmm, I disabled them all and it started working. Then, I incrementally re-enabled each
one to narrow down the offending extension but now the wiki works with all the
extensions! I don't get it. But, thanks anyway!
Al
________________________________
From: John <phoenixoverride(a)gmail.com>
To: Al Johnson <alj62888(a)yahoo.com>om>; MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Sent: Monday, December 24, 2012 8:08 PM
Subject: Re: [MediaWiki-l] Moving small wiki. errors
have you tried disabling all extensions and checking if the wiki loads?
On Mon, Dec 24, 2012 at 10:05 PM, Al Johnson <alj62888(a)yahoo.com> wrote:
Php was working before I replaced the wiki dir and the
database, i.e., the index.php page brought up the default page ready for configuration.
________________________________
From: John <phoenixoverride(a)gmail.com>
To: Al Johnson <alj62888(a)yahoo.com>om>; MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
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 <alj62888(a)yahoo.com> 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
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l