Jump to content

Firefox 3 displays the php code when pages launched from dreamweaver 8


Recommended Posts

I don't know if this is the right forum for this topic. Other places I have searched seem to point to Apache as the problem, but no solutions there. I have seen that other people are also having the same problem.

 

The problem seems to relate to  files opening as — file:///C:/localweb/ .... when sent from Dreamweaver 8.0

 

The first html/php page loads correctly from dreamweaver as processed HTML, a second page linked from either an HTML or php page also loads correctly, but selecting any link from that or subsequent pages displays the full php code instead of processed html layout - so this appears to be a third level or greater problem.

 

If I manually substitute - http://localhost/ — the problem does not arise.

 

This is a problem with version 3 of firefox, all previous versions I used worked fine with both — file:///C:/localweb/ and http://localhost/

 

Both prefixes also appear with pure HTML sites, but they load and function correctly.

 

Not every php site I have loads with file:///C:/localweb/, so I am wondering if this relates to something in the php code?

 

I use winxp and have xampp installed - everything worked fine until I installed Firefox 3

Hi Thorpe,

 

Thanks for your prompt reply. I guessed that the problem lays in the file:///C:/localweb/ URL.

 

Have you any idea about what to do to prevent it happening - where the problem is located?

 

I've compared HTML and PHP files on my various sites and can find no immediate differences that would compel the pages to load as file:///C:/localweb/ instead of http://localhost

 

I'm not a php coder, but understand some of it .. I employed a coder to write the php for me.

 

Any help would be appreciated

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.