casper.levy@eu.nabgroup.com wrote:
Okay update, i'm now calling php-cli.exe (thanks for that) and now i get this which is an improvment on th last one but still some way from being good. Does this suggest to anyone what the problem might be?
Warning: Invalid argument supplied for foreach() in c:\phpdev\www\CMAwiki\mainte nance\commandLine.inc on line 161 Dropping index... A database error has occurred Query: ALTER TABLE `searchindex` DROP INDEX si_title, DROP INDEX si_text Function: dropTextIndex Error: 1044 Access denied for user: 'caspar@127.0.0.1' to database 'wikidb' (loc alhost)
I'd say you need to check your AdminSettings.php file. Also, and this is something I forgot to mention before, try actually navigating to c:\phpdev\www\CMAwiki\maintenance\ before running the script. If that doesn't work, try navigating to the CMAwiki directory.
Sadly, those are my own suggestions. I haven't had any trouble and I have a tech team to take care of it if I do. (I'd probably get a good explanation of the fix if something went wrong, but nothing has.) Good luck.
HÃnandil