Quote
Matonor wrote:
If you open a new database connection, you have to reopen or reselect the php-fusion database connection afterwards.
that's why you get the error.
you can put additional vars in config.php, but taht does not change the above fact.
Quote
thewashman wrote:
...unable to add code where it says //Code When I do I get this error.Quote
Parse error: syntax error, unexpected T_STRING in /home/www/*****.com/new-page.php on line 17
Quote
?>
// HTML Code
<?php
Quote
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
Quote
www.mysite.com/myfolder/custompage.php
Quote
require_once "../maincore.php";
require_once "../subheader.php";
require_once "../side_left.php";
Quote
Warning: mysql_close(): no MySQL-Link resource supplied in /home/fizzo/domains/ayc.frih.net/public_html/WBA/footer.php on line 25
Quote
Access denied for user: 'apache@localhost' (Using password: NO)
Quote
Matonor wrote:
Use this as a Base:Code Download source<?php
/*---------------------------------------------------+
| PHPFusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
opentable("Title");
//Code
closetable();
require_once "side_right.php";
require_once "footer.php";
?>
Copy&Paste it into a new file, put your Custom Page Code where it says //Code and save it as MyPage.php
<?php
/*---------------------------------------------------+
| PHPFusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
opentable("Title");
//Code
closetable();
require_once "side_right.php";
require_once "footer.php";
?>
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions