SMF Support > SMF 1.1.x Support

When i login to my forum facing problem

(1/1)

abidejaz4u:
when i login to my smf forum on top of my forum some of script showing

--- Quote ---// Begin Auto Embed Media Pro Text Strings $txt['mediapro_admin'] = 'Simple Audio Video Embedder'; $txt['mediapro_settings'] = 'Settings'; $txt['mediapro_save_settings'] = 'Save Settings'; $txt['mediapro_err_cache'] = 'Cache folder not writable must fix for performance!'; // END Auto Embed Media Pro Text Strings //reCAPTCHA for SMF $txt['recaptcha_configure'] = 'reCAPTCHA Verification System'; $txt['recaptcha_configure_desc'] = 'Use the reCAPTCHA Verification System. Don\'t have a key for reCAPTCHA? Get your reCAPTCHA key here.'; $txt['recaptcha_enabled'] = 'Use reCAPTCHA Verification System'; $txt['recaptcha_enable_desc'] = '(This replaces the built-in visual verification with reCAPTCHA)'; $txt['recaptcha_theme'] = 'reCAPTCHA Theme'; $txt['recaptcha_theme_clean'] = 'Clean'; $txt['recaptcha_theme_blackglass'] = 'Black Glass'; $txt['recaptcha_theme_red'] = 'Red'; $txt['recaptcha_theme_white'] = 'White'; $txt['recaptcha_public_key'] = 'reCAPTCHA Public Key'; $txt['recaptcha_private_key'] = 'reCAPTCHA Private Key'; $txt['recaptcha_no_key_question'] = 'Don\'t have a key for reCAPTCHA?'; $txt['recaptcha_get_key'] = 'Get your reCAPTCHA key here.'; $txt['jwplayer'] = 'Insert flash video'; //BK-SMF Google Translation Mod $txt['bksmf_french'] = 'French'; $txt['bksmf_german'] = 'German'; $txt['bksmf_italian'] = 'Italian'; $txt['bksmf_dutch'] = 'Dutch'; $txt['bksmf_spanish'] = 'Spanish'; $txt['bksmf_portuguese'] = 'Portuguese'; $txt['bksmf_korean'] = 'Korean'; $txt['bksmf_chinese'] = 'Chinese Simplified'; $txt['bksmf_japanese'] = 'Japanese'; $txt['bksmf_greek'] = 'Greek'; $txt['bksmf_arabic'] = 'Arabic'; $txt['bksmf_russian'] = 'Russian'; $txt['youtube'] = 'YouTube'; $txt['youtube_invalid'] = '#Invalid YouTube Link#'; $txt['youtube'] = 'YouTube'; $txt['youtube_invalid'] = '#Invalid YouTube Link#'; $txt['jwplayer'] = 'Insert flash video'; $txt['facebook'] = 'Facebook Video'; //reCAPTCHA for SMF $txt['recaptcha_configure'] = 'reCAPTCHA Verification System'; $txt['recaptcha_configure_desc'] = 'Use the reCAPTCHA Verification System. Don\'t have a key for reCAPTCHA? Get your reCAPTCHA key here.'; $txt['recaptcha_enabled'] = 'Use reCAPTCHA Verification System'; $txt['recaptcha_enable_desc'] = '(This replaces the built-in visual verification with reCAPTCHA)'; $txt['recaptcha_theme'] = 'reCAPTCHA Theme'; $txt['recaptcha_theme_clean'] = 'Clean'; $txt['recaptcha_theme_blackglass'] = 'Black Glass'; $txt['recaptcha_theme_red'] = 'Red'; $txt['recaptcha_theme_white'] = 'White'; $txt['recaptcha_public_key'] = 'reCAPTCHA Public Key'; $txt['recaptcha_private_key'] = 'reCAPTCHA Private Key'; $txt['recaptcha_no_key_question'] = 'Don\'t have a key for reCAPTCHA?'; $txt['recaptcha_get_key'] = 'Get your reCAPTCHA key here.'; // --- Begin added code - nCode Image Resizer --- $txt['ncode_imageresizer_warning_small'] = 'Click this bar to view the full image.'; $txt['ncode_imageresizer_warning_filesize'] = 'This image has been resized. Click this bar to view the full image. The original image is sized %1$sx%2$s and weighs %3$sKB.'; $txt['ncode_imageresizer_warning_no_filesize'] = 'This image has been resized. Click this bar to view the full image. The original image is sized %1$sx%2$s.'; $txt['ncode_imageresizer_warning_fullsize'] = 'Click this bar to view the small image.'; $txt['ncode_imageresizer_mode'] = 'Resize Mode'; $txt['ncode_imageresizer_original'] = 'Keep original size'; $txt['ncode_imageresizer_enlarge_same'] = 'Enlarge in same document'; $txt['ncode_imageresizer_open_same'] = 'Open in same window'; $txt['ncode_imageresizer_open_new'] = 'Open in new window'; $txt['ncode_imageresizer_max_width'] = 'Maximum width'; $txt['ncode_imageresizer_max_height'] = 'Maximum height
Leave blank for no max height.'; // --- End added code --- // Pretty URLs mod $txt['pretty_urls'] = 'Pretty URLs'; // Board URLs interface $txt['pretty_add_url'] = 'Add'; $txt['pretty_add_url_description'] = 'Add a URL. Note that what you enter here will be processed as only certain characters are allowed.'; $txt['pretty_board_url_title'] = 'Pretty URLs for: '; $txt['pretty_deleted_board'] = 'Deleted board #'; $txt['pretty_duplicate_link'] = 'delete it first.'; $txt['pretty_duplicate_warning'] = 'That URL is already in use by another board. It will be available if you '; $txt['pretty_make_primary'] = 'Make primary'; $txt['pretty_no_primary_warning'] = 'Warning, no primary URL!'; $txt['pretty_numerical'] = 'Sorry, but as that URL is either a number or the same as a forum action the board ID had to be added as a suffix.'; $txt['pretty_primary_url'] = 'Primary'; // Settings descriptions $txt['pretty_action_array'] = 'An array of forum actions, extracted from index.php.'; $txt['pretty_board_lookup'] = 'A serialized array of URL => ID_BOARD pairs, used for processing $_GET[\'board\']. There can be more than one URL for each board.'; $txt['pretty_board_urls'] = 'A serialized array of ID_BOARD => URL pairs, used for generating pretty replacement URLs.'; $txt['pretty_enable_filters'] = 'Sets whether to prettify anything at all. 0 for no, 1 for yes.'; $txt['pretty_filters'] = 'A serialized array of filter data.'; $txt['pretty_filter_callbacks'] = 'A serialized array of callback function names, sorted by priority. Don\'t manually edit this, edit the pretty_filters setting instead.'; $txt['pretty_root_url'] = 'The base URL used by the board and topic filters, which by default is the same as $boardurl.'; $txt['googletagged'] = 'GoogleTagged'; $txt['googletagged_menu'] = 'GoogleTagged'; $txt['googletagged_admin'] = 'GoogleTagged'; $txt['googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissionname_googletagged_manage'] = 'Manage GoogleTagged'; $txt['permissionname_googletagged_view'] = 'View GoogleTagged'; $txt['permissiongroup_googletagged'] = 'GoogleTagged'; $txt['youtube'] = 'YouTube'; $txt['youtube_invalid'] = '#Invalid YouTube Link#'; // Board Viewers Mod $txt['enable_board_viewers'] = 'Enable displaying viewer numbers of boards'; $txt['boardViewersGuestsMembers'] = 'Seperate guest and member numbers'; $txt['boardViewersClickable'] = 'Enable pop-up list by clicking viewer numbers'; $txt['countChildPosts'] = 'Count child\'s viewers and posts in parent\'s totals'; $txt['bv_members_guests_none'] = 'There are no users viewing this board.'; $txt['bv_members_guests_this'] = 'There are %s members and %s guests viewing this board.'; $txt['bv_members_guests_child'] = '%s members and %s guests are viewing the child boards of this board.'; $txt['bv_members'] = 'Members'; $txt['viewersBrowsing'] = 'Viewers browsing this board'; $txt['board_v_members'] = 'members'; // 43 members $txt['board_v_member'] = 'member'; // 1 member $txt['board_v_guests'] = 'guests'; // 26 guests $txt['board_v_guest'] = 'guest'; // 1 guest $txt['board_viewers'] = 'viewing'; // 32 viewing $txt['board_viewer'] = 'viewing'; // 1 viewing $txt['board_viewers_child'] = 'Viewers'; // Viewers: 145 $txt['board_viewer_child'] = 'Viewer'; // Viewer: 1 // End Of Board Viewers Mod
--- End quote ---
how can i remove it or solve the problem it there is problem ???[/b]

MrPhil:
In probably one of the language files, you'll find the Media Pro and Board Viewers mods were not installed correctly. Find the file where the above text appears (either at the very beginning or the very end of the file) and put <?php before the first line of it and ?> after the last line. It's possible that for multiple mods, they might even be in two or more files (i.e., not all of it in one file).

I can't guarantee that you won't find other problems due to a bad mod install. You may end up having to remove the mods and try it again.

abidejaz4u:
Will U plz tell me from which folder i will find the files..and also tell me which mod is getting problem i will manually remove it???

ziycon:
Themes > {Theme Name} > languages, then look through the most recently modified language files and make sure they begin and end with the PHP tags as MrPhil suggested.

abidejaz4u:

--- Quote from: ziycon on August 12, 2012, 05:35:11 AM ---Themes > {Theme Name} > languages, then look through the most recently modified language files and make sure they begin and end with the PHP tags as MrPhil suggested.

--- End quote ---

Most of the Files missing <?php ?> tags i manually write it and now forum working fine :)

Thanks Alot ....Problem Solved

Navigation

[0] Message Index

Go to full version