Page 1 of 1

Stuck On Installation

PostPosted: Mon Feb 28, 2011 11:25 pm
by jessejayd
I created my database edited the .ini and ran the sql code, but i don't understand how to do this:

"Step 4: File Permissions

1. Make the templates_c directory writable by the web server. This is where the Smarty templates are cached.
2. Make the tables/products/product_image directory writable by the web server. This is where the images for the auction products will be stored."

As a result I receive this page showing the error when i skip the step.

"
Warning: fopen(/home/bethelbo/public_html/auctions/webauction-0.3.5/conf/../templates_c/closingAuctions.mutex) [function.fopen]: failed to open stream: Permission denied in /home/bethelbo/public_html/auctions/webauction-0.3.5/conf/ApplicationDelegate.php on line 91

Warning: flock() expects parameter 1 to be resource, boolean given in /home/bethelbo/public_html/auctions/webauction-0.3.5/conf/ApplicationDelegate.php on line 92

Fatal error:
No appropriate directory could be found to save Dataface's compiled templates.

Dataface uses the Smarty Template engine for its templates, which compiles templates and stores them on the server for improved performance. You can either store these templates in the Dataface directory or your application's directory.

To store the templates in the Dataface directory, please ensure that the

/home/bethelbo/public_html/auctions/webauction-0.3.5/dataface/Dataface/templates_c

directory exists and is writable by the web server.

You can make it writable by the web server on most unix and linux systems, by issuing the following command in the shell:

chmod 777 /home/bethelbo/public_html/auctions/webauction-0.3.5/dataface/Dataface/templates_c

.

To store the templates in your application's directory, please ensure that the

/home/bethelbo/public_html/auctions/webauction-0.3.5/templates_c

direc in /home/bethelbo/public_html/auctions/webauction-0.3.5/dataface/Dataface/SkinTool.php on line 117"





Please explain to my noob self how to do this step.

Thanks.

Re: Stuck On Installation

PostPosted: Mon Feb 28, 2011 11:45 pm
by shannah
Making these directories editable by th web server can be accomplished by making them writable by everyone. The specifics of how to change directory permissions will vary depending on the os and how you are accessing it.

Re: Stuck On Installation

PostPosted: Tue Mar 01, 2011 12:01 am
by jessejayd
I am using the hosting 24 Control Panel.

Re: Stuck On Installation

PostPosted: Tue Mar 01, 2011 10:40 am
by shannah
Are you using an FTP client at all?
You should have an option to somehow set the permissions on individual files or directories. You want to make it so that "Everyone" can "Write"

-Steve

Re: Stuck On Installation

PostPosted: Tue Mar 01, 2011 2:21 pm
by jessejayd
Yes it is Control Panel. I don't know how to make them able to do that. Anyone have a tut?

Re: Stuck On Installation

PostPosted: Tue Mar 01, 2011 2:44 pm
by shannah
That would be a question for the hosting 24 people. The question to ask is:
"How do I change permissions on files and directories?"

-Steve

Re: Stuck On Installation

PostPosted: Tue Mar 01, 2011 2:55 pm
by jessejayd
I think I fixed it. For anyone needing help with this same problem on control panel. You need to open up your file manage and on the folders mentioned on step 4, click on them once to select them and towards the top of the page there is a key looking option that says change permissions. Click that and check the remaining two boxes(group and world) then confirm. It should work. :)