installed but...


  -----  
Author Message

delta9
Member

Sat Aug 20, 2005 9:55 am   Post subject: installed but...
hi

firstly, thanks for a very excellent hack, this is perfect for what i need! (once its working heh)

i have installed it and got all files copied over etc,

but

1: 1: On my forum(any page) the 2 top links its added to the header have icons but no text next to them

2: When open the contacts.php link it goes to a page with almost no text in and just blank white boxes

3 : When open the IM window there is only "private messages" in text anywhere in the window, and a few numbers, and icons across the top thats it, no other text or anything

4: the biggest problem is the preferences window is giving a lot of errors too >

Warning: ksort() expects parameter 1 to be array, null given in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 316

Warning: Invalid argument supplied for foreach() in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 318

Warning: ksort() expects parameter 1 to be array, null given in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 316

Warning: Invalid argument supplied for foreach() in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 318

Warning: ksort() expects parameter 1 to be array, null given in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 316

Warning: Invalid argument supplied for foreach() in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 318

Warning: ksort() expects parameter 1 to be array, null given in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 316

Warning: Invalid argument supplied for foreach() in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 318

Warning: ksort() expects parameter 1 to be array, null given in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 316

Warning: Invalid argument supplied for foreach() in /home/xkioet6/public_html/4um/mods/prillian/functions_im.php on line 318

Any ideas how to fix these problems?

Ive copied over the premodded files as is too as this is the first hack im installing
 

delta9
Member

Sat Aug 20, 2005 10:34 am   Post subject:
...

Last edited by delta9 on Sun Aug 21, 2005 11:54 am; edited 1 time in total
 

Thoul
Administrator

Sat Aug 20, 2005 2:07 pm   Post subject: re: installed but...
These are all issues with the language files, even the ksort and foreach stuff. Make sure you've uploaded lang_prillian.php and lang_contact.php to your language/lang_english/ folder. If you did, try uploading them again - they may not have copied over correctly.
 

delta9
Member

Sun Aug 21, 2005 11:56 am   Post subject:
great help, thanks alot, the files had uploaded but something must of gone wrong, its now working nicely

Could you tell me how to increase the default size of the im client control panel section in the main window?
 

Thoul
Administrator

Sun Aug 21, 2005 3:09 pm   Post subject: re: installed but...
In the templates/xxxx/prillian/frameset.tpl file, find this line:

Code:

<frameset rows="50,*" border="1">


Change the 50 there to a bigger number. Smile
 

delta9
Member

Mon Aug 22, 2005 7:44 am   Post subject:
great, except i cant login to my ACP at all for some reason it just keeps sending me to the index.php, only thing ive got is base installation and this mod installed - no errors, so am a bit lost right now how to fix this
 

delta9
Member

Mon Aug 22, 2005 11:22 am   Post subject:
decided to do a fresh installof the forum then this mod - and manually edit the php files but ive run into lots of errors now



----------------------------------------------------------------------- // Prillian - Begin Code Addition // include_once($phpbb_root_path . 'includes/constants_prillian.'.$phpEx); include_once($phpbb_root_path . 'includes/constants_contact.'.$phpEx); // // Prillian - End Code Addition //------------------------------------------------------------------------ ?> meta redirection please click HERE to be redirected'; exit; } // Behave as per HTTP/1.1 spec for others header('Location: ' . $server_protocol . $server_name . $server_port . $script_name . $url); exit; } ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/sessions.php on line 206

Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/sessions.php on line 207
----------------------------------------------------------------------- // Prillian - Begin Code Addition // $images['prill_buddies'] = "$current_template_images/prill_buddies.png"; $images['prill_closewin'] = "$current_template_images/prill_closewin.png"; $images['prill_home'] = "$current_template_images/prill_home.png"; $images['prill_prefs'] = "$current_template_images/prill_jar.png"; $images['prill_message'] = "$current_template_images/prill_message.png"; $images['prill_refresh'] = "$current_template_images/prill_refresh.png"; $images['prill_logout'] = "$current_template_images/prill_no1.png"; $images['prill_log'] = "$current_template_images/prill_log.png"; $images['prill_logo'] = "$current_template_images/prill_logo1.png"; $images['prill_offsite'] = "$current_template_images/prill_offsite.png"; $images['prill_onsite'] = "$current_template_images/prill_onsite.png"; $images['prill_help'] = "$current_template_images/prill_help1.png"; $images['prill_main_switch'] = "$current_template_images/prill_mode1.png"; $images['prill_wide_switch'] = "$current_template_images/prill_mode2.png"; $images['prill_mini_switch'] = "$current_template_images/prill_mode3.png"; $images['ignore_add'] = "$current_template_images/contact_ignadd.png"; $images['ignore_remove'] = "$current_template_images/contact_ignrem.png"; $images['disallow_add'] = "$current_template_images/contact_disadd.png"; $images['disallow_remove'] = "$current_template_images/contact_disrem.png"; $images['buddy_add'] = "$current_template_images/contact_budadd.png"; $images['buddy_remove'] = "$current_template_images/contact_budrem.png"; // // Prillian - End Code Addition //------------------------------------------------------------------------ ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/sessions.php on line 206

Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/sessions.php on line 207

Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/functions.php on line 803
 

Thoul
Administrator

Mon Aug 22, 2005 11:49 am   Post subject: re: installed but...
Reupload the files you edited - it looks like several of them either didn't upload properly or saved incorrectly when they were edited.

Quote:

great, except i cant login to my ACP at all for some reason it just keeps sending me to the index.php, only thing ive got is base installation and this mod installed - no errors, so am a bit lost right now how to fix this


That was a security feature of phpBB, designed to prevent unauthorized access to the ACP. You can remove this redirection by removing this code from admin/pagestart.php:

Code:

if (!$userdata['session_admin'])
{
   redirect(append_sid("login.$phpEx?redirect=admin/&admin=1", true));
}
 

delta9
Member

Mon Aug 22, 2005 11:57 am   Post subject: re: installed but...
ive reuploaded all the premodded files but ive still got loads of errors i might have to start again


/------------------------------------------------------------------------ // Prillian - Begin Code Addition // include_once($phpbb_root_path . 'includes/constants_prillian.'.$phpEx); include_once($phpbb_root_path . 'includes/constants_contact.'.$phpEx); // // Prillian - End Code Addition //------------------------------------------------------------------------ ?>----------------------------------------------------------------------- // Prillian - Begin Code Addition // $images['prill_buddies'] = "$current_template_images/prill_buddies.png"; $images['prill_closewin'] = "$current_template_images/prill_closewin.png"; $images['prill_home'] = "$current_template_images/prill_home.png"; $images['prill_prefs'] = "$current_template_images/prill_jar.png"; $images['prill_message'] = "$current_template_images/prill_message.png"; $images['prill_refresh'] = "$current_template_images/prill_refresh.png"; $images['prill_logout'] = "$current_template_images/prill_no1.png"; $images['prill_log'] = "$current_template_images/prill_log.png"; $images['prill_logo'] = "$current_template_images/prill_logo1.png"; $images['prill_offsite'] = "$current_template_images/prill_offsite.png"; $images['prill_onsite'] = "$current_template_images/prill_onsite.png"; $images['prill_help'] = "$current_template_images/prill_help1.png"; $images['prill_main_switch'] = "$current_template_images/prill_mode1.png"; $images['prill_wide_switch'] = "$current_template_images/prill_mode2.png"; $images['prill_mini_switch'] = "$current_template_images/prill_mode3.png"; $images['ignore_add'] = "$current_template_images/contact_ignadd.png"; $images['ignore_remove'] = "$current_template_images/contact_ignrem.png"; $images['disallow_add'] = "$current_template_images/contact_disadd.png"; $images['disallow_remove'] = "$current_template_images/contact_disrem.png"; $images['buddy_add'] = "$current_template_images/contact_budadd.png"; $images['buddy_remove'] = "$current_template_images/contact_budrem.png"; // // Prillian - End Code Addition //------------------------------------------------------------------------ ?> ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/page_header.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /home/xkioet6/public_html/4um/includes/constants.php:193) in /home/xkioet6/public_html/4um/includes/page_header.php on line 478

Parse error: parse error, unexpected '}' in /home/xkioet6/public_html/4um/includes/template.php(127) : eval()'d code on line 254
COLOR1' => '#'.$theme['td_color1'], 'T_TD_COLOR2' => '#'.$theme['td_color2'], 'T_TD_COLOR3' => '#'.$theme['td_color3'], 'T_TD_CLASS1' => $theme['td_class1'], 'T_TD_CLASS2' => $theme['td_class2'], 'T_TD_CLASS3' => $theme['td_class3'], 'T_FONTFACE1' => $theme['fontface1'], 'T_FONTFACE2' => $theme['fontface2'], 'T_FONTFACE3' => $theme['fontface3'], 'T_FONTSIZE1' => $theme['fontsize1'], 'T_FONTSIZE2' => $theme['fontsize2'], 'T_FONTSIZE3' => $theme['fontsize3'], 'T_FONTCOLOR1' => '#'.$theme['fontcolor1'], 'T_FONTCOLOR2' => '#'.$theme['fontcolor2'], 'T_FONTCOLOR3' => '#'.$theme['fontcolor3'], 'T_SPAN_CLASS1' => $theme['span_class1'], 'T_SPAN_CLASS2' => $theme['span_class2'], 'T_SPAN_CLASS3' => $theme['span_class3'], 'NAV_LINKS' => $nav_links_html) ); // // Login box? // if ( !$userdata['session_logged_in'] ) { $template->assign_block_vars('switch_user_logged_out', array()); } else { $template->assign_block_vars('switch_user_logged_in', array()); if ( !empty($userdata['user_popup_pm']) ) { $template->assign_block_vars('switch_enable_pm_popup', array()); } } // Add no-cache control for cookies if they are set //$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : ''; // Work around for "current" Apache 2 + PHP module which seems to not // cope with private cache control setting if (!empty($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2')) { header ('Cache-Control: no-cache, pre-check=0, post-check=0'); } else { header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); } header ('Expires: 0'); header ('Pragma: no-cache'); $template->pparse('overall_header'); ?>
 

delta9
Member

Mon Aug 22, 2005 12:22 pm   Post subject: re: installed but...
this is weird, ive just done a fresh install, and ive still got the exact same error, i copied over the premodded files too - they worked yesterday
 

Page 1 of 2
Go to page 1, 2  Next
Display posts from previous: