24/7 U.S. Support – 877-595-4482
2011-12-27 1:50 pm
I'm sorry you're having trouble with your PHP file. This type of error can be caused by one or more of several errors in the PHP code. Without seeing the code, it's difficult to say for sure but we'll help as much as we can with possible causes for this error.
The most common cause of this error is using PHP short tags without setting that in your php.ini file. You can use short open tags for PHP, but you will need to allow that through your php.ini file. Find the SHORT_OPEN_TAG directive in your php.ini and make sure it's set to "1"
Next, check your code for common coding errors such as missing curly brackets, quotes, parenthesis, and commas:
Quotes should be closed
Brackets should be closed
Parenthesis should be closed
Make sure there are no instructions in your code missing a comma
You may find it helpful to use a syntax highlighting editor to help you identify any possible issues with the code.
You may also need to check the placement of your PHP opening and closing tags as well as the placement of PHP and any HTML code in the file.
I hope this helps. Please let us know if you have any additional questions or need further assistance.
|Email:||support@WebHostingHub.com||Ticket:||Submit a Support Ticket|
|Chat:||Click To Chat Now|