CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 { curly braces } not working at deployed site.

Print topic Send  topic

Author Message
cfell

Posts: 10
Posted: 12/23/2009, 9:21 PM

I have deployed CCS app to apache2+php 5 (zend) server, and page(s) does not display properly. I found this http://forums.yessoftware.com/posts.php?post_id=103027 but didn't find what I was looking for - like *how* does it actually work? (e.g. PHP takes html for input and replaces bracketed vars with proper expansions?).

Anyways, help/insight is greatly appreciated. Maybe configuration problem (?) as I have the same bits installed to another box no problem...

TIA

Curtis
View profile  Send private message
cfell

Posts: 10
Posted: 12/23/2009, 10:01 PM

My apologies. Problem has nothing to do with CCS but everything to do with .htaccess. Also figured out how {} braces worked via templates.

thank you.
View profile  Send private message
bapidebu

Posts: 1
Posted: 12/27/2009, 8:12 PM

Quote cfell:
My apologies. Problem has nothing to do with CCS but everything to do with .htaccess. Also figured out how {} braces worked via templates.

thank you.
Hi Friend I'm also facing the same problem and after building a website with the software when I host my site in Linux Server It showing many errors and {} are also not working.
Do you know any Video tutorial url of code charge studio so that we can fix our problem by ourselves without asking to anybody.
Thanks. :(
View profile  Send private message
cfell

Posts: 10
Posted: 12/27/2009, 8:59 PM

You might take a look at the following link and see if this helps with your problem. Adding a rewrite rule to .htaccess fixed my problem:

http://css-tricks.com/how-to-redirect-indexhtml-to-indexphp

Hope this helps,

cf
View profile  Send private message
datadoit
Posted: 12/28/2009, 6:44 AM

This isn't a CCS problem but rather a web server configuration problem.
You need to make sure that your Index Directive defaults first to .php
files before defaulting to .html files. That can be done in an htaccess
file, or preferably should be done in your web server configuration
file(s). ie: httpd.conf for Apache

You're seeing the curly brackets because the page being loaded is the
..html page, NOT the .php page. Those curly brackets are the equivalent
of using <?php ... ?>.
Aleister

Posts: 73
Posted: 12/29/2009, 4:03 AM

I believe that putting template files (HTML files) in a subdirectory is best practice. Even if web server is directed to open .php files before .html and .htm.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.