Welcome to Geeklog, Anonymous Wednesday, September 18 2024 @ 09:49 am EDT

Geeklog Forums

Installed...almost


taltoris

Anonymous
I was installing geeklog for the first time and I ended up getting this error message just before I got to the success.php page:

Text Formatted Code
Parse error: parse error in /home/prescott/public_html/forums/lib-common.php on line 1167

Fatal error: Call to undefined function: plg_showcenterblock() in /home/prescott/public_html/forums/index.php on line 61
 


I do a bit of php programming, but I couldn't find out why there was a parse error, and I assume the second one is stemming from the first.

Here's line 1167 of lib-common.php:
Text Formatted Code
$help = '<a class="blocktitle" href="../../../../Desktop/geeklog-1.3.9sr2/public_html/'%20.%20$_CONF%5b'site_url'%5d%20.%20'/help/'%20.%20$helpfile%0d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.%20'" target="_blank"><img src="../../../../Desktop/geeklog-1.3.9sr2/public_html/'%20.%20$_CONF%5b'layout_url'%5d%0d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.%20'/images/button_help.gif" border="0" alt="?"></a>';
 


Any help I could get would be immensely appreciated. Thank you guys for your time.
 Quote

tokyoahead

Anonymous
check your path to the config.php in lib_common and the pathes in your config.php I would say...
 Quote

Status: offline

jonc

Forum User
Chatty
Registered: 09/12/04
Posts: 50
line 1167 actually says:

Text Formatted Code
$help = '<a class="blocktitle" href="' . $_CONF['site_url'] . '/help/' . $helpfile
 


so check your $_conf['site_url'] whcih is set in your config.php
 Quote

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