A place for users and developers of the Xataface to discuss and receive support.
by Jean » Mon Nov 12, 2007 8:48 am
Hello Steve,
I went through the forum but did not see any explanation. The login page is OK but as soon as I am logged I have a white page with some text on.
My templates-c directory is writable.
Would you have any explanation ?
Thank you again
Jean
-
Jean
-
- Posts: 259
- Joined: Wed Nov 07, 2007 1:30 am
- Location: Pau, France
by shannah » Mon Nov 12, 2007 11:31 am
Generally this means that your templates_c directory (where the smarty compiled templates are stored) is not writable by the web server.
You can either store your compiled templates in your application's directory (i.e. path/to/app/templates_c) or in the Dataface templates_c directory (i.e. paht/to/dataface/Dataface/templates_c).
If you have a templates_c directory in your application folder, then this will be used. Otherwise it will use the dataface one.
In either case the templates_c directory must be writable by the web server. e.g. chmod 777
-Steve
-
shannah
-
- Posts: 4457
- Joined: Wed Dec 31, 1969 5:00 pm
by Jean » Tue Nov 13, 2007 3:46 am
Thank you Steve for your patience. I followed your advice and change the owner of the templates_c directory into Apache while keeping the 777 chmod.
Unfortunately, the problem is still defying me
I still don't have any HTML header nor trace of any template. I checked out all I could (path...) but could not locate my error.
Jean
-
Jean
-
- Posts: 259
- Joined: Wed Nov 07, 2007 1:30 am
- Location: Pau, France
by ADobkin » Tue Nov 13, 2007 4:50 am
You might want to check your web server logs to see if there are any errors listed there right after you try to load the site. If you are using Apache, check the error_log specifically, but also access_log.
If that doesn't show anything, you could try looking for PHP errors by putting the following two lines at the top of your index.php file:
- Code: Select all
error_reporting(E_ALL^E_NOTICE); ini_set('display_errors','on');
Good luck!
-
ADobkin
-
- Posts: 195
- Joined: Mon Oct 22, 2007 7:31 pm
- Location: Atlanta, GA, USA
by Jean » Tue Nov 13, 2007 7:14 am
Thank you Steve,
I have no errors in the error log, neither displaying with
- Code: Select all
error_reporting(E_ALL^E_NOTICE); ini_set('display_errors','on');
In the access log I have - Code: Select all
192.168.1.8 - - [13/Nov/2007:15:08:41 +0100] "GET /dataface-0.7.1/images/table.gif HTTP/1.0" 304 - "http://devphp/fibre/index.php?-action=list&-table=demandes_particulieres&-cursor=0&-skip=0&-limit=30&-mode=list&-sort=id+asc" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9"
Jean
-
Jean
-
- Posts: 259
- Joined: Wed Nov 07, 2007 1:30 am
- Location: Pau, France
by shannah » Tue Nov 13, 2007 1:00 pm
Hi Jean,
Difficult to comment without knowing a little more about your application.
1. Have you been able to get any simle examples working on your server, or is this the first one you have tried on this server?
2. Do you have any custom actions defined in your actions.ini file?
-Steve
-
shannah
-
- Posts: 4457
- Joined: Wed Dec 31, 1969 5:00 pm
by Jean » Wed Nov 14, 2007 1:51 am
Yes thank you very much Steve, I had the same problem on an other server as you suggested, so I went through each file in my app and found a forgotten line in a file.
Not good to do several tasks at the same time
Sorry for this silly error and for your time!
Kind regards
Jean
-
Jean
-
- Posts: 259
- Joined: Wed Nov 07, 2007 1:30 am
- Location: Pau, France
Return to Xataface Users
Who is online
Users browsing this forum: No registered users and 32 guests
|