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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.