Difference between revisions of "Talk:Ajax links example"

From Organic Design wiki
(fixe)
(New section: Can't get this to work)
Line 1: Line 1:
 
Is the http://mootools.net/ accessible on OD? I cannot get this example to work either now --[[User:Sven|Sven]] 12:01, 26 June 2007 (NZST)
 
Is the http://mootools.net/ accessible on OD? I cannot get this example to work either now --[[User:Sven|Sven]] 12:01, 26 June 2007 (NZST)
 
:Oops, fixed now - it was the new [[MW:Extension:Javascript|extension for loading the JS scripts]] --[[User:Nad|Nad]] 12:35, 26 June 2007 (NZST)
 
:Oops, fixed now - it was the new [[MW:Extension:Javascript|extension for loading the JS scripts]] --[[User:Nad|Nad]] 12:35, 26 June 2007 (NZST)
 +
 +
== Can't get this to work ==
 +
 +
I can't seem to [http://www.mediawiki.org/wiki/Extension_talk:Simple_Forms#Fatal_errors get this extension working]. I get several, possibly, related errors:
 +
 +
At the bottom of every page I get:
 +
<pre>PHP Notice: Undefined index: SERVER_ADDR in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 33</pre>
 +
 +
When I try to use some of the simple [http://www.organicdesign.co.nz/19_June_2007 examples provided], I get a similar error. For example placing
 +
<pre>{{#input:type=ajax|format=link|update=example3|content=<nowiki>[[foo]]</nowiki>|THREE}}
 +
<div id=example3>''this is a '''div''' with '''id''' set to '''example3'''''</div></pre>
 +
on a page and then clicking the link, results in the div's content being replaced with:
 +
 +
<pre>Error: 500 OK (PHP Notice: Undefined index: SERVER_ADDR in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 33 PHP Fatal error: Call to a member function getNamespace() on a non-object in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 454 )</pre>
 +
 +
I'd appreciate any insights into what might be going wrong.
 +
 +
I'm, running MediaWiki 1.12.0, PHP 5.2.5 (cgi-fcgi), MySQL 5.0.24-community-nt, on Windows 2003 R2, IIS 6.0. -- [[User:Aldaron|Aldaron]] 02:38, 12 July 2008 (NZST)

Revision as of 14:38, 11 July 2008

Is the http://mootools.net/ accessible on OD? I cannot get this example to work either now --Sven 12:01, 26 June 2007 (NZST)

Oops, fixed now - it was the new extension for loading the JS scripts --Nad 12:35, 26 June 2007 (NZST)

Can't get this to work

I can't seem to get this extension working. I get several, possibly, related errors:

At the bottom of every page I get:

PHP Notice: Undefined index: SERVER_ADDR in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 33

When I try to use some of the simple examples provided, I get a similar error. For example placing

{{#input:type=ajax|format=link|update=example3|content=[[foo]]|THREE}}
<div id=example3>''this is a '''div''' with '''id''' set to '''example3'''''</div>

on a page and then clicking the link, results in the div's content being replaced with:

Error: 500 OK (PHP Notice: Undefined index: SERVER_ADDR in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 33 PHP Fatal error: Call to a member function getNamespace() on a non-object in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 454 )

I'd appreciate any insights into what might be going wrong.

I'm, running MediaWiki 1.12.0, PHP 5.2.5 (cgi-fcgi), MySQL 5.0.24-community-nt, on Windows 2003 R2, IIS 6.0. -- Aldaron 02:38, 12 July 2008 (NZST)