
Code: Select all
SQL ERROR [ mysql4 ]
Duplicate entry 'announcement_show_index' for key 1 [1062]
SQL
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('announcement_show_index', 0, 0)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: includes/functions.php
LINE: 156
CALL: dbal_mysql->sql_query()
FILE: includes/acp/acp_announcements_centre.php
LINE: 102
CALL: set_config()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_announcements_centre->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
hi, your text editor seems to have added a BOM to the file. Try to edit it again with a decent text editor like notepad++ and then make sure it is saved as UTF8 without Bom.Jody74 wrote:I need help please. When I make the changes to language/en/common.php I get this following error.
This is the change I'm making:[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3769: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3771: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3772: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3773: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)Can someone help me with this?Open: language/en/common.php
Find
Tip: This may be a partial find and not the whole line.
Code: Select All
'AND' => 'And',
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code: Select All
'ANNOUNCEMENT_TITLE_GUESTS' => 'Guest Announcements local',
'ANNOUNCEMENT_TITLE' => 'Site Announcements local',
you are welcomezkaraca wrote:Succesfully installed v1.1.3At last. Thanks for the download link Lefty.
hello, purging your cache should normally take care of this problem.Resler wrote:I installed the mod, went to use it (Add a message from ACP) and when I hit submit I got this message.
Can someone tell me how to fix this?Code: Select all
SQL ERROR [ mysql4 ] Duplicate entry 'announcement_show_index' for key 1 [1062] SQL INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('announcement_show_index', 0, 0) BACKTRACE FILE: includes/db/mysql.php LINE: 174 CALL: dbal->sql_error() FILE: includes/functions.php LINE: 156 CALL: dbal_mysql->sql_query() FILE: includes/acp/acp_announcements_centre.php LINE: 102 CALL: set_config() FILE: includes/functions_module.php LINE: 507 CALL: acp_announcements_centre->main() FILE: adm/index.php LINE: 74 CALL: p_master->load_active()
Thank you.
i am not quite clear who should see that on that particular page? nobody? also, whereelse are you planing to show the announcement? everywhere else ro just on the index?coolmob wrote:i have made a custom page using the tutorial in the knowledge base. but i want that the announcement box should not be displayed on that particular page only for anyone. how can i do this?? any help would be appreciated.
greatJody74 wrote:Thank you lefty74 - I installed Notepad++ and it's now working!
Code: Select all
<!-- IF not DONTSHOW -->
Code: Select all
<!-- ENDIF -->
Code: Select all
'DONTSHOW' => true,
I have rechecked my edits, everything is ok but I can see any thing of the annoucement. I see it in my acp and I 've activated it and type some annoucement but nothing happenedlefty74 wrote:did you doublecheck your edits already and purged cache/refreshed your templates?
can you see it in the acp?
I've installed with style: Dirty Board 2.0 of Cosa Nostra Designlefty74 wrote:hmm, have you already tried it on one of the default style if it works there?