Correct me if I am wrong, but that error has to do with the built in phpBB3 "attachment" feature. I personally don't remember editing the adm/index.php which the backtrace is referring to.raZorX wrote: General Error
SQL ERROR [ mysql4 ]
Table 'xxxxxx_phpb1.ATTACHMENTS_TABLE' doesn't exist [1146]
SQL
SELECT COUNT(attach_id) AS total_orphan FROM ATTACHMENTS_TABLE WHERE is_orphan = 1 AND filetime < 1199528334
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()
FILE: includes/acp/acp_main.php
LINE: 365
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 471
CALL: acp_main->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Code: Select all
define('ACL_USERS_TABLE', $table_prefix . 'acl_users');
define('ANNOUNCEMENTS_CENTRE_TABLE',$table_prefix . 'announcement_centre');
define('ATTACHMENTS_TABLE', $table_prefix . 'attachments');
lefty74 wrote:have a look in includes/constants.phpyou may have commented out or deleted the attachments table bit and possibly missed to add the announcement centre bit in the first place.Code: Select all
define('ACL_USERS_TABLE', $table_prefix . 'acl_users'); define('ANNOUNCEMENTS_CENTRE_TABLE',$table_prefix . 'announcement_centre'); define('ATTACHMENTS_TABLE', $table_prefix . 'attachments');
if it was not in the install instructions, noone would be able to install this mod without errors. Have you looked at the first edit to be made???raZorX wrote:lefty74 wrote:have a look in includes/constants.phpyou may have commented out or deleted the attachments table bit and possibly missed to add the announcement centre bit in the first place.Code: Select all
define('ACL_USERS_TABLE', $table_prefix . 'acl_users'); define('ANNOUNCEMENTS_CENTRE_TABLE',$table_prefix . 'announcement_centre'); define('ATTACHMENTS_TABLE', $table_prefix . 'attachments');
You were right.
It was missing. define('ATTACHMENTS_TABLE', $table_prefix . 'attachments');
But you fail to provide this info in the instalation instructions. Download the file and look.
ACP_Announcement_Centre.xml <-- misses this IMPORTANT info .
Code: Select all
<!-- INCLUDE overall_header.html -->
<!-- INCLUDE announcement_centre.html -->
<p class="{S_CONTENT_FLOW_END}<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF -->
What do you mean with that? Sure it saves, else the ACP would say it cant,.. the message would be red. Its all green.lefty74 wrote:when you change data in the ACP, does it save it correctly?
Is there any date you want to release new version of your mod?lefty74 wrote:i am currently busy with my announcement centre mod