Jump to content

Topic on Project:Support desk

HTML code appears in pages

4
86.60.219.97 (talkcontribs)

I'm having a problem where pages show up a HTML code. When editing pages, they are showing fine. wgRawHtml doesn't do anything. Any ideas what could be the problem?

http://i.imgur.com/ePF5GBa.png

86.60.219.97 (talkcontribs)

Seems like I can't edit, don't know why. The problem started when we moved to another server. We just copied files over and imported sql.

Hazard-SJ (talkcontribs)
86.60.219.97 (talkcontribs)

Thanks for your response. I got following error:

# php refreshLinks.php           
PHP Warning:  Module 'geoip' already loaded in Unknown on line 0
Refreshing redirects table.
Starting from page_id 1 of 260.
100
200
Refreshing links table.
Starting from page_id 1 of 260.
PHP Fatal error:  Call to a member function getNamespace() on a non-object in /var/www/03_tim_wiki/extensions/TinyMCE_MW/TinyMCE_MW.php on line 75
Fatal error: Call to a member function getNamespace() on a non-object in /var/www/03_tim_wiki/extensions/TinyMCE_MW/TinyMCE_MW.php on line 75

Problem is this line:

$ns = $wgTitle->getNamespace();

It appears in two places. I don't know PHP so I tried commenting it. Script ran then:

PHP Warning:  Module 'geoip' already loaded in Unknown on line 0
Refreshing redirects table.
Starting from page_id 1 of 260.
100
200
Refreshing links table.
Starting from page_id 1 of 260.
100
200
Retrieving illegal entries from pagelinks... 0..0
Retrieving illegal entries from imagelinks... 0..0
Retrieving illegal entries from categorylinks... 0..0
Retrieving illegal entries from templatelinks... 0..0
Retrieving illegal entries from externallinks... 0..0
Retrieving illegal entries from iwlinks... 0..0
Retrieving illegal entries from langlinks... 0..0
Retrieving illegal entries from redirect... 0..0
Retrieving illegal entries from page_props... 0..0

As far as I can see, nothing has changed.

Reply to "HTML code appears in pages"