This is the issue I am having, The chat works but when i go to set it up to show the settings are blank.
http://disturbedzone.com/ajaxchatProblem.jpg
Verify that the mod strings have been added to
/Themes/default/languages/Modifications.english.php
Quote from: Tyrsson™ on August 03, 2010, 07:52:45 PM
Verify that the mod strings have been added to
/Themes/default/languages/Modifications.english.php
Yes i modified that and its still showing blank
Are you by any chance using a custom theme?
Quote from: Tyrsson™ on August 04, 2010, 08:55:47 PM
Are you by any chance using a custom theme?
Yes and ive modified the theme. I recently had to restart my forums cause i had to chance servers. And my old server lost ALL my files. And I set up the ajax chat EXACTLY the SAME way i did the first time. And the first time i never had any issues with it. And I am using the same theme as well. And the first time it worked but this time its just not working
Any errors in the forum error log?
Any errors in the server error log that may shed some light on it?
I am pretty sure its a $txt string problem since the page loads. And you are using the 1.1.11 version of smf right?
Um yeah these are the errors i get
Unable to load the 'Shout.english-utf8' language file.
8: Undefined index: shoutBox
File: /home/disturbe/public_html/forums/Themes/default/Errors.template.php (shout_above sub template - eval?)
Line: 45
8: Undefined index: shoutBox
File: /home/disturbe/public_html/forums/Themes/TeonunLaneti_v1/BoardIndex.template.php (shout_above sub template - eval?)
Line: 45
8: Undefined index: shoutBox
File: /home/disturbe/public_html/forums/Themes/default/languages/Who.english-utf8.php (shout_above sub template - eval?)
Line: 45
8: Undefined index: shoutBox
File: /home/disturbe/public_html/forums/Themes/default/Profile.template.php (shout_above sub template - eval?)
Line: 45
8: Undefined index: shoutBox
File: /home/disturbe/public_html/forums/Themes/default/Memberlist.template.php (shout_above sub template - eval?)
Line: 45
8: Undefined index: shoutBox
File: /home/disturbe/public_html/forums/Themes/default/Login.template.php (shout_above sub template - eval?)
Line: 45
8: Undefined index: shoutBox
File: /home/disturbe/public_html/forums/Themes/default/languages/ModSettings.english-utf8.php (shout_above sub template - eval?)
Line: 45
This is your problem.
QuoteUnable to load the 'Shout.english-utf8' language file.
Is your site using utf-8? If so create this file.
Quote from: Tyrsson™ on August 08, 2010, 07:08:40 AM
This is your problem.
QuoteUnable to load the 'Shout.english-utf8' language file.
Is your site using utf-8? If so create this file.
What exactly do I have to do to create it?
Use a text editor like notepad++
Open Shout.english.php and save it as Shout.english-utf8.php
Upload Shout.english-utf8.php in the same directory as Shout.english.php
Okay sorry ive been busy i've done that and its still blank...
And even though the file is in the folder im still getting the Unable to load the 'Shout.english-utf8' language file.
Could you please try using repair_settings.php and use the language as english-utf8 fixing all the paths if anything is wrong? Set everything as default?
What is repair_settings.php? (http://docs.simplemachines.org/index.php?topic=663.0)
Also, does this happen in the default theme?
Umm what exactly do i do here? The language option was already set to english-utf8....
And yes it happens with the default theme
Go to ./Themes/default/languages/Modifications.english-utf8.php
Do you have these entries within it?
//Begin AjaxChat Integration
$txt['chat'] = 'Chat';
$txt['shoutBox'] = 'ShoutBox';
$txt['chat_aUser'] = ' user is in chat';
$txt['chat_users'] = ' users are in chat:';
$txt['chat_no_user'] = 'No user is in chat.';
$txt['enableShoutBox'] = 'Enable the ShoutBox?';
$txt['enableChatButtonNo'] = 'Enable online chat users numbering on chat button?';
$txt['enableChatBelowPM'] = 'Show online users below total logged in time section?';
$txt['anyPageShoutBox'] = 'Check for ShoutBox on any page or uncheck for only in index page:';
$txt['chatPopUp'] = 'Chat in popup page?';
$txt['miniChat'] = 'Integrate shout box and chat room?';
$txt['permissionname_chat_access'] = 'Access to chat';
$txt['permissionhelp_chat_access'] = 'Users can use the chat or can\'t.';
$txt['permissionname_shout_access'] = 'Can shout';
$txt['permissionhelp_shout_access'] = 'Give access to write in shout box.';
$txt['permissionname_shout_view'] = 'View shoutBox';
$txt['permissionhelp_shout_view'] = 'Give access to view the shoutBox';
$txt['permissionname_shout_mod'] = 'Moderate shoutBox';
$txt['permissionhelp_shout_mod'] = 'Give access to moderate the shoutBox.';
$txt['permissionname_chat_mod'] = 'Moderate chat';
$txt['permissionhelp_chat_mod'] = 'Give access to moderate the chat.';
$txt['permissiongroup_chat'] = 'Chat';
//End AjaxChat Integration
If not, add it before the code the ?>
YES!! Bingo! that was it. Got it working now Thank you
Good to hear, I'm gonna mark this solved. :)