Welcome to Geeklog, Anonymous Sunday, September 01 2024 @ 12:07 am EDT
Geeklog Forums
phpbbbridge install problem
Page navigation
RoN
Anonymous
After messin with it for a couple hours I finally got it installed again. Problem it, when I go to the forum, I get this message:
Any idea how I can correct this
Text Formatted Code
Fatal error: Call to undefined function: com_siteheader() in /home2/revenue/public_html/forum/includes/page_header.php on line 350Any idea how I can correct this
![Question Question](http://www.geeklog.net/images/smiles/icon_question.gif)
28
25
Quote
RoN
Anonymous
Oh yeah, and this is the line from the page header:
global $_PHPBBB_CONF;
$geeklog_site_header = '';
if ($_PHPBBB_CONF['show_left_blocks'])
{
$geeklog_site_header = COM_siteHeader();
}
else
{
$geeklog_site_header = COM_siteHeader('none');
}
Text Formatted Code
// Added by Turiasglobal $_PHPBBB_CONF;
$geeklog_site_header = '';
if ($_PHPBBB_CONF['show_left_blocks'])
{
$geeklog_site_header = COM_siteHeader();
}
else
{
$geeklog_site_header = COM_siteHeader('none');
}
26
25
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
This happens after an incorrect install/integration. You may want to check all of the config files and make sure that your paths are correct.
Also, what page were you trying to load when this happened? It was phpBB's index.php file, right?
Also, what page were you trying to load when this happened? It was phpBB's index.php file, right?
25
32
Quote
Status: offline
Gojo
Forum User
Newbie
Registered: 01/04/05
Posts: 13
I get the same Fatal error: Call to undefined function: com_siteheader[blab blah blah]page_header.php on line 350 when trying to load the forum index from the nav bar. I can open the forum admin interface using the GL admin bar, but no go when trying to open the forum's index either directly or using the link.
I'm no coding superman, but I tried following suggestions that I've seen. Even checked out those topics on demo.dogcows.net. I think the config files are set up correctly, but I'm stumped also. (sigh)
On another (unrelated) note... I also do not receive the registration password confirmation email when using a test user dummy account if I use an email address with a domain name that is different than the site's domain (i.e. YAHOO). I get the message that the password is being mailed, but nada.
I'm no coding superman, but I tried following suggestions that I've seen. Even checked out those topics on demo.dogcows.net. I think the config files are set up correctly, but I'm stumped also. (sigh)
On another (unrelated) note... I also do not receive the registration password confirmation email when using a test user dummy account if I use an email address with a domain name that is different than the site's domain (i.e. YAHOO). I get the message that the password is being mailed, but nada.
27
22
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
Did you remove the install and contrib directories for phpBB? What about the admin/install directory for Geeklog? There's a small bug with the wrong error message showing up for those problems. It is fixed in my internal version and will be pushed out in the next version of the phpBBBridge I release.
As for your unrelated note, I don't know. It's not a phpBBBridge issue.
As for your unrelated note, I don't know. It's not a phpBBBridge issue.
![Very Happy Very Happy](http://www.geeklog.net/images/smiles/icon_biggrin.gif)
22
27
Quote
Status: offline
Gojo
Forum User
Newbie
Registered: 01/04/05
Posts: 13
All of the associated install/contrib directories for phpbb and GL were deleted prior to attempting the login. I just know I'm going to end up scrapping the whole thing... deleting all of the databases, and reinstalling both again. Either brute force or blunt force head trauma will prevail!
![Banging your head Banging your head](http://www.geeklog.net/images/smiles/banghead.gif)
28
26
Quote
Status: offline
Gojo
Forum User
Newbie
Registered: 01/04/05
Posts: 13
Sure
It's pretty basic, but I won't rule out anything.
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
$phpbbb_geeklog_public_html_dir = "/home/draconis/public_html/portal/"; // Should end in a slash
?>
![Neutral Neutral](http://www.geeklog.net/images/smiles/icon_neutral.gif)
Text Formatted Code
<?phpif ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
$phpbbb_geeklog_public_html_dir = "/home/draconis/public_html/portal/"; // Should end in a slash
?>
18
40
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
One last thing to try:
in the phpBB functions.php file, find the following:
{
global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header, $images;
global $userdata, $user_ip, $session_length;
global $starttime;
change it to read
{
die($msg_text);
global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header, $images;
global $userdata, $user_ip, $session_length;
global $starttime;
Then, see if the error message you are getting has changed.
in the phpBB functions.php file, find the following:
Text Formatted Code
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = ''){
global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header, $images;
global $userdata, $user_ip, $session_length;
global $starttime;
change it to read
Text Formatted Code
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = ''){
die($msg_text);
global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header, $images;
global $userdata, $user_ip, $session_length;
global $starttime;
Then, see if the error message you are getting has changed.
21
23
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
Apparently not in your case.
Well, I'm stumped. Unless you know enough PHP to trace through the code and figure out why the lib-common.php file failed to be included in your page load, I would recommend reinstalling the plugin.
Well, I'm stumped. Unless you know enough PHP to trace through the code and figure out why the lib-common.php file failed to be included in your page load, I would recommend reinstalling the plugin.
23
24
Quote
HOpes
Anonymous
Hey, I was getting the same error message....and I changed the code you wanted changed. Now t's giving me another error, the error is
Parse error: parse error, unexpected T_STRING in /home/hopes/public_html/phpBB2/includes/functions.php on line 2
got any ideas on that one sir?
HOpes
Parse error: parse error, unexpected T_STRING in /home/hopes/public_html/phpBB2/includes/functions.php on line 2
got any ideas on that one sir?
HOpes
23
20
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
Quote by HOpes: Hey, I was getting the same error message....and I changed the code you wanted changed. Now t's giving me another error, the error is
Parse error: parse error, unexpected T_STRING in /home/hopes/public_html/phpBB2/includes/functions.php on line 2
got any ideas on that one sir?
HOpes
Parse error: parse error, unexpected T_STRING in /home/hopes/public_html/phpBB2/includes/functions.php on line 2
got any ideas on that one sir?
HOpes
This happens when there is a syntax error in the PHP code. Usually it's a quote that isn't closed. Did you make any other changes to that file?
And try using the latest version of the Bridge found on my website. You should no longer have to change the message_die function to show the hidden error message.
20
20
Quote
justin
Anonymous
i'm having trouble, the install seems to run smoothly, but when i go to phpbb i'm not logged in, clicking log in just askes me to re login to geeklog but i never actually get logged into phpbb, it's difficult to figure anything out since i can't log in as admin to get to the administration panel
28
22
Quote
thisjustin
Anonymous
No errors, everything seemed to go ok. I checked in phpmyadmin and the tables seem to have been synched, same db different prefix right?
The link to the forum which is suppose to be added by default was not added if this indicates anything.
Thanks.
The link to the forum which is suppose to be added by default was not added if this indicates anything.
Thanks.
21
21
Quote
Page navigation
All times are EDT. The time is now 12:07 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