| Author |
Message |
robp07
Joined: 15 Jun 2008 Posts: 21
|
|
Solved: News Gone! |
|
Hi,
Been working great, but when I have just checked my site out, every thing is corrupt.
 |  | txtSQL Warning: Table "news" doesn't exist in /home/***/public_html/***/index.php on line 61
Warning: Invalid argument supplied for foreach() in /home/***/public_html/***/news/inc/show.news.php on line 113
txtSQL Warning: Table "news" doesn't exist in /home/***/public_html/***/index.php on line 61 |
When login to admin control:
 |  | txtSQL Warning: Table "news" doesn't exist in /home/***/public_html/***/news/index.php on line 139
Warning: Invalid argument supplied for foreach() in /home/***/public_html/***/news/inc/mod/main.mdu on line 19 |
Using the latest version. In data/db/base I only have the file txtsql
I made a back up once this error occured, so how do I know if it will contain my news?
Please Help!
Thanks, Rob
Last edited by robp07 on Fri Jul 11, 2008 10:20 pm; edited 1 time in total |
|
| Wed Jul 09, 2008 6:12 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
How big is your backup? How big is news.txt? Flat file acts up weird when you get too much news in it sometimes.. that's why a lot of us steer clear of that unless we plan to run a very small site with not much news. How much news did you have?
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Thu Jul 10, 2008 6:00 pm |
|
 |
robp07
Joined: 15 Jun 2008 Posts: 21
|
|
|
|
Ah,
I should really use MySQL I think! 30 news items and usually one or two added a day.
I think my back-ups are ok.
I have db/base files so how would I go about uploading them to a mysql file and get the news working again!?
Thanks
|
|
| Thu Jul 10, 2008 6:40 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
| Thu Jul 10, 2008 7:01 pm |
|
 |
robp07
Joined: 15 Jun 2008 Posts: 21
|
|
|
|
Uploaded it, still displaying the same messages as 1st post
|
|
| Thu Jul 10, 2008 7:36 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
| Thu Jul 10, 2008 7:47 pm |
|
 |
robp07
Joined: 15 Jun 2008 Posts: 21
|
|
|
|
The file size is 0.
I copied and pasted that code into the news.frm file. My news headline, avatar, date show but no the actual news!
The content is available when I log into the admin CP, but not displaying it on the site!
|
|
| Thu Jul 10, 2008 7:59 pm |
|
 |
robp07
Joined: 15 Jun 2008 Posts: 21
|
|
|
|
Sorted.
Just transfered to a MySQL file and cleard cache.
Cheers!
|
|
| Fri Jul 11, 2008 10:20 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
| Sat Jul 12, 2008 4:42 am |
|
 |
|