On 7/19/05, casper.levy@eu.nabgroup.com casper.levy@eu.nabgroup.com wrote:
I have tried running them from the command line, then i commented out the bit in commandline.inc and tried running them from a brouser and all i get is this message,
"Warning: The argument needs to be an array in c:\phpdev\www\cmawiki\maintenance\commandLine.inc on line 27
Warning: Variable passed to reset() is not an array or object in c:\phpdev\www\cmawiki\maintenance\commandLine.inc on line 34 A copy of your installation's LocalSettings.php must exist in the source directory. "
What am i doing wrong here? I have a copy of localsettings.php in the root directory of my wiki and i have set adminsetting.php.
As a side point im still getting the following errors , plus not getting any errors when i save just a page not availible every time i commit and edit!
But i think i need to get these maintenance files to run before i try anything else? or can anyone help?
please? not enjoying being the wiki monkey anymore!
There are a number of differences between running a script CLI and web.
I actually wrote a adaptor script for the update, seeing as I can't get my CLI working. It also does some primitive conversion from CGI to argv.
The script is at http://endeavour.zapto.org/astro73/upgrade.txt. Be sure to look at it before running.
Warning: Do not leave this enabled in a production enviroment. It is a hack and should be treated as such. If someone finds it from the outside, it can lead to serious trouble.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.