Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support error after install
Mmunsee
Posted on 11 Jan 2010, 04:32:33

Access: Member
Total Posts: 8
Joined: 2009-07-14

when i login into the admin section i get this error:

Unable to prepare: OPTIMIZE TABLE news30_story

And I cant do anything in admin panel, there are no options etc..
#1479
Chris
Posted on 11 Jan 2010, 13:51:35

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Edit the modules/home.php file, on line 95~ you'll see this section of code

Code:
DataAccess::put("OPTIMIZE TABLE $newstable");
DataAccess::put("OPTIMIZE TABLE $newstable");
DataAccess::put("OPTIMIZE TABLE $newsusers");
DataAccess::put("OPTIMIZE TABLE $newscomments");
DataAccess::put("OPTIMIZE TABLE $newsoptions");
DataAccess::put("OPTIMIZE TABLE $newssmilies");
DataAccess::put("OPTIMIZE TABLE $newsfilter");
DataAccess::put("OPTIMIZE TABLE $newstemplates");
DataAccess::put("OPTIMIZE TABLE $newscats");
DataAccess::put("OPTIMIZE TABLE $newsaccess");
DataAccess::put("OPTIMIZE TABLE $newsprivate");
DataAccess::put("OPTIMIZE TABLE $newsprivateout");
DataAccess::put("OPTIMIZE TABLE $newsaccesslogs"); 


Simply delete that and the error message should go away.
#1481
Mmunsee
Posted on 11 Jan 2010, 16:49:08

Access: Member
Total Posts: 8
Joined: 2009-07-14

Ok, and are we allowed to remove the "powered by..." at the bottom of the news posts? If so, what do i need to do?
#1502
Chris
Posted on 11 Jan 2010, 19:10:47

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I'd prefer if you didn't remove it. But if you can figure out how then by all means, feel free.
#1505
Network-13.com © 2013