1
FredTheDog
Win2000+Xampp+Xoops Install failure
  • 2005/4/30 23:54

  • FredTheDog

  • Just popping in

  • Posts: 1

  • Since: 2005/4/30


I have a working localhost on which I am trying to run Xoops. The attempt resulted in this message:

Warning: main(/path/to/xoops/directory/include/common.php) [function.main]: failed to open stream: No such file or directory in C:\Program Files\Internet\apachefriends\xampp\htdocs\xoops\mainfile.php on line 60

Warning: main() [function.include]: Failed opening '/path/to/xoops/directory/include/common.php' for inclusion (include_path='.;C:\Program Files\Internet\apachefriends\xampp\php\pear\') in C:\Program Files\Internet\apachefriends\xampp\htdocs\xoops\mainfile.php on line 60

Fatal error: Call to undefined function xoops_header() in C:\Program Files\Internet\apachefriends\xampp\htdocs\xoops\header.php on line 23

The file mentioned in the warnings (/include/common.php) is where it should be.
And I don't know enough about php to debug the fatal.

Can anyone please give me a place to start?

2
Lance_
Re: Win2000+Xampp+Xoops Install failure
  • 2005/5/1 0:50

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


In mainfile.php
// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', '/path/to/xoops/directory');
    
define('XOOPS_ROOT_PATH''');


The last line should have your path to the root dir eg: C:\whatever

Right now it seems, you have left the deafault text in there '/path/to/xoops/directory' which of course isn't the path to your files.

Cheers.

Login

Who's Online

295 user(s) are online (261 user(s) are browsing Support Forums)


Members: 0


Guests: 295


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