Welcome to Geeklog Thursday, October 18 2018 @ 02:00 am EDT

Geeklog Forums

Need Help Getting Through Install


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: 27/09/05
Posts: 1308
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.
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: 27/09/05
Posts: 1308
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

All times are EDT. The time is now 02:00 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content