CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Published project serving .html before .php

Print topic Send  topic

Author Message
Mac

Posts: 37
Posted: 08/04/2007, 11:40 AM

Seems like it's one of those days for me today :-/

I have a project that has started serving the .html pages instead of .php

This happens on both my dev server and the live server, other .php files work fine.

Also when I try a 'live' view in CCS I get a 'cannot find filenamexyz.php' error.

Any ideas folks?

Thanks in advance.
_________________
/\/\@<
View profile  Send private message
klwillis


Posts: 428
Posted: 08/05/2007, 3:00 PM

Are your HTML files located in the same directory as your .PHP files?

Quote Mac:
Seems like it's one of those days for me today :-/

I have a project that has started serving the .html pages instead of .php

This happens on both my dev server and the live server, other .php files work fine.

Also when I try a 'live' view in CCS I get a 'cannot find filenamexyz.php' error.

Any ideas folks?

Thanks in advance.

_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
wkempees
Posted: 08/06/2007, 3:19 AM

In project settings, you have option to set template directory.
I normaly put "templates" in there.
After publish my .html will not be in the 'root', and the described will not
happen.
Other options are /htaccess and apache configuration.
Telling them the order in which to process extension less url calls.

Walter


"Mac" <Mac@forum.codecharge> schreef in bericht
news:546b4c8143ee74@news.codecharge.com...
> Seems like it's one of those days for me today :-/
>
> I have a project that has started serving the .html pages instead of .php
>
> This happens on both my dev server and the live server, other .php files
> work
> fine.
>
> Also when I try a 'live' view in CCS I get a 'cannot find filenamexyz.php'
> error.
>
> Any ideas folks?
>
> Thanks in advance.
> _________________
> /\/\@<
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>

Mac

Posts: 37
Posted: 08/06/2007, 4:07 AM

I tried everything I could think of, .htaccess didn't work either.

What I did was create a new project and pull in all my old pages from the broken project and it's all working fine now.

Very odd.
_________________
/\/\@<
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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