Jump to content

Featured Replies

Posted

Hi all,

 

Just a quick question. Most (99%) of the Smithy's Place website is done in PHP. I'm in the process of updating the site and am using DreamWeaver. So far so good, with the exception of one page. No matter what I do it just will not open in DW ... (the header/footer info displays properly but the rest of the page is completely blank) I can't see any difference between this page and every other page (which all open without drama).

 

Could someone either tell me how to open this bloody page in DW or if I e-mail you the page could you modify it so that I can open it in DW?

 

Many thanks!

 

Dan

 

PS - I can open the offending page in notebook and see all the code. Unfortunately I'm not a web designer and know bugger all about PHP so the GUI of DW is essential for me ...

I do all my PHP code in either notepad or PSPad editor because I find that tools like dreamweaver bloat your code..., but from the symptoms your are explaining the problem could be due to your file associations being incorrect.

 

If you open windows explorer use the Tools menu, select Folder options\File types\ find the php file and change the 'opens with' selection to dreamweaver.

 

hth.

  • Author
I do all my PHP code in either notepad or PSPad editor because I find that tools like dreamweaver bloat your code..., but from the symptoms your are explaining the problem could be due to your file associations being incorrect.

 

If you open windows explorer use the Tools menu, select Folder options\File types\ find the php file and change the 'opens with' selection to dreamweaver.

 

hth.

 

Hi Steve,

 

Thanks for the response. I've followed your advise and found that PHP, PHP3, PHP4 are all associated with DW already. Unfortunately your advise hasn't helped. It's really bizarre because looking at the code in Notepad nothing seems to be different from any of the other files ...

 

Thanks again though ...

 

Dan

  • Author
are you using PHP 5 or higher?

 

Not got a clue but I wouldn't have thought so as the site was created about two years ago. Also, why would all other files display correctly except this one?

  • Author
If you write a quick phpinfo() script what does it say?

 

Not sure if this is what you're after but creating a new php document in DW with just the text "this is a test page in php" in the body resulted in the following:

 

Untitled Document

 

This is a test page in php

 

Would it be more time efficient if I just e-mail you one correctly displaying page and the incorrectly displaying page?

 

Thanks for your help so far.

 

Dan

your code doesnt have any php tags, the line that says "This is a test page in php"

 

is not PHP, its html.

  • Author
your code doesnt have any php tags, the line that says "This is a test page in php"

 

is not PHP, its html.

 

Yes, I noticed that too. I'm just uploading the phpinfo file to my webserver now. Will get back to you in a second ...

 

Dan

  • Author

Thanks Steve,

 

Your time and help has been greatly appreciated. I'll be in touch soon to continue our discussion.

 

All the best,

 

Dan

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Terms of Use