1
barbary
WTF?? ---> Warning: main(XOOPS_ROOT_PATH/
  • 2005/1/30 4:09

  • barbary

  • Just popping in

  • Posts: 39

  • Since: 2005/1/15


I followed this FAQ thing to wrap XOOPS around an HTML page...

https://xoops.org/modules/smartfaq/faq.php?faqid=253

And I get this... HELP!

==========================
Warning: main(XOOPS_ROOT_PATH/class/xoopsblock.php): failed to open stream: No such file or directory in /var/www/html/xoops-2.0.9.2/html/header.php on line 28

Warning: main(): Failed opening 'XOOPS_ROOT_PATH/class/xoopsblock.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/xoops-2.0.9.2/html/header.php on line 28

Warning: main(XOOPS_ROOT_PATH/class/template.php): failed to open stream: No such file or directory in /var/www/html/xoops-2.0.9.2/html/header.php on line 62

Fatal error: main(): Failed opening required 'XOOPS_ROOT_PATH/class/template.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/xoops-2.0.9.2/html/header.php on line 62
==========================

2
hyperpod
Re: WTF?? ---> Warning: main(XOOPS_ROOT_PATH/
  • 2005/1/30 4:32

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


All i can see is that you should install whats in the xoops/html dir into your html dir...

Your path is set to:

/var/www/html/xoops-2.0.9.2/html/header.php


when its recommended to be:

/var/www/html/header.php


Which would require a re-install... from there you might have a better time getting things working.

Hope that helps... If you have any more questions, we're here.


Cheers,

3
barbary
Re: WTF?? ---> Warning: main(XOOPS_ROOT_PATH/
  • 2005/1/30 4:51

  • barbary

  • Just popping in

  • Posts: 39

  • Since: 2005/1/15


Hmmm... wouldn't my XOOPS not work at all, if that were the case? I didn't explain this, but XOOPS works great, no problems. I am just trying to wrap XOOPS around an HTML file, by following those instructions to wrap PHP around the HTML... I am using a custom theme as well, so perhaps that has something to do with it??

Any more ideas, would be appreciated!!

4
hyperpod
Re: WTF?? ---> Warning: main(XOOPS_ROOT_PATH/
  • 2005/1/30 5:23

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


So on the second line of the example, you have this, correct?

<?php
include("/var/www/html/xoops-2.0.9.2/html/mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");
?>
The content of your original html file goes here!!
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>

5
barbary
Re: WTF?? ---> Warning: main(XOOPS_ROOT_PATH/
  • 2005/1/30 18:47

  • barbary

  • Just popping in

  • Posts: 39

  • Since: 2005/1/15


Ah. HA! That was it! I didn't have the path correct. YOU ROCK! Thanks a ton Hyperpod, you made my day! This now opens the gataway to developing html articles, etc.. into my site..

Whereas, I tried WFSection and Edito both, this works best. Those two modules DO wrap XOOPS around my HTML, but they space out my html pages horribly.

Have a great one!

-BARBARY

Login

Who's Online

155 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

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

Latest GitHub Commits