Access to blogs after release
Hi - I've noticed that I can't get into some blogs after release. For example: DHI - http://cunydhi.commons.gc.cuny.edu/ Codex - http://codex.commons.gc.cuny.edu/ GSLIS - http://qcgslis.commons.gc.cuny.edu/
But I have been able to get into others. for example - http://latinofacultyinitiativecuny.commons.gc.cuny.edu/
Anyone else seeing this problem?
#3 Updated by Boone Gorges over 10 years ago
- Status changed from New to Assigned
- Assignee set to local admin
The problem was indeed WikiInc.php. The author used a short delimiter instead of the full https://github.com/castiron/cac/commit/a9235088d22b9e9f3b866ad3326182e9d60dfd32 and did a hotfix on the live site.
There may be other plugins, now and in the future, that make the same mistake. For that reason, it's probably a good idea to configure PHP to be more forgiving about this. André, can you help with that? Here's a guide I found: http://www.cyberciti.biz/faq/php-allow-short_open_tag/
Leaving the ticket open until the change has been made to our PHP config.
#4 Updated by Sarah Morgano over 10 years ago
One of our members also just reported that she cannot access two of her blogs. The sites won't even load up. (See: http://commons.gc.cuny.edu/groups/wordpress-help/forum/topic/cant-view-my-blogs/)
At this point, what should be our response to members who report this problem?
#6 Updated by local admin over 10 years ago
Boone Gorges wrote:
What are the URLs, please?
Boone, I followed the cookie crumb trail from the help forum post to the user's page, then to her list of blogs. It's the same issue:
[Thu Oct 13 12:13:15 2011] [error] [client 18.104.22.168] PHP Parse error: syntax error, unexpected $end in /var/www/html/wp-content/plugins/front-page-category/front-page-category.php on line 91, referer: http://commons.gc.cuny.edu/members/giulia/blogs/
I'm changing that PHP setting as requested now...
#7 Updated by local admin over 10 years ago
short_open_tag: On seems to have fixed it.
Please note that this practice is deprecated! There may be issues with processing XML and stuff [ http://www.php.net/manual/en/ini.core.php#ini.short-open-tag].
#9 Updated by Boone Gorges over 10 years ago
Ok, setting short_open_tag: On seems to have fixed it.
Awesome, thanks for making this change, André!
I know the practice is deprecated, but the problem occurs in some third-party plugins that we're using, and I would rather not have to reapply a patch to them every time they are updated. Glad the blogs have come back to life :)