Hi,

I think that that will be the only way to get this running.  The
php.ini file needs to be edited and proc_open removed from the
disable_functions list, as listed at
http://wiki.nmr-relax.com/phpinfo.php.  Without that, the Lua binary
cannot run.  I'm guessing that we don't have access to this ourselves.

Cheers!

Edward


On 5 September 2014 16:13, Troels Emtekær Linnet <[email protected]> wrote:
> Hi Edward.
>
> There is maybe a work-around for that.
>
> I had another homepage, a problem with:
> #
> open_basedir
>
> Warning: file_exists() [function.file-exists]: open_basedir restriction in
> effect.
>
> http://premium.wpmudev.org/forums/topic/open_basedir-restriction-in-effect
> ####
>
> I got it to work, after contacting the domain hotel, which changed a setting.
>
> Do you want me to pursue this?
>
>
>
> 2014-09-05 16:01 GMT+02:00 Edward d'Auvergne <[email protected]>:
>> Doh!  This doesn't seem to work.  According to
>> https://www.mediawiki.org/wiki/Extension:Scribunto#Lua_binary, to run
>> the Lua binary, which is required for this extension, the proc_open()
>> PHP function is required.  But according to the new page
>> http://wiki.nmr-relax.com/phpinfo.php, it is in the disabled_functions
>> list.  I've just tried to create an infobox at
>> http://wiki.nmr-relax.com/Relax_3.2.2 and see:
>>
>> """
>> Warning: proc_open() has been disabled for security reasons in
>> /home/www/wiki.nmr-relax.com/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php
>> on line 134
>>
>> Fatal error: Call to a member function getStatus() on a non-object in
>> /home/www/wiki.nmr-relax.com/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php
>> on line 10
>> """
>>
>> I didn't realise how painful installing MediaWiki extensions can be!!!
>>
>> Regards,
>>
>> Edward
>>
>>
>>
>> On 5 September 2014 15:52, Edward d'Auvergne <[email protected]> wrote:
>>> Hi Troels,
>>>
>>> This might be a duplication, but to obtain PHP information about the
>>> server, I have created the page http://wiki.nmr-relax.com/phpinfo.php.
>>> This required a text file of this name being uploaded to the base
>>> directory of the wiki via FTP.
>>>
>>> Regards,
>>>
>>> Edward
>>>
>>>
>>> On 5 September 2014 15:14, Edward d'Auvergne <[email protected]> wrote:
>>>> Hi,
>>>>
>>>> I just noticed that the devel_scripts/wiki_ftpdump.sh script, which
>>>> cron runs every day for me, does this:  '--exclude-glob
>>>> LocalSettings.php'.  That might be my problem.  For the upload
>>>> command, what do you use?  I don't want to accidentally wipe out
>>>> everything.  Thanks!
>>>>
>>>> Cheers,
>>>>
>>>> Edward
>>>>
>>>>
>>>> P. S.  I'll just use an FTP client to manually upload just the
>>>> extension and modified LocalSettings.php file.  That should be the
>>>> safest way.
>>>>
>>>>
>>>>
>>>> On 5 September 2014 14:56, Troels Emtekær Linnet <[email protected]> 
>>>> wrote:
>>>>> Hi Edward.
>>>>>
>>>>> I can see: LocalSettings.php
>>>>> in the folder.
>>>>>
>>>>> And also the old one?
>>>>>
>>>>> You could probably just add it after this list
>>>>>
>>>>> require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
>>>>> require_once( "$IP/extensions/Gadgets/Gadgets.php" );
>>>>> require_once( "$IP/extensions/ImageMap/ImageMap.php" );
>>>>> require_once( "$IP/extensions/InputBox/InputBox.php" );
>>>>> require_once( "$IP/extensions/Interwiki/Interwiki.php" );
>>>>> #require_once( "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php" 
>>>>> );
>>>>> require_once( "$IP/extensions/Nuke/Nuke.php" );
>>>>> require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
>>>>> require_once( "$IP/extensions/PdfHandler/PdfHandler.php" );
>>>>> require_once( "$IP/extensions/Poem/Poem.php" );
>>>>> require_once( "$IP/extensions/Renameuser/Renameuser.php" );
>>>>> require_once( "$IP/extensions/SpamBlacklist/SpamBlacklist.php" );
>>>>> require_once( 
>>>>> "$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php"
>>>>> );
>>>>> require_once( "$IP/extensions/TitleBlacklist/TitleBlacklist.php" );
>>>>> require_once( "$IP/extensions/Vector/Vector.php" );
>>>>> require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
>>>>>
>>>>> I normally just download with cyberduck or filezilla.
>>>>> Modify, and upload again.
>>>>>
>>>>> Best
>>>>> Troels
>>>>>
>>>>>
>>>>>
>>>>> 2014-09-05 14:27 GMT+02:00 Edward d'Auvergne <[email protected]>:
>>>>>> Hi Troels,
>>>>>>
>>>>>> I was wondering if you could help.  I'm looking at installing the
>>>>>> following Scribunto extension:
>>>>>>
>>>>>> https://www.mediawiki.org/wiki/Extension:Scribunto
>>>>>>
>>>>>> However I cannot find the LocalSettings.php file, only
>>>>>> LocalSettings_old.php.  Where should I add the 'require_once' text to
>>>>>> get this extension to load?  And what FTP command do you use to upload
>>>>>> to the wiki FTP area?  I already have the user name and password, but
>>>>>> I'm not sure what the best way to upload this is.
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Edward
>>>>>>
>>>>>>
>>>>>> P. S.  The aim for using this extension is to replicate the Wikipedia
>>>>>> Template:Infobox element.  This will be very useful for the relax
>>>>>> release notes pages (e.g. http://wiki.nmr-relax.com/Relax_3.3.0), as I
>>>>>> could include all the info for that release in a concise format.
>>>>>>
>>>>>> _______________________________________________
>>>>>> relax (http://www.nmr-relax.com)
>>>>>>
>>>>>> This is the relax-devel mailing list
>>>>>> [email protected]
>>>>>>
>>>>>> To unsubscribe from this list, get a password
>>>>>> reminder, or change your subscription options,
>>>>>> visit the list information page at
>>>>>> https://mail.gna.org/listinfo/relax-devel

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to