1
sharifa
Testing Offline
  • 2006/4/17 19:25

  • sharifa

  • Just popping in

  • Posts: 36

  • Since: 2006/4/15


Is there anyway I can play with XOOPS offline on my own PC at home, instead of having to upload my changes all the time to see how they'd look.

2
snow77
Re: Testing Offline
  • 2006/4/17 19:39

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


You can install a local webserver like XAMP. Upload files to htdocs directory and use the path http://localhost/xxxx on your browser.

3
m0nty
Re: Testing Offline
  • 2006/4/17 19:41

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


do a search on google..

try xampp from http://www.apachefriends.org

4
sharifa
Re: Testing Offline
  • 2006/4/17 20:00

  • sharifa

  • Just popping in

  • Posts: 36

  • Since: 2006/4/15


Thanks

5
sharifa
Re: Testing Offline
  • 2006/4/17 21:09

  • sharifa

  • Just popping in

  • Posts: 36

  • Since: 2006/4/15


Not really sure what I'm doing, but think I've installed it right and put the files in the right directory but I get this error.

XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.

6
snow77
Re: Testing Offline
  • 2006/4/17 21:59

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Did you create the database and run the XOOPS install?

7
sharifa
Re: Testing Offline
  • 2006/4/17 22:08

  • sharifa

  • Just popping in

  • Posts: 36

  • Since: 2006/4/15


Nope I just took everything from
http://www.lifensoulonline.co.uk/testing

and stuck it in the directory. Thought that would work.

8
snow77
Re: Testing Offline
  • 2006/4/17 22:15

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


You would then need to modify the physical path, virtual path and database details in the mainfile and do a migration of the database if you want to keep what you have done in the server. Otherwise just create a new database in your webserver and run the XOOPS install.

9
sharifa
Re: Testing Offline
  • 2006/4/17 23:03

  • sharifa

  • Just popping in

  • Posts: 36

  • Since: 2006/4/15


Sounds complicated. I just did a test and copied http://www.lifensoulonline.co.uk/testing over to http://www.theskepticexpress.com/testing and that brought up the same error.

I take it that means I have to install Xoop and start again :( would be nice to be able to just copy over as easy as I was attempting to do aslong as the directory structure stays the same.

10
Dave_L
Re: Testing Offline
  • 2006/4/18 0:46

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Copying from one server to another works, provided that you edit mainfile.php as snow77 said.

I have the same XOOPS files and database in seven different places (three internet servers running Linux, and two workstations dual-booting Linux and Windows), and the only thing that's different is mainfile.php.

These are the parameters that potentially need to be changed:

XOOPS_ROOT_PATH
XOOPS_URL
XOOPS_DB_PREFIX
XOOPS_DB_HOST
XOOPS_DB_USER
XOOPS_DB_PASS
XOOPS_DB_NAME

You can also avoid that error by changing the value of XOOPS_CHECK_PATH from '1' to '0', at the risk of somewhat reducing security. But security isn't really an issue when running XOOPS on your computer, assuming that it's not accessible to the internet.

Login

Who's Online

215 user(s) are online (104 user(s) are browsing Support Forums)


Members: 1


Guests: 214


heyula,

more...

Donat-O-Meter

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

Latest GitHub Commits