jerodsanto / wordpress-console

An interactive console for WordPress developers
MIT License
66 stars 9 forks source link

Error: Most likely syntax. Forget the semicolon? If not, try 'reload' and re-execute #3

Closed metamn closed 13 years ago

metamn commented 15 years ago

Hi,

I'm running wordpress 2.8 in a '/blog' subdir. when trying to test the plugin with

bloginfo('name');

i'm getting the above error message

jerodsanto commented 15 years ago

Could you check out your web server's error log, it should have more information there which will help us troubleshoot this.

jerodsanto commented 14 years ago

I'm closing this issue for now, please open a new one if this problem rears its head again.

bharghav9 commented 11 years ago

@metamn :- Just as Jerod said please check Apache logs. Below is snippet from my Apache log, which clearly said "session.save_path" variable pointing to a directory doesn't have access to write. In my case Apache is running as different user and this directory "/var/lib/php/session" is owned by "root". Once I had changed value of this value in "/etc/php.ini" and restarted Apache, I was able to execute commands on wordpress console without any issue.

=================Log======================= PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0, referer:

Thanks.

Vijay B.