Fatal error: Call to undefined function: include_attach_lang() in /home/website/public_html/folder/includes/functions.php on line 399
I think I need download the spanish language for the attachment mod, but please where is it?
(I've copied the english files to the spanish folder but the error remains)
or there is other problem?
(of course I've made all the changes -a lot- in the install.txt)
The general phpbb is in spanish.
Fatal error: Call to undefined function: include_attach_lang
Moderator: Experts
sorry but your FAQ refers to other module and line, not functions.php on line 399DavidIQ wrote:No...you need to read the FAQ.
In order to run the phpbb I've commented the line
include_attach_lang();
but then the attach mkod doesn't works.
I was thinking the problem is because the phpbb base is in spanish and I don't found the spanish files.
(I've copied the files in english to the spanish folders)
please can you indicate some more information?
for example if you think a file is bad changed or some.
Thanks and sorry my English.
Ok...I'm going to copy and paste from my own FAQ:
In other words...your board being in Spanish has nothing to do with this error. I'll change the description in the FAQ to include ALL pages instead of just admin.DavidIQ wrote:If you're getting:
Fatal error: Call to undefined function: include_attach_lang() in .../admin_attach_cp.php on line 52
when you go to your ACP then you haven't done any of the edits listed in docs/install.txt
If you've done those and are still getting this error then you've missed the edit done to common.php
Thanks, David.
I've made all the changes in install.txt, and now revised the changes (one line added) in common.php 219, as you can see.
? any shortcut instead of revise all the changes in all the files?
Thanks.
Guerrero, Spain.
I've made all the changes in install.txt, and now revised the changes (one line added) in common.php 219, as you can see.
Code: Select all
while ( $row = $db->sql_fetchrow($result) )
{
$board_config[$row['config_name']] = $row['config_value'];
}
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
}
Thanks.
Guerrero, Spain.