Managing Online Forums, a manual for the community admin

Bookmark and Share

Default Language Not Being Specified

Default Language Not Being Specified

Postby Spinebuster » April 4th 2005, 9:22 pm

Code: Select all
Warning: main(./language/lang_/lang_user_viewed_posts.php): failed to open stream: No such file or directory in /home/user/public_html/forum/includes/functions_user_viewed_posts.php on line 22 

Warning: main(): Failed opening './language/lang_/lang_user_viewed_posts.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/forum/includes/functions_user_viewed_posts.php on line 22 

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/forum/includes/functions_user_viewed_posts.php:22) in /home/user/public_html/forum/viewtopic.php on line 595

When you see an error message like this, it usually means that the default language field is missing from your phpbb_config table. Running this SQL command usually fixes it.

Code: Select all
INSERT INTO phpbb_config (config_name, config_value) VALUES ('default_lang','english'); 
User avatar
Dedicated User
Posts: 3379
Joined: April 21st 2003, 4:42 pm
Location: IN

Return to phpBB 2: Troubleshooting

Who is online

Users browsing this forum: No registered users and 0 guests