PDA

View Full Version : parse error


marc0627
02-02-2006, 01:46 AM
Parse error: parse error, unexpected T_STRING in c:\phpdev5\www\index.php on line 2

<?php require_once('connForum.php'); ?>

require_once('includes/tng/tNG.inc.php');
$logout = new tNG_Logout();
$logout->setLogoutType("link");
$logout->setPageRedirect("index.php");
$logout->Execute();


line 2 is blank so whats the problem

Creative Insanity
02-02-2006, 05:28 AM
I love the way some people ask for our help in such a polite manner.

marc0627
02-02-2006, 06:41 AM
I love the way some people ask for our help in such a polite manner.

so please can i have the answer??? everytime i created a php this is the error

Creative Insanity
02-02-2006, 06:48 AM
$logout = new tNG_Logout();
This looks like MXKollection extension.
If so are you uploading all the files in the include directory? This extension creates a heap of extra files (more than I personally think is needed), when you use it.
I think the error was created with the tNG.inc.php file.. what is in that?

davidj
02-02-2006, 07:46 AM
so whats the problem



post code and ill tell ya

all from index.php