Status: offline

Don Winner

Forum User
Newbie
Registered: 08/08/18
Posts: 3
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

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
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:

Text 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.
One of the Geeklog Core Developers.

Status: offline

Don Winner

Forum User
Newbie
Registered: 08/08/18
Posts: 3
That might be it. It's a brand new install. I'll check the php version.

Don

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Okay, let us know how the install goes.
One of the Geeklog Core Developers.

Status: offline

Don Winner

Forum User
Newbie
Registered: 08/08/18
Posts: 3
That was the problem. Upgraded to php 5.5 and it runs fine. Thanks.

Don