1
gumleaf
Install xoops on local machine .. whats the "root path"?
  • 2006/3/27 12:26

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Hi

I've successfully installed "Fox Server" on my local computer and am trying to install a copy of my XOOPS site on it. (Fox Server is a MySQL/PHP/Server Package for running php/mysql sites locally.)

I've copied the database to it and all the files.

I know I have to edit the mainfile.php but what do I put for the ('XOOPS_ROOT_PATH', '/XXXXXXXXX'); ???

The url for the localhost on my machine is http://localhost/


For the XOOPS url I put ('XOOPS_URL', 'http://localhost'); .. which I "think" is correct.


I tried putting just localhost as the root path as well .. that is ...

('XOOPS_ROOT_PATH', '/localhost');

but I get the error message of "XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run."

On an online server it would be something like ..

('XOOPS_ROOT_PATH', '/home/user/domains/mysite.com/public_html');

Anyone know what the root path is on a local machine?? I mean .. I don't have a "domain name" on it or anything.

Thanks

2
davidl2
Re: Install xoops on local machine .. whats the "root path"?
  • 2006/3/27 12:38

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


It think would be the physical location on your machine - for example "c:/foxserver/htmldocs/xoops"

(I may be wrong in this however, but I seem to remember using the actual path with XAMPP)

3
gumleaf
Re: Install xoops on local machine .. whats the "root path"?
  • 2006/3/27 13:04

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Thanks david2

I just came back to say "Don't worry I solved it" and I see you came up with the correct solution too!

I just put it as C:/FoxServ/www .. which .. as you said was the physical location of the files. Works perfectly. Pretty slow though! Just as slow as on the online server! I would have thought it would be as fast as using Widows Explorer on local files! .. Oh well.

Thanks

4
davidl2
Re: Install xoops on local machine .. whats the "root path"?
  • 2006/3/27 14:07

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


No problem

(In fact this has reminded me of a solution to a problem I had setting up Xampp - so this has helped me as well )

Login

Who's Online

68 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 68


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits