Stuck On Installation

A place for users and developers of the Xataface to discuss and receive support.

Stuck On Installation

Postby jessejayd » Mon Feb 28, 2011 11:25 pm

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.
jessejayd
 
Posts: 4
Joined: Mon Feb 28, 2011 11:20 pm

Re: Stuck On Installation

Postby shannah » Mon Feb 28, 2011 11:45 pm

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Stuck On Installation

Postby jessejayd » Tue Mar 01, 2011 12:01 am

I am using the hosting 24 Control Panel.
jessejayd
 
Posts: 4
Joined: Mon Feb 28, 2011 11:20 pm

Re: Stuck On Installation

Postby shannah » Tue Mar 01, 2011 10:40 am

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Stuck On Installation

Postby jessejayd » Tue Mar 01, 2011 2:21 pm

Yes it is Control Panel. I don't know how to make them able to do that. Anyone have a tut?
jessejayd
 
Posts: 4
Joined: Mon Feb 28, 2011 11:20 pm

Re: Stuck On Installation

Postby shannah » Tue Mar 01, 2011 2:44 pm

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Stuck On Installation

Postby jessejayd » Tue Mar 01, 2011 2:55 pm

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. :)
jessejayd
 
Posts: 4
Joined: Mon Feb 28, 2011 11:20 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 21 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved