Cronjob

I'm setting up a local test server for matrix for him and have battled through the install, mainly as I'm doing it on an XP machine.


I've pretty much completed the install with access to the admin page and have a hitch right at the end:


  1. To set up a cronjob on a windows machine: is this a case of setting up a scheduled task that would run every 15 min or so?


  2. cannot log in on admin with root/root gives me a incorrect login error.

    Done the following:

    define('SQ_CONF_SYSTEM_ROOT_URLS', 'www.localhost.com') - this takes forever to load the incorrect login page without styles.

    define('SQ_CONF_SYSTEM_ROOT_URLS', 'localhost') - shows styles but gives me the incorrect login



    Given that I changed this to 'www.localhost.com' at the very end of the install should I perhaps run a fresh install?



    Thanks in advance
  1. Yes
  2. Have you configured your hosts file so that "www.localhost.com" points to your local machine? Otherwise, you're going to the real localhost.com out on the Internet. :slight_smile:

[quote]1. Yes
2. Have you configured your hosts file so that “www.localhost.com” points to your local machine? Otherwise, you’re going to the real localhost.com out on the Internet. :slight_smile:

[right][post=“10884”]<{POST_SNAPBACK}>[/post][/right][/quote]



That’s probably the problem, where would find the hosts file? Excuse my naivety, this is all a bit new to me.



Thanks

I think XP stores it at:
C:\Windows\system32\drivers\etc\hosts

Thanks Greg / Avi. I altered the hosts file and saved it successfully. It certainly is acknowledging "www.localhost.com" on my local machine now, the localhost/_admin page loads up immediately. But still no success on login with root/root. I double checked my main.inc reads: define('SQ_CONF_SYSTEM_ROOT_URLS', 'www.localhost.com');


Any ideas?

You need to login via www.localhost.com/_admin now.

[quote]You need to login via www.localhost.com/_admin now.
[right][post=“10902”]<{POST_SNAPBACK}>[/post][/right][/quote]



Yay…it works. What a task it’s been to get to this stage. Very relieved. Thanks for your help. :smiley:



Ryz

[quote]Yay…it works. What a task it’s been to get to this stage. Very relieved. Thanks for your help.  :smiley:
[right][post=“10904”]<{POST_SNAPBACK}>[/post][/right][/quote]



Yes, indeed. Remember that Matrix is not really designed to work on Windows XP. It is far simpler to install on Linux, Solaris or MacOS X. :slight_smile: