Home Forums Support Widget Support EasyBlog Control Panel / PHP File Error Reply To: Control Panel / PHP File Error

Anonymous
Post count: 5
#45317 |

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