Need help with adding Extension:ConfirmAccount.- Is it possible to use a cron job with Godaddy hosting for the update.php?

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

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)

Bawolff01:20, 10 September 2011

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?

MediaWiki Website User03:27, 10 September 2011
 

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.

MediaWiki Website User19:27, 10 September 2011

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

Bawolff22:04, 10 September 2011

Thanks.

MediaWiki Website User03:21, 11 September 2011
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox