Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
"Dreamweaver CS3 has stopped working"
Old 05-03-2008, 08:03 AM "Dreamweaver CS3 has stopped working"
pealo86's Avatar
Super Spam Talker

Posts: 850
Name: Matt Pealing
Location: England, north west
Trades: 0
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??
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 05-03-2008, 02:26 PM Re: "Dreamweaver CS3 has stopped working"
Banned

Posts: 143
Name: Blake
Location: Cuyahoga falls,Ohio
Trades: -2
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, 02:34 PM Re: "Dreamweaver CS3 has stopped working"
Plugin-Developer's Avatar
Weightlifting CS Student

Posts: 504
Name: Nick Ohrn
Trades: 0
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)) 
__________________

Please login or register to view this content. Registration is FREE
- Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
Plugin-Developer is offline
Reply With Quote
View Public Profile Visit Plugin-Developer's homepage!
 
Old 05-03-2008, 07:02 PM Re: "Dreamweaver CS3 has stopped working"
pealo86's Avatar
Super Spam Talker

Posts: 850
Name: Matt Pealing
Location: England, north west
Trades: 0
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?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 05-03-2008, 08:54 PM Re: "Dreamweaver CS3 has stopped working"
Lpspider's Avatar
Seniority Minority

Posts: 1,534
Trades: 0
Glad you've apparently gotten it fixed.
__________________
AdminAddict.com -
Please login or register to view this content. Registration is FREE
Lpspider is offline
Reply With Quote
View Public Profile Visit Lpspider's homepage!
 
Reply     « Reply to "Dreamweaver CS3 has stopped working"
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.62352 seconds with 12 queries