Home Forums Support Widget Support EasyBlog Control Panel setup ERROR (Easyblog)

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #45366
    Anonymous
    Inactive

    Good 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
    Ian

    #45449
    responsive-muse
    Keymaster

    Hi 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,

    #45530
    Anonymous
    Inactive

    Thank 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.

    #45567
    Anonymous
    Inactive

    Hi 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
    Ian

    #45590
    responsive-muse
    Keymaster

    The function that your server says is not defined should be available in PHP 5.4:
    http://php.net/manual/en/function.file-put-contents.php

    That 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,

    #49229
    Anonymous
    Inactive

    Thank you.

    #49454
    responsive-muse
    Keymaster

    Welcome!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Scroll to Top