Hi okay I'm having trouble running php scripts from the command line:
C:\> C:\phpdev\php\php.exe -f
C:\phpdev\www\CMAwiki\maintenance\rebuildtextindex
.php
<br />
<b>Warning</b>: The argument needs to be an array in
<b>C:\phpdev\www\CMAwiki\m
aintenance\commandLine.inc</b> on line <b>27</b><br />
<br />
<b>Warning</b>: Variable passed to reset() is not an array or object in
<b>C:\p
hpdev\www\CMAwiki\maintenance\commandLine.inc</b> on line
<b>34</b><br />
A copy of your installation's LocalSettings.php
must exist in the source directory.
I do have a copy of localsettings.php in the base directory of my wiki, is
that what it means by source directory? Can anyone see why this script
isn;t running?
Also my apache errors are as follows:
[Mon Jul 18 15:48:16 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:randompage
[Mon Jul 18 15:55:42 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:randompage
[Mon Jul 18 15:55:48 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:specialpages
[Mon Jul 18 15:55:50 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:imagelist
[Mon Jul 18 15:55:53 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:specialpages
[Mon Jul 18 15:55:55 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:newimages
[Mon Jul 18 15:56:08 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:specialpages
[Mon Jul 18 15:56:10 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:popularpages
[Mon Jul 18 16:25:32 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:recentchanges
[Mon Jul 18 16:25:36 2005] [error] [client 172.28.84.50] Filename is not
valid: c:/phpdev/www/special:randompage
I don;t actually get any apache errors when i try and save an edit, just
the "page cannot be displayed..."
So next line of attack is run maintenance scripts but as you can see that
is failing.
Any ideas/ help much appreciated and in reply to the reply to my last post
I have done a couple of clean installs now on different machines.
MediaWiki always works perfectly on the local machine but starts to go
wrong for people accessing it from other networked machines on the lan.
regards
caspar
P.s how do i reply to a post that is already on the noticeboard?
===============================================================
National Australia Group Europe Limited (Company Number 02108635, Registered Office 88
Wood Street, London EC2V 7QQ) (NAGE) is a subsidiary of National Australia Bank Limited
(an Australian registered company). The following UK companies are authorised and
regulated by the Financial Services Authority: Clydesdale Bank PLC (trading as Clydesdale
Bank and Yorkshire Bank), MLC Savings Limited, MLC Trust Management Company Limited,
Clydesdale Bank Insurance Brokers Limited, Yorkshire Bank Financial Services Limited,
National Australia Insurance Services Limited and Custom Fleet Limited.
The views and opinions expressed in this email may not reflect the views and opinions of
any member of the group of which NAGE forms part. The information contained in this
message is confidential and may also be privileged. It is intended only for the addressee
named above. The unauthorised use, disclosure, copying or alteration of this message is
strictly prohibited. If you are not the addressee (or responsible for delivery of the
message to the addressee), please notify the originator immediately by return message and
destroy the original message. This message and any attachments have been scanned for
viruses prior to leaving the NAGE network. However, NAGE does not guarantee the security
of this message and will not be responsible for any damages arising as a result of any
virus being passed on or arising from any alteration of this message by a third party.
NAGE may monitor emails sent to and from the NAGE network.