Solved

Beginner Problems setting up web application in dreamweaver

Posted on 2004-04-18
7
154 Views
Last Modified: 2012-05-04
Hi, I was wondering if anyone can help me.

I have been following the getting started tutorial, and have had no problems until I get to the 'Developing a web application ' part. First I tried to do it in ColdFusion, but when I tried to view the live data for the comments-view page, I got an error saying I needed a browser that supported frames!? I have mozilla and IE6. The comments-add page wouldn't preview properly either.

Now I am trying to use PHP. I have Apache2, PHP and mySQL installed and working (I think) on my machine. But again when I try to view the live data for the comments-view page, I get an error saying:

The testing server did not execute any of the scripts in your document! Possible explanations include:
1/ The testing server is not working.
2/The testing server ignores files with the ".php" file extensions.
3/Your document does not contain any script

I am new to all this, but everything seems to be going smoothly until I try to view the live data. When I try to preview the comments-view or comments-add pages I just get a blank page.

It appears to me as though the problem is in the setup in DW. If anyone has the solution to any if not all these problems then please let me know.

Thanks in advance
James
0
Comment
Question by:JimmyTree
  • 2
  • 2
7 Comments
 
LVL 19

Expert Comment

by:webwoman
ID: 10859936
Do you have a web server? If you don't, you can't use live view for any server side scripts.
0
 
LVL 10

Expert Comment

by:Havin_it
ID: 10861088
Are you sure this is a DW configuration problem?  ie Can you view any pages normally through your brow ser with an address like http://localhost/index.php (or even index.html)?
0
 

Author Comment

by:JimmyTree
ID: 10870717
I can view pages with the address  http://localhost/....., everything seems to be working ok, until I get to the section in the tutorial about setting up a web application.

When I try to view the pages in this section through my browser I get a blank screen.

Isn't Apache my server. I'm hosting locally.
0
 
LVL 19

Accepted Solution

by:
webwoman earned 50 total points
ID: 10873345
Sounds like you don't have SQL and/or PHP set up correctly. They should have test data, try using that BEFORE you try to set up something in DW.

Because unless you know FOR SURE you have PHP/SQL set up right, you don't know WHERE the problem could be.
0
 

Author Comment

by:JimmyTree
ID: 10966885
I have now solved this error by using phpdev, which has php, apache, and mysql preconfigured in one package.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now