Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Monday, June 25, 2012

Parse Error: Syntax error ,unexpected T_VARIABLE on line ...

Possible reason
1)Missing semi colons after a variable of  corresponding fields.

Parse Error: Syntax error ,unexpected $end

Possible reasons
1)Missing closing brace '}'

Parse Error: Syntax error ,unexpected '}'

Possible reasons
1)Forget to add curly braces '{' 
2)Extra closing curly braces '}'

Notice : A session had already been started - ignoring session_start()

Error in session declarations.
Possible reasons
1)Session is already started and you are trying to start it again
  ie, session_start() is called more than once.
2)session.auto_start may be enabled in your php.ini file.
  So if you call session_start() again it will throw an error.
 You can verify this in php.ini file or run a test file which echo phpinfo().
  

Common Errors In PHP Coding

Hi guys hope you are doing well.
Its being long time there is no new posts in the blog. Today I am publishing some errors which I have gone through.
Happy Coding :)