Page MenuHomePhorge

Internal error: syntax error - When trying to use div code to insert a fixed picture at the bottom of screen
Closed, ResolvedPublic

Description

When I try to insert the following line of code

<div  style="position:fixed; bottom:0; right:0">[[Image:Wiki.png|70px]] </div>

into my shoutwiki user page here: http://badwebcomicswiki.shoutwiki.com/wiki/User:Webkilla

I get the following error message:

[47fdeaf03378991e28d7412a] /w/index.php?title=User:Webkilla&action=submit ParseError from line 39 of /var/www/live/w/extensions/LastMeasure/LastMeasure.class.php: syntax error, unexpected ';'

Backtrace:

#0 [internal function]: AutoLoader::autoload(string)
#1 [internal function]: spl_autoload_call(string)
#2 /var/www/live/w/includes/Hooks.php(163): is_callable(string)
#3 /var/www/live/w/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#4 /var/www/live/w/includes/Storage/PageUpdater.php(736): Hooks::run(string, array)
#5 /var/www/live/w/includes/page/WikiPage.php(1930): MediaWiki\Storage\PageUpdater->saveRevision(CommentStoreComment, integer)
#6 /var/www/live/w/includes/EditPage.php(2355): WikiPage->doEditContent(WikitextContent, CommentStoreComment, integer, boolean, User, string, array, integer)
#7 /var/www/live/w/includes/EditPage.php(1631): EditPage->internalAttemptSave(array, boolean)
#8 /var/www/live/w/includes/EditPage.php(682): EditPage->attemptSave(array)
#9 /var/www/live/w/includes/actions/EditAction.php(55): EditPage->edit()
#10 /var/www/live/w/includes/actions/SubmitAction.php(38): EditAction->show()
#11 /var/www/live/w/includes/MediaWiki.php(522): SubmitAction->show()
#12 /var/www/live/w/includes/MediaWiki.php(302): MediaWiki->performAction(Article, Title)
#13 /var/www/live/w/includes/MediaWiki.php(865): MediaWiki->performRequest()
#14 /var/www/live/w/includes/MediaWiki.php(538): MediaWiki->main()
#15 /var/www/live/w/index.php(44): MediaWiki->run()
#16 {main}

This is repeatable on all wiki pages - no clue why it wont work. Please advice

Event Timeline

jack reassigned this task from jack to lewiscawte.
jack edited projects, added Other/Unspecified; removed ProblemReports.
jack added subscribers: lewiscawte, jack.

This was fixed on the same day by @lewiscawte (kudos!). The mistake was mine, sorry about that; I was trying to stop some cross-wiki spam originating from a certain IP range and as the spam edits (but not account creations) stopped, I figured the code snippet worked as expected, but I didn't test it. Again, apologies for this!