|
|||
|
Disclaimer - I am extremely new to running a forum!
I've had PHPBB 3.0X up and running for about 2 months now. I got a request for a chat room so I decided to try 123. I manually made all the changes per the instructions (actually did it twice) but I keep having problems. As soon as I get to modifying the index.php file per following instuctions: Open File: root/index.php Find: $birthday_list = ''; After add: // begin 123 flash chat mod include($phpbb_root_path . 'includes/functions_chat.'.$phpEx); $chat_info = getChatters(); $chat_list = getChatterList(); //end 123 flash chat mod CODE: SELECT ALL Open File: root/index.php Find: 'TOTAL_USERS' => sprintf($user->lang[$l_total_user_s], $total_users), After add: // begin 123 flash chat mod 'CHAT_TOTAL_ROOMS' => $chat_info['room_numbers'], 'CHAT_TOTAL_CONNECTIONS' => $chat_info['connections'], 'CHAT_TOTAL_LOGON_USERS' => $chat_info['logon_users'], 'CHAT_USER_LIST' => $chat_list, 'CHAT_WIDTH' => $config['chat_width'], 'CHAT_HEIGHT' => $config['chat_height'], //end 123 flash chat mod I can no longer load the site. It downloads the following error: <br /> <b>Fatal error</b>: Call to undefined function getchatters() in <b>/home/XXXXXX/public_html/test/index.php</b> on line <b>86</b><br /> So I tried putting the index file back to its original state (worked fine) and tried continuing with the MOD thinking I would come back to it. The MOD installs fine through the ACP, but whenever I try to select the 123chat MOD tab, I get this: Return to the index page General Error Language file ./../language/en_us/mods/chat.php couldn't be opened. Please notify the board administrator or webmaster: XXXXXXX Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group What am I doing wrong? I triple checked that I uploaded all the correct files to the correct locations? |
|
|||
|
The possible reason that the chat module is not loaded properly is that the language file is not copied correctly.
In module,the file is at /root/language/en/mods/chat.php,it seems you're using en_us as your default language,so just copy file /root/language/en/mods/chat.php to /root/language/en_us/mods/chat.php and try to load the chat_acp in admin panel again. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|