Subject: Need Help Getting Through Install

Posted on: 08/08/18 12:08pm
By: Don Winner

Received this error:

Fatal error: Can't use function return value in write context in /home/sullivanguide/public_html/lib-common.php on line 7947

Deleted the database. Ran install.php again. Same exact result.

What should I do next?

Don

Re: Need Help Getting Through Install

Posted on: 08/08/18 02:09pm
By: Laugh

Fatal error: Can't use function return value in write context in /home/sullivanguide/public_html/lib-common.php on line 7947


Is this a new install or upgrade?

What version of PHP are you using?

There are a few issues that were found for PHP 5.3 and Geeklog v2.2.0 so you should use at least PHP 5.5.

I am away at the moment so I can't really test things. Is your lib-common.php line 7947 this:

PHP Formatted Code
if (!empty(PLG_getItemInfo($type, $lang_item_id, 'id'))) {    


If so it probably deals with the PHP issue as I stated above. See https://stackoverflow.com/questions/17139264/cant-use-function-return-value-in-write-context for more information.

Re: Need Help Getting Through Install

Posted on: 08/08/18 02:42pm
By: Don Winner

That might be it. It's a brand new install. I'll check the php version.

Don

Re: Need Help Getting Through Install

Posted on: 09/08/18 06:34am
By: Laugh

Okay, let us know how the install goes.

Re: Need Help Getting Through Install

Posted on: 17/09/18 10:41am
By: Don Winner

That was the problem. Upgraded to php 5.5 and it runs fine. Thanks.

Don

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=96863