Need help with adding Extension:ConfirmAccount.- Is it possible to use a cron job with Godaddy hosting for the update.php?
See manual:update.php. Basically, if you have shell access, change into the maintinance sub-directory of your mediawiki install and run php update.php (Update.php is used both for upgrading mediawiki, and for extensions needing schema changes)
I don't think I have shell access, or at least I don't know enough about it if I do.
It looks like that line is the only thing I need to add, so is that the only place where I need to substitute things?
What does DB_HOST change to?
Thanks.
Is it possible to use a cron job for the update? I think I read something about using cron jobs when shell access is not available.
I suppose you could use a cron job to do that (in the way you could use a cron job to essentially run any command). At the very least I do not see any reason for it not to work.
>I don't think I have shell access, or at least I don't know enough about it if I do. >It looks like that line is the only thing I need to add, so is that the only place where I need to substitute things? >What does DB_HOST change to?
In order to run the mysql command you have above, you need shell access, so if you can do that, then you do have shell access. If you don't have shell access, then you cannot run that command. (You can also use phpmyadmin to import the confirmAccount.sql file) DB_HOST is the server where your mysql server is located. In your LocalSettings.php file is the config setting $wgDBserver