it is probably this line in your newpagename.php file that is causing it..
Code: Select all
// standard session management
$userdata = session_pagestart($user_ip, PAGE_TEMPLATE);
Also before you hit these errors, Although the rest of the mod seemed straight forward, the template.php file had other gottchas.. so here they are..
change TEMPLATE in the following code to newpagename
Code: Select all
$page_title = 'TEMPLATE';
Code: Select all
$template->set_filenames(array(
'body' => 'template.tpl')
Code: Select all
$template->set_filenames(array(
'body' => 'newpagename.tpl')
$template->pparse('body');
Hope this helps. Currently I am still one of the people asking more then responding, but I do like to pay my debts when & where I can..
Wenda