Home › Forums › Support › Widget Support › EasyBlog › Control Panel setup ERROR (Easyblog)
- This topic has 6 replies, 2 voices, and was last updated 7 years ago by
responsive-muse.
- AuthorPosts
- November 9, 2018 at 11:11 am #45366
AnonymousInactiveGood day
A great widget that I hope to eventually buy providing I can get the free version to work satisfactorily. Here are my error messages using the default easyblog.php file as provided before ANY modifying.
Upon loading the control panel page (www.classiccarracers.co.za/assets/easyblog.php)
Parse error: syntax error, unexpected ‘&’, expecting T_VARIABLE or ‘$’ in D:\hshome\medic\classiccarracers.co.za\assets\easyblog.php on line 74
foreach($content as $lineNumber => &$lineContent) {If I remove the & sign on line 74
Parse error: syntax error, unexpected ‘&’, expecting T_VARIABLE or ‘$’ in D:\hshome\medic\classiccarracers.co.za\assets\easyblog.php on line 188
foreach($content as $lineNumber => &$lineContent) {If I remove the & sign on line 188 the error does not come up as previously but instead;
Fatal error: Call to undefined function: file_put_contents() in D:\hshome\medic\classiccarracers.co.za\assets\easyblog.php on line 61
file_put_contents($file, $contents . PHP_EOL);Unable to get past this error message. The easyblog.php file does have full read/write access for testing purposes.
Any help would be appreciated.
Regards
IanNovember 12, 2018 at 12:12 pm #45449
responsive-museKeymasterHi Ian,
The errors that you mention might be because of your hosting’s PHP version and because it’s configured in a way to show warnings.
Could you please tell us the PHP version?
Thank you,
November 14, 2018 at 12:31 pm #45530
AnonymousInactiveThank you for the reply. I have now requested such information from the host and will forward such information once such has been made known to me.
November 15, 2018 at 6:20 pm #45567
AnonymousInactiveHi Ian,
The errors that you mention might be because of your hosting’s PHP version and because it’s configured in a way to show warnings.
Could you please tell us the PHP version?
Thank you,
The hosting ISP has informed that the current version for my domain being used is PHP 5.4.44 but a later version of PHP is available if so required.
What version of PHP would ideally be required for compatibility purposes with the EasyBlog widget?
Thank you
IanNovember 16, 2018 at 1:22 pm #45590
responsive-museKeymasterThe function that your server says is not defined should be available in PHP 5.4:
http://php.net/manual/en/function.file-put-contents.phpThat means that your version should work, but for some reason your server is not allowing you to use it.
You could try upgrading the PHP version or also tell your Hosting support about this issue.
Regards,
April 3, 2019 at 12:30 pm #49229
AnonymousInactiveThank you.
April 10, 2019 at 8:43 pm #49454
responsive-museKeymasterWelcome!
- AuthorPosts
- You must be logged in to reply to this topic.
