I am a beginner doing a tutorial through David Sawyer McFarlands' "CS5: The Missisng Manual. I have MAMP set up and working fine. I just got through doing a tutorial on editing a recordset and linking to a Detail page. I have used Live View just a few minutes ago and it was working fine. However I just tried to click live view again after completing this part of the tutorial and a pop up box says "dynamically-related files could not be resolved because of an internal server error". I have no idea what this error could be. When I type http://localhost/ in my browser it shows a file on the dynamic website we are working on called cosmo_shop. But when I type http://localhost/cosmo_shop the screen goes blank....Can someone help me with this???
frankieb83 wrote:
I have no idea what this error could be. When I type http://localhost/ in my browser it shows a file on the dynamic website we are working on called cosmo_shop. But when I type http://localhost/cosmo_shop the screen goes blank....Can someone help me with this???
Nobody else is likely to have any idea what the error is without seeing the code of the page you're working on. However, you might find Why is my PHP page blank? in the Dreamweaver FAQ points you in the right direction.
Since you're new to these forums, you might also like to take a look at How to get help quickly.
Thanks David. I did read the information from both links you provided.
A few minutes after my page went blank dreamweaver did say I had a Syntax error on line 55. I know that means I am just missing a parenthesis or some symbol but since I don't have very much knowledge of code I'm not sure how it should be corrected. Here is the code from line 55 where it says I have a Syntax error:
$totalPages_rsProducts = ceil($totalRows_rsProducts/$maxRows_rsProducts = 12;
$pageNum_rsProducts = 0;
I also notice that line # 74 is highlighted in red and I assume there is a code error there as well. Here is line # 74:
$totalPages_rsProducts = ceil($totalRows_rsProducts/$maxRows_rsProducts = 12;
$pageNum_rsProducts = 0;
I am using a firefox browser and working on a Macbook if that helps....I'm guessing I am missing an end parenthesis ) in both of these but not sure where it should go....
frankieb83 wrote:
But why didn't Dreamweaver put the end Parenthesis where it needed to go in the first place?
It did. You almost certainly deleted it by accident.
Glad you managed to sort out the problem by yourself. Troubleshooting syntax errors is one of the most important early lessons in PHP or any other programming language.
North America
Europe, Middle East and Africa
Asia Pacific