![]() |
FAQ/Help |
Calendar |
Search |
#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. |
#2
|
||||
|
||||
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
|
|||
|
|||
You need to CHMOD the templates in /cgi-bin/ojtemplates to solve this problem.
|
Reply |
|
![]() |
||||
Thread | Forum | |||
God is still creating! | Sanctuary for Spiritual Support | |||
Cannot Add Entries | Community Feedback & Technical Support | |||
Deleting Entries | Community Feedback & Technical Support | |||
Online Journal not writing entries | Community Feedback & Technical Support |