Don't adjust the SQL, you will break the mod.dr.akester wrote:I got a question.
on the feedback.php page, what must I do to remove the "worst" list?
Is there a line of code I can omit? I ctrl+f the instructions page I can find a line of code in the SQL with "worst" in it, can I just leave that line out?
Code: Select all
Fatal error: Cannot redeclare fb_get_user_feedback() (previously declared in /home/.margreta/ddnsyk/truxity.net/forums/includes/functions_feedback.php:25) in /home/.margreta/ddnsyk/truxity.net/forums/includes/functions_feedback.php on line 40
Code: Select all
// MOD: SHMK USER FEEDBACK
include($phpbb_root_path . 'includes/functions_feedback.' . $phpEx);
// END: SHMK USER FEEDBACK
Code: Select all
if ( !function_exists('fb_get_user_feedback') )
{
// MOD: SHMK USER FEEDBACK
include($phpbb_root_path . 'includes/functions_feedback.' . $phpEx);
// END: SHMK USER FEEDBACK
}
Code: Select all
SQL ERROR [ mysqli ]
Data too long for column 'fb_comment' at row 1 [1406]
Code: Select all
fb_comment varchar(255)
Is there a way to prevent users from inserting too many smilies so an error does not occur?RMcGirr83 wrote:That's because the smilie codes are going beyond the 255 character limit on the database table
You could try changing the database column fb_comment to TEXT but that may induce other errors.Code: Select all
fb_comment varchar(255)