1
fulconarrow
What went wrong here?

Hi,

At the moment im trying to work out how to include html files into your site theme. I check the tutorial and saw it only involves adding 3 lines to a html page so i did the following as a test page:

include("/mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
?>



Untitled Document




Roster


include(XOOPS_ROOT_PATH."/footer.php");
?>

When i uploaded the webpage to my webhost and pointed at in the page displays like this: http://www.solo-elite.com/Test.php Whats wrong with it lol?

2
Mithrandir
Re: What went wrong here?

remove the forward slash from include("/mainfile.php");

3
fulconarrow
Re: What went wrong here?

omg that was too easy! Its the same old though... when your stressed trying to get stuff done you always miss out the easy fixes! Cheers mate.

Login

Who's Online

157 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

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

Latest GitHub Commits