Reply
"Dreamweaver CS3 has stopped working"
Old 05-03-2008, 07:03 AM "Dreamweaver CS3 has stopped working"
KkillgasmM's Avatar
Ultra Talker

Posts: 334
Name: El Phantasmo
Location: England, north west
This is the message I keep getting when editing a webpage in my site! Im not sure if its something to do with Vista aswell?

The page is quite big though so Im not sure what is causing the problem:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/default.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<link href="../css/styleDivId.css" rel="stylesheet" type="text/css" />
<link href="../css/styleDef.css" rel="stylesheet" type="text/css" />
<link href="../css/styleUl.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="../css/styleFrm.css" rel="stylesheet" type="text/css" />
<link href="../css/styleDivClass.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="container">
  <div id="banner"></div>
  <div id="navContainer">
    <ul id="nav">
      <li><a href="../index.htm">home</a></li>
      <li><a href="../review/">reviews</a></li>
      <li><a href="../member/">members area</a></li>
      <li><a href="../login/login.htm">login</a></li>
      <li><a href="../login/register.htm">register</a></li>
    </ul>
    <br class="clear" />
  </div>
  <div id="content"> <!-- InstanceBeginEditable name="content" -->
    <?php
    //  obtain correct review
    include "../script/conn.php";
    $reviewId = $_GET['reviewId'];
    $sql = mysql_query ("SELECT * FROM reviews WHERE id = '$reviewId'");
    
    if (!$sql)
        {
            echo mysql_error();
        }
    ?>
    <h1><?php echo mysql_result ($sql, 0, 1);?></h1>
    <div id="reviewContainer">
      <div id="reviewImage"><img src="albumCover/<?php
      
      //  display album cover
      if ((mysql_result ($sql, 0, 8) == '0') || (mysql_result ($sql, 0, 8 == null)))
          {
            echo 'noCover.jpg';
        }
        
        else
            {
                  echo mysql_result ($sql, 0, 8);
            }
        
        ?>" width="250" /></div>
      <div id="reviewDetail">
        <h2>Album details</h2>
        <ul>
          <li><span class="title">Band name:</span><?php echo mysql_result ($sql, 0, 2);?></li>
          <li><span class="title">Genre:</span><?php echo mysql_result ($sql, 0, 4);?></li>
          <li><span class="title">Year Released:</span><?php echo mysql_result ($sql, 0, 3);?></li>
          <li><span class="title">Reviewed by:</span><?php echo mysql_result ($sql, 0, 6);?></li>
          <li><span class="title">Score:</span><?php echo mysql_result ($sql, 0, 5);?></li>
        </ul>
      </div>
      <br class="clear" />
      <div id="reviewComment">
        <h3>Comments</h3>
        <p><?php echo mysql_result ($sql, 0, 7);?></p>
      </div>
</div>
  <!-- InstanceEndEditable --></div>
  <div id="footer">rottenapple.com 2008</div>
</div>
</body>
<!-- InstanceEnd --></html>
I dont know whether Ive got some dodgy PHP code in there or something? The problem mainly seems to arise when uploading to my server [which is just a local testing folder on my computer]

Any ideas what could be causing it??
__________________
http://www.inspindesign.co.uk
KkillgasmM is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-03-2008, 01:26 PM Re: "Dreamweaver CS3 has stopped working"
Banned

Posts: 143
Name: Blake
Location: Cuyahoga falls,Ohio
I strongly beleive it's Youre Php Code that is causing the Problem are you saving the file Right ?
blktallos is offline
Reply With Quote
View Public Profile Visit blktallos's homepage!
 
Old 05-03-2008, 01:34 PM Re: "Dreamweaver CS3 has stopped working"
nickohrn's Avatar
Weightlifting CS Student

Posts: 505
Name: Nick Ohrn
Dreamweaver CS3 is compatible with Windows Vista, so that probably isn't your problem. I strongly suspect that your problem lies here:

PHP Code:
 //  display album cover
if ((mysql_result ($sql08) == '0') || (mysql_result ($sql0== null)))
{
  echo 
'noCover.jpg';
}
else
{
  echo 
mysql_result ($sql08);

That first line should read:

PHP Code:
if ((mysql_result ($sql08) == '0') || (mysql_result ($sql08) == null)) 
__________________
Plugin-Developer.com - Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
nickohrn is offline
Reply With Quote
View Public Profile Visit nickohrn's homepage!
 
Old 05-03-2008, 06:02 PM Re: "Dreamweaver CS3 has stopped working"
KkillgasmM's Avatar
Ultra Talker

Posts: 334
Name: El Phantasmo
Location: England, north west
ohhhhh i seee! thanks. I have since removed part of that code and havent had any problems since, although i didnt suspect that was what was causing the problem!

Wouldnt that have produced a PHP error though?
__________________
http://www.inspindesign.co.uk
KkillgasmM is offline
Reply With Quote
View Public Profile
 
Old 05-03-2008, 07:54 PM Re: "Dreamweaver CS3 has stopped working"
Lpspider's Avatar
Seniority Minority

Posts: 1,537
Glad you've apparently gotten it fixed.
__________________
AdminAddict.com - Do you run a forum?
Lpspider is offline
Reply With Quote
View Public Profile Visit Lpspider's homepage!
 
Reply     « Reply to "Dreamweaver CS3 has stopped working"
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12804 seconds with 13 queries