• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue comment interpreted

creale

New Pleskian
Hi,

I'm on a Hosting resseler plan by OVH...

And i had transfer one of my website, but on this server the commented line of my code are interpreted !

My browser write me an error on a commented line of my code. and when i delete those commented lines the process go right until next problem.

Any idea of what's wrong with my plesk configuration ? ( the basic ovh configuration by the way)

Thank you
 
What exactly do you mean by "commented line of code"? Could you give an example, please?
 
the php line which are commented, like : /* My code line */

My 298 line is in a commented bloc of code, and i have this error :
Parse error: syntax error, unexpected 'endif' (T_ENDIF) in /.../header.php on line 298
 
Hard to say, why that is happening. The underlying error must be different, e.g. PHP short open tags might be turned of, yet used in the code. It is very likely a simply php.ini configuration issue or actually a code error, e.g. the opener of the PHP code might be mis-formatted or the character set might be wrong. I'd also suggest to check the first bytes of the file, maybe additional bytes were added before the first opener, leading to a misinterpretation of following code. Very unlikely a Plesk issue or a PHP library issue.
 
Ok thank you for your quick answer ... i will check ....

You have to know that this website works perfectly on another ovh hosting :(

I will take a look and i willl tell you
 
Hi creale,

You have to know that this website works perfectly on another ovh hosting
... only because you have different "error reporting" or "display_errors" settings in your domain specific PHP - settings, it doesn't mean, that your code has no mistakes. :p

I strongly assume, that when you compare your PHP-handlers and the settings "error_reporting" and "display_errors" in each corresponding php.ini, you will notice differences. :)
 
Back
Top