Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Mar 06, 2002, 10:45 AM
aziegler3 aziegler3 is offline
New Member
 
Member Since: Mar 2002
Posts: 1
I am having trouble with getting OJ to actually generate the files for an entry. After I add the entry I get a messages saying:

error: Error opening the file d:/hostedsites/www.amosziegler.com/wwwroot/htdocs/courtney/oj/index.htm () - Please check your permissions.

Does this file have to exist or will it be created from the templates. OJ does not have a problem using the templates for previewing entries.

If I create an empty index.htm file - OJ tells me that the entry has been added, but no files exist under /oj or /oj/story.

Any input welcome.

Amos.


advertisement
  #2  
Old Mar 18, 2002, 11:36 AM
DocJohn's Avatar
DocJohn DocJohn is offline
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,791

I don't think you need to create the file that first time; OJ should create it automatically. (It's been awhile since I've done a fresh install, so I'm not sure).

The most important thing that OJ is complaining about in your instance is that the permissions on the file aren't set correctly. That's why it is best to let OJ create it from the template file by itself.

In order to do that, the Web server must have permission to write to the directory where the index file is to be. If it cannot, it will exit with this type of error message complaining about "permissions."

The easiest way to ensure the Web server can write to this directory is to do a "chmod" command on the directory itself using:

chmod 777 directory_name

That should fix your problem.

__________________
Don't throw away your shot.
  #3  
Old Apr 18, 2002, 03:52 PM
mushlette mushlette is offline
New Member
 
Member Since: Apr 2002
Location: IA
Posts: 2
You need to CHMOD the templates in /cgi-bin/ojtemplates to solve this problem.

Reply
Views: 638

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
God is still creating! SeptemberMorn Sanctuary for Spiritual Support 8 Mar 07, 2007 06:23 PM
Cannot Add Entries chocolate Community Feedback & Technical Support 2 Mar 04, 2002 10:53 PM
Deleting Entries jarcuri Community Feedback & Technical Support 0 Dec 09, 2001 11:52 AM
Online Journal not writing entries LNTora Community Feedback & Technical Support 0 Jul 10, 2001 05:18 PM


All times are GMT -5. The time now is 04:27 AM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.