#12838 closed defect (bug) (invalid)
PHP error - expecting ';' in wordpress/wp-admin/edit-pages.php(191)
Reported by: | agentc0re | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9.2 |
Component: | General | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
I was getting the above error(in title) in my apache error logs.
On line 192 is where I saw the problem.
192:
if ( empty($locked_post_status) ) :
So I changed it to:
if ( empty($locked_post_status) ) :;
And am no longer receiving this error anymore.
[Sat Apr 03 23:10:48 2010] [error] [client 174.23.x.x] FastCGI: server "/home/learnix/virtual_html/public_html/wordpress/wp-admin/index.php" stderr: EntityRef: expecting ';' at line 191, column 107, referer: http://learnix.net/wordpress/wp-admin/edit-pages.php
Change History (4)
#3
@
15 years ago
- Resolution set to invalid
- Status changed from new to closed
After further investigation on my end, this was my fault. Since my implementation of fastcgi i recompiled quite a few things. I think my original php.ini got overwritten during this time and set the follow parameter:
session.save_handler = mm
When it should have been
session.save_handler = "files"
I didn't think that the warning i reported here had anything to do with the other errors i was receiving. Since this change on my end, I have not seen this errors. Sorry to have wasted your time. :/
Note: See
TracTickets for help on using
tickets.
That's not a PHP parse error, that's an XML parsing error.
Can you load up edit-pages.php, view source, and paste in from about line 180 to line 210? Make sure you let us know which line is 191. I would like to see if the output causing that is generated by core (versus a plugin), and if so, fix it.