2006-06-05, 05:50 PM
I am sorry if this doesn't go here.
My inc/settings.php was deleted (on accident by a youngin) and for some reason my recycle bin on the host that I use won't allow me to retreive it. It's gone.
I tried to upload it anew, but that didn't work at all. Now, I am getting errors whenever anyone clicks on anything. It will load the index.php but nothing else.
When I click on the forum name I get
When I click on last post I get
I can't enter my admin area or anything else. The only page that loads is the index.php. I am not a very php/mysql savvy person and I am completely at odds of what to do.
Someone said that I should dump mysql database and then just totally reinstall the forum. I've never done that before, and have no idea what I would be doing there. I don't want to lose everything that I have posted on the forum. Thank you for any help in advance.
My inc/settings.php was deleted (on accident by a youngin) and for some reason my recycle bin on the host that I use won't allow me to retreive it. It's gone.
I tried to upload it anew, but that didn't work at all. Now, I am getting errors whenever anyone clicks on anything. It will load the index.php but nothing else.
When I click on the forum name I get
Quote:Warning: Division by zero in /home/rkphuntc/public_html/forum/inc/functions.php on line 340
mySQL error: 1064
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Query: SELECT t.*, (t.totalratings/t.numratings) AS averagerating, i.name AS iconname, i.path AS iconpath, t.username AS threadusername, u.username FROM mybb_threads t LEFT JOIN mybb_icons i ON (i.iid = t.icon) LEFT JOIN mybb_users u ON (u.uid = t.uid) WHERE t.fid='2' AND (t.visible='1' OR t.visible='0') ORDER BY t.sticky DESC, t.lastpost DESC LIMIT 0,
When I click on last post I get
Quote:Warning: Division by zero in /home/rkphuntc/public_html/forum/showthread.php on line 362
Warning: Division by zero in /home/rkphuntc/public_html/forum/showthread.php on line 375
Warning: Division by zero in /home/rkphuntc/public_html/forum/inc/functions.php on line 340
mySQL error: 1064
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Query: SELECT pid FROM mybb_posts WHERE tid='499' AND (visible='0' OR visible='1') ORDER BY dateline LIMIT 0,
I can't enter my admin area or anything else. The only page that loads is the index.php. I am not a very php/mysql savvy person and I am completely at odds of what to do.
Someone said that I should dump mysql database and then just totally reinstall the forum. I've never done that before, and have no idea what I would be doing there. I don't want to lose everything that I have posted on the forum. Thank you for any help in advance.