HighDots Forums  

PHP issues when creating site cache

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss PHP issues when creating site cache in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tonomud webforumsuser@macromedia.com
 
Posts: n/a

Default PHP issues when creating site cache - 07-14-2003 , 04:35 PM






Hello,
I posted to the forum last friday that I was having problems getting DW MX to work correctly.
http://webforums.macromedia.com/dreamweaver/messageview.cfm?catid=189&threadid=652771&highligh t_key=y

It seemed that DW could not create a cache of the site after I had defined it in the site manager. It would get to a certain file, and then would encounter a:
"Dreamweaver has encountered a fatal exception. Dreamweaver will now terminate".

error, and then the program would close. Repeated attempts to re-define the site in the site manager gave the same error. This morning, I discovered that DW only choked on pages that are PHP based. I have 3 other simple html sites that I was able to recreate cache for in DW with no problems.

I have been through a complete reformat and reinstall of windows, numerous reinstalls of DW (even updated to 6.1 with no luck), and a stripping down of my system to only the essential hardware (to try and rule out a hardware conflict). It seems that something is causing DW to choke on PHP code, but I'm not sure what it is. I haven't messed with prefs at all (I'm just trying to get the program to run!). I would venture a guess to say that it's possibly bad PHP code, but I can't really find anything wrong with the code when viewed in a text editor. The only thing I'm using PHP for is includes (navigation, headers, footers, etc.).

Does anyone have a suggestion of what I can do to get DW working again with PHP?



Reply With Quote
  #2  
Old   
tonomud webforumsuser@macromedia.com
 
Posts: n/a

Default Re: PHP issues when creating site cache - 07-15-2003 , 10:55 AM






Well, I've solved my own problem.

Turns out it's something wrong with some CSS code in a linked stylesheet. I was working on the file in question last week before I started noticing the problem, but it hadn't clicked in my mind yet.

bottom line: make sure your CSS code is valid if you keep getting "fatal exception" errors in DW.

Man, it feels good to have that problem fixed. Now I can start working again!



Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.