Welcome to Geeklog, Anonymous Tuesday, March 19 2024 @ 03:21 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
 Quote

Status: offline

Laugh

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

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
 Quote

Status: offline

Laugh

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

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
 Quote

All times are EDT. The time is now 03:21 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