<?php
include(dirname(__FILE__)."/init.php");
$GLOBALS['ISC_CLASS_CUSTOMER'] = GetClass('ISC_CUSTOMER');
$GLOBALS["ISC_CLASS_CUSTOMER"]->HandlePage();
I'm not very familiar with php code. What is wrong with this file?
<?php
include(dirname(__FILE__)."/init.php");
$GLOBALS['ISC_CLASS_CUSTOMER'] = GetClass('ISC_CUSTOMER');
$GLOBALS["ISC_CLASS_CUSTOMER"]->HandlePage();
I'm not very familiar with php code. What is wrong with this file?
this line is not possible $GLOBALS["ISC_CLASS_CUSTOMER"]->HandlePage(); and getclass() only excepts an object resource unless ISC_CUSTOMER is an object.
Then what should it be?
There are no parse errors in the code you posted above. Are you sure you posted the code from the correct line and file mentioned in the error message (which is cut off, so we can't see what that might be)?
Here is the full parse error and how it reads:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/pwade920/public_html/tronixmart.com/login.php on line 3
The rest of what I have in the thread is what I copied and pasted from the login.php file. That is everything that is in that file when it is opened. Here is what it says again:
text from the login.php file:
<?php
include(dirname(__FILE__)."/init.php");
$GLOBALS['ISC_CLASS_CUSTOMER'] = GetClass('ISC_CUSTOMER');
$GLOBALS["ISC_CLASS_CUSTOMER"]->HandlePage();
The only thing different is that it is one long line of text and not the 3 lines that you see here. Any help you can give me is greatly appreciated because I don't know anything about php coding and this is the error that I'm getting when I click on the menu link at the top of my website homepage called My Account, Wish List, or Order Status.