Jump to content
Sign in to follow this  
gregory-johnson

iBlog2 2.8 - Page.php Error Crashes Site

Recommended Posts

gregory-johnson    0
gregory-johnson

Upon updating to from iBlog2 2.7.7 to iBlog2 2.8 the theme causes a crash of the website. The offending error is: Parse error: syntax error, unexpected ')' in ... page.php on line 23 In the error above, I removed the lengthy host directory structure and replaced it with ... I checked what I thought was line 23 of the page.php file, and didn't notice anything odd about it. Maybe there's a missing ( to cause the ) to be unexpected.

Share this post


Link to post
Share on other sites
gregory-johnson    0
gregory-johnson

Here's a temporary fix: Line 23 ends with »</p>'); ?> Remove the ) at the end and that fixes the initial error. Then more errors are found in line 24 and 25. So, remove those lines entirely. Line 24 begins with <?php link_pages Line 25 begins with <?php edit_post_link When these lines are removed from the page.php file, the theme seems to work. However, this removes the link_pages and edit_post_link options. I'm not sure what link_pages does, but the edit_post_link is the link at the bottom of the page you can click on to edit the post or page. For some reason, the Edit link appears at the bottom of posts but not at the bottom of pages after this fix. Hopefully the correctly coded page.php file will be made available soon.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×