954,148 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need help!! Error message :Parse error T_String...

Hello,

I noticed that there are many threads on forum regarding this issue/error but I still couldnt find solution for my problem, so I am sorry, I had to make new thread, i just cant find right solution.

Here is the problem, whenever I open this page on my site ( http://www.centralni-servis.co.ba/test2.php ) I receive next error message:

"Parse error: parse error, unexpected T_STRING in http://www.centralni-servis.co.ba/shop/index.php on line 1"

This is beginig of the code in index.php :

<?php
/*
* Quick.Cart by OpenSolution.org
* www.opensolution.org
*/
extract( $_GET );
session_start( );

if( !isset( $_SESSION['iCustomer'] ) )
  $_SESSION['iCustomer'] = time( ).rand( 100, 999 );

define( 'CUSTOMER_PAGE', true );

As you can see first line of code is "<?php" and I am little confused whats problem??:(

Any help is appreciated.

Cheers:icon_wink:

MCMdizajn
Newbie Poster
20 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

I forgot to mention that I am trying to install e-commerce solution Quick.Cart http://opensolution.org/?p=Quick.Cart .

Script works very good as you can see on next link:

http://www.centralni-servis.co.ba/shop/

but when I try to include this script in test2.php with this line of code:

<? include ("http://www.centralni-servis.co.ba/shop/index.php"); ?>


I receive Parse error :-/


All suggustions are wellcome regarding this problem!

thanks!

MCMdizajn
Newbie Poster
20 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You