Please help with - Unable to open /news/newsdat.txt

Is Coranto not working properly for you? Here's where to ask for support help; for best results, follow these steps:
  • - Check your core/addon documentation for possible solutions
  • - Search these forums for similar problems that have already been solved
  • - If you're still stumped, check out THIS TOPIC, and post your question in this forum!!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape

Please help with - Unable to open /news/newsdat.txt

Postby onthemoon » Wed Jan 10, 2007 10:58 am

On the website where the Coranto news articles are displayed it now says:

[an error occurred while processing this directive]

When I login to the admin section to Modify News, I get the error:

Unable to open /home/dynasty/public_html/news/newsdat.txt. No such file or directory at line 281.

the newsdat.txt file for some reason is 0kb?
Posts: 1
Joined: Wed Jan 10, 2007 10:50 am

Postby Jackanape » Wed Jan 10, 2007 2:07 pm

Has the file been uploaded to the proper location, and have you set file permissions properly?

Is this a new installation of an existing one?

Boy, I gotta million of 'em...
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
-Robert A. Heinlein
User avatar
Posts: 632
Joined: Tue Jan 09, 2007 12:15 am
Location: Capitol of the Great State of New York

Postby Dale Ray » Wed Jan 10, 2007 3:20 pm

This sounds very much like the 'zero byte' problem that usually effects the nsettings.cgi file.

See this thread and this discussion at the Coranto Docs Wiki.

Coranto creates backups of the newsdat.txt file. Take a look in your news directory for newsbak1.txt and newsbak2.txt. Copy the newest one to your local computer so that you have a local backup and then rename it to newsdat.txt. You have lost any news entered since the date of the last backup.

Copy nsettings.cgi to your local machine also.

the moveit addon works well as a backup solution. Also the addon will e-mail a backup to you when it is done.

Which version of Coranto are you using?
Dale Ray
User avatar
Dale Ray
Posts: 1004
Joined: Sun Jan 19, 2003 6:02 pm
Location: NW Indiana

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest