Dreamweaver creating duplicate sites when working with Contribute and CPS
I've set up many websites with Dreamweaver for a Contribute/CPS environment and each time I edit the Contribute admin setting and save them, Dreamweaver created a duplicate of that site. Then when I go into edit the Contribute admin settings again, it will not let me in, saying that there is already a site with that name. I then have to delete one of the duplicates which sometimes removes the connection to CPS. Has anyone else experienced this in a multi-site, multi-user environment with CPS??? See attached image to see the duplicate sites.
I have had the same problem.
Had Dreamweaver support on the phone yesterday, after receiving this email:
Please try resetting the preferences for Dreamweaver. Follow the steps given below.
/Users/Your User Name/Library/Preferences/Adobe Dreamweaver CC Prefs
/Users/Your User Name/Library/Preferences/com.adobe.Dreamweaver.13.0.plist
/Users/Your User Name/Library/Application Support/Adobe/Dreamweaver CC
/Users/Your User Name/Library/Application Support/Caches/ com.adobe.Dreamweaver.13.0
Macintosh /Library/Preferences/ Application Support/Adobe/Dreamweaver CC Prefs (if any)
Macintosh /Library/Preferences/com.adobe.Dreamweaver.13.0.plist
Note: Follow the help doc to access user library.
If this does not help can you please send me details below to isolate the issue further.
1) Step by step workflow to reproduce the issue.
2) Is this happening with multiple files? Few sample files to test the issue at my end.
3) Complete System Information file of the computer having issues.
4) Were there any H/w or S/w changes applied on the computer having issues. Since when are you getting this issue?
5) Is the user on domain account or local user? Do they have admin rights?
6) You BC site details, including FTP address, Login credentials.
After our telephone conversation:
I deleted all sites.
I have completely deleted all versions of Dreamweaver, deleted all preference files and reinstalled Dreamweaver CC.
It's still happening, so I will be back to them tomorrow.
Sorta glad it's not just me!!
Similar Messages
-
FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
Did anybody reported this? never happened to me in previous versions.
It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
But *** it must work!
ThanxFCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
Did anybody reported this? never happened to me in previous versions.
It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
But *** it must work!
Thanx -
Dreamweaver CC constantly crashing when working with BC
Hi,
Dreamweaver CC is constantly crashing when working with BC. I had lots of contact with the support, my issue is at tier2 already, I had telephone-support several times, we had lots of possible solutions. Nothing worked.
DW CC is crashing as often as CS6 did and it only happened when working with a BC-site. Whenever uploading to BC, there is a 30% chance that DW crashes. When having stopped working with DW for a few minutes (like doing something in PS) DW crashes in every case. 100%. As this must have something to do with BC, I urgently beg to check the integration of BC into DW or check the connection-mode.
Here are my Specs:
- iMac with latest OS
- Adobe CC (latest )
- German
-DSL 1500 b/sec-connection
I tried saving the sites root folder on a NAS and on local harddrive. I tried with or without german Umlaute , no difference.
Sometimes I can cancel the upload-message and redo, then its working (75%).
As I seem to be the only one having this problem, I completely reinstalled the system and CC, but the problem still exists.
I would really appreciate any help or support from Adobe, although I must say, they already did a lot, but unfortunately my problem is not solved.
By the way, several dialogs with "dont show message again"-ckeckboxes simply come again, no matter whether box is checked or not.
Writing uppercase I (shift-I) insert content of clipboard and writes an uppercase I. (weird?)I have had the same problem.
Had Dreamweaver support on the phone yesterday, after receiving this email:
Please try resetting the preferences for Dreamweaver. Follow the steps given below.
/Users/Your User Name/Library/Preferences/Adobe Dreamweaver CC Prefs
/Users/Your User Name/Library/Preferences/com.adobe.Dreamweaver.13.0.plist
/Users/Your User Name/Library/Application Support/Adobe/Dreamweaver CC
/Users/Your User Name/Library/Application Support/Caches/ com.adobe.Dreamweaver.13.0
Macintosh /Library/Preferences/ Application Support/Adobe/Dreamweaver CC Prefs (if any)
Macintosh /Library/Preferences/com.adobe.Dreamweaver.13.0.plist
Note: Follow the help doc to access user library.
If this does not help can you please send me details below to isolate the issue further.
1) Step by step workflow to reproduce the issue.
2) Is this happening with multiple files? Few sample files to test the issue at my end.
3) Complete System Information file of the computer having issues.
4) Were there any H/w or S/w changes applied on the computer having issues. Since when are you getting this issue?
5) Is the user on domain account or local user? Do they have admin rights?
6) You BC site details, including FTP address, Login credentials.
After our telephone conversation:
I deleted all sites.
I have completely deleted all versions of Dreamweaver, deleted all preference files and reinstalled Dreamweaver CC.
It's still happening, so I will be back to them tomorrow.
Sorta glad it's not just me!! -
Keymapping problem when working with emacs and openbox
I have an apple keyboard and I had to do some remapping of the keys to make the mod-4 key the first key to the left of the space bar for when working with Emacs. The below script worked fine when I was using the dwm window manager, but after switching to openbox I have found that instead of swapping keycodes between the option and command keys, only the command key seems to be working since the initial openbox command-space doesn't work when pressing option-space.
One odd thing I noticed, was on the new setup when I click run `showkey` and press the option and command keys I get 56 and 125 respectively, but these keys don't work at all when inserting them into the below script instead of the 64 and 133.
I must admit I created the script below by continually tweaking it until it worked so there could be a much better way of doing it.
//.xmodmap
### capslock => ctrl
xmodmap -e "clear Lock"
xmodmap -e "add Control = Caps_Lock"
### switch alt and command
xmodmap -e "keycode 64 = Alt_L"
xmodmap -e "keycode 133 = Meta_L"
### remap of mod 4
xmodmap -e "clear Mod4"
xmodmap -e "add Mod4 = Super_L"
** Update: The Alt key is not being swapped with the command key, but is not just a duplicate. So no M-x can be done by both Alt-x and Command-x
Last edited by iso (2011-02-19 19:21:01)java -cp "E:\Java Programmes\class" mygame.server.Server
-
UI not getting change update when working with LIST and INotifyPropertyChanged
i was trying to know two way data binding. i have simple car class which extend INotifyPropertyChanged for notify the change to update UI. bind List object to few textboxes and notice when one textbox value change then other textbox value not updated. all
textboxes bind to same property. so one's value change should propagate to other textboxes.
this is my code
public class Car : INotifyPropertyChanged
private string _make;
private string _model;
private int _year;
public event PropertyChangedEventHandler PropertyChanged;
public Car(string make, string model, int year)
_make = make;
_model = model;
_year = year;
public string Make
get { return _make; }
set
_make = value;
this.NotifyPropertyChanged("Make");
public string Model
get { return _model; }
set
_model = value;
this.NotifyPropertyChanged("Model");
public int Year
get { return _year; }
set
_year = value;
this.NotifyPropertyChanged("Year");
private void NotifyPropertyChanged(string name)
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(name));
This way i bind
Car carTest;
private void Form1_Load(object sender, EventArgs e)
carTest = new Car("Ford", "Mustang", 1967);
List<Car> ol = new List<Car>();
ol.Add(carTest);
this.textBox1.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
this.textBox3.DataBindings.Add("Text", ol, "Make");
when run the code then Ford was showing as make name but when change value in any textbox then that change is not shown in other textboxes.
the moment i change this line List<Car> ol = new List<Car>(); to
BindingList<Car> ol = new BindingList<Car>(); then code started to work fine.
My Question
1) what is the difference between List and BindingList class ?
2) can't we use List<> for my situation instead of BindingList
3)
this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
this.textBox3.DataBindings.Add("Text", ol, "Make");
see the above code and tell me what is the advantage of using DataSourceUpdateMode.OnPropertyChanged because i have seen if we do not use this code
DataSourceUpdateMode.OnPropertyChanged then also data change is propagated to other textbox when cursor focus change.I would have thought that'd work with List<t>, in fact I think there must be something wrong in your code there. I can't spot it though.
I recommend use of ObservableCollection rather than BindingList.
The default on bindings is that changes are propagated from the target ( view ) to source ( vm ) when the control loses focus.
If you want to do the equivalent to a keydown event handler in a viewmodel then onpropertychanged is the way to go.
You want to avoid creating bindings in code unless you really really have to, it's way easier to put them in xaml.
Even if your ui is dynamic, you can build xaml and use that to create the ui objects:
http://social.technet.microsoft.com/wiki/contents/articles/28797.aspx
The difference between BindingList and List is, literally, iBindingList.
See
https://msdn.microsoft.com/en-us/library/system.componentmodel.ibindinglist%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
What probably isn't very obvious is that BindingList fires an event - iirc itemchanged when properties on objects in it change.
Maybe you did something wrong in your implementation of inotifypropertychanged. I must admit, I can't see anything there though.
You don't really need those magic strings since .net4.5 and you also don't need to explicitly implement inotifypropertychanged you could use:
public event PropertyChangedEventHandler PropertyChanged;
public void RaisePropertyChanged([CallerMemberName] String propertyName = "")
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
As used in this:
https://gallery.technet.microsoft.com/WPF-Dynamic-Fonts-ad3741ca
If you try that sample you can have:
public class FontDetails : INotifyPropertyChanged
or
public class FontDetails
And you can see it still notifies change successfully to both windows.
Most wpf devs will use observablecollection rather than List or bindinglist.
Observablecollection notifies addition or removal of entries. It can be used to notify an entry has changed, but does not detect change of property. You would have to raise the event in code if you want to tell it an item changed.
Hope that helps.
Technet articles: Uneventful MVVM;
All my Technet Articles -
Problem with dual currency when working with AMEX and VISA
Hi all,
We are in process of implementing SAP travel on demand with integration of AMEX and VISA corporate cards. Paymentric was in charge of our configuration and the information is comming to our system now.
As per our set up, the statements are being procesed with errors, due the currency we are receiving the charges is USD instead of country home currency. Example -> Argentinian employee travel to Brazil, and paid with BRL currency. We are receiving the statements in USD instead of BRL (There is a validation in the tool which cannot process statements in other than local currency)
I spoke with AMEX and VISA representatives, and both says that they work with dual currency model, so changing the currency in the statements is not a possibility.
Are we missing something in the config? I was reading information and discover that other countries like China are having same issue.
Thanks for your help,
HernánHi Hernán,
credit card statements usually contain two currencies:
1. 1. Local Currency: if the Argentinian employee travels to Brazil and buys something there, the local currency would be BRL
2. 2. Billed Currency: this is the currency in which the credit card is billed (according to the credit card setup). Each transaction is converted to the billed currency in case of foreign transactions.
Cloud for Travel and Expenses knows for each employee exactly one home currency. An expense report is always processed with home currency.
Up to release 1502 it is not possible to import credit card transactions if the credit card billed currency does no match the employee’s home currency (there is no restriction to the local currency).
As of release 1505 this is possible, but it has to be activated in Business Configuration:
Travel and Expenses -> Expense Reimbursement -> Expense Input Channels -> Group: Credit Card -> Do you want to import credit card transactions with a credit card currency that differs from the home currency of the employee?
In addition, you must use the new posting interface "SAP ERP Financials Using IDoc (with extensibility)". If you detect settlement deviations or differences on the reconciliation or credit card account (split payment) due to the currency exchange rates in your financial system, you can correct this situation by implementing BAdIs in the ERP system.
Hope this helps.
Best regards,
Ralph -
Channel error when working with BlazeDS and JBoss
I am getting this error... can someone just help me on this front
this is the mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
import mx.controls.Alert;
import mx.events.ResizeEvent;
public function showData(evt:ResultEvent):void{
var data:String = evt.result as String;
Alert.show(data);
]]>
</mx:Script>
<mx:RemoteObject id="remoteSend" destination="CreateRpc"
result="showData(event)" />
<mx:Button id ="myclick" label="Get Me"
click="remoteSend.getResults('Priyank')"/>
</mx:Application>
=====================================
remoting-config.xml entry for createrpc
<destination id="CreateRpc">
<properties>
<source>RemoteServiceHandler</source>
<scope>application</scope>
</properties>
<adapter ref="java-object"/>
</destination>
========================== error i get ===============
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Status 404: url: 'http://localhost:9081/biz/messagebroker/amf'"]
Any solutionsEnsure the services-config.xml on the running server contains the same
channel definition as the services-config.xml you point at when you compile
the Flex application.
It looks like the application is attempting to use a URL
('http://localhost:9081/biz/messagebroker/amf') that the server is not
listening to (404 not found).
Hope that helps
Tom Jordahl -
I know this is a widespread problem
I am not from the U.S.
what solutions does apple have for us? , are there any?
I read there's an issue with the NVIDIA card , is there anyone I can contact? I bought it in the U.S.If the machine is less than 3 years old, Apple will replace the motherboard under a recall program. If it's older you may get stuck with that cost. I'd make a Genius Bar appointment and take it in.
-
Pakages to include when working with BI and Dynpro
Hello all,
I wanted to know , what are all the packages required or included,while doing the BI and Dynpro connection. And how do you retrieve data from queries in BI to dynpro. please let me know if their is an example which is present, or help me step by step procedure how to go abt this.
Thanks,
Regards,
karthikIf the machine is less than 3 years old, Apple will replace the motherboard under a recall program. If it's older you may get stuck with that cost. I'd make a Genius Bar appointment and take it in.
-
I had the 3.3 update window with Aperature pop up and say that I could no longer work with my library until updating Aperature. The update froze up about 90% through the completion of the last set(9 of 9/ 90% complete) and ran over night. My MAC shows version 3.3 installed. When I try to open Aperature, I get a system crash error. I am a novice at best when working with software and I am panicing because of the amount of pictures that I have on the system. I do back them up but do not know how to restore Aperature software(I purchased it before the app store and can not find it). Please advise.
There is an Aperture forum that you can repost in, that is where you will find the guru's for that product. Simply click: Aperture to get there. BTW before you do please complete your profile, it makes it much easier for those attempting to assist you. You can find instructions by clicking Profile Update
-
Problem when working with package???Please, help me!!!
I got 3 .java files from one Java tutorial as follow:
Server.java (in package mygame.server)
Utilities.java (in package mygame.shared)
Client.java (in package mygame.client)
All the above files are placed in "E:\Java Programmes\source"
After compiling, i got correspponding .class files:
Server.class (placed in "E:\Java Programmes\class\mygame\server")
Utilities.class (placed in "E:\Java Programmes\class\mygam\shared")
Clients.class (placed in "E:\Java Programmes\class\mygame\client")
But when i run Server.class which contains main method, i got error as follow:
E:\Java Programmes>java class\mygame\server\Server
Exception in thread "main" java.lang.NoClassDefFoundError: class\mygame\server\S
erver (wrong name: mygame/server/Server)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
That was very puzzled for me. I cannot find out what wrong with my files. Please., any boby, help me!!! I always got this problem when working with package and managing files. Thanls a lot.java -cp "E:\Java Programmes\class" mygame.server.Server
-
Why is my flash content not working on my dreamweaver created html site?
This is a problem that's happening on my website I'm creating. I created a quick test website to show you the problem on the fourm. It's the same problem, and if you can provide the solution to this test website I can apply it to my main website.
Test website on server:
test331754952.net23.net
What I did:
-launched flash
-typed "test" and made it spin 360 degrees
-published swf
-launched dreamweaver
-created a site
-moved swf to site folder
-saved a html file to the site folder
-in dreamweaver, went to insert, media, swf, then selected the swf I made
-it inserted the swf, creating a gray placeholder for it
-re-saved the html document, at which point dreamweaver created a folder named script and 2 files, an swf, and a javascript file
Site Directory:
Scripts Sub-Directory:
What happens:
-when I launch the swf on my machine, it plays fine
-when I open the swf directly on the test website on the server, it plays fine
-when I open the html with the embended swf on the test website on the server, it shows a gray box, then goes white
-In dreamweaver, when I go to preview in browser and choose internet explorer, it tells me I don't have new flashplayer(I do: flashplayer 11)
Ie also pokes up a box at the bottom that says its not allowing content. When I click allow content, it creates a gray box
-In dreamweaver, when I go to preview in borwser and choose google chrome, it tells me flash player has stopped a potentionally unsafe operation. When I close this dialog box, it gives me a gray box where my swf should be embeded.
-I've tried changing global flash secuirty setting and it does nothing
-I've tried visiting the test website on multiple computers in my household to no avail
-I've tried having friends visit the site on their computer at their house to no avail
-I did't touch the code on this test website-the code is exactly what dreamweaver generated
Html Document 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="test">
<param name="movie" value="test.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="15.0.0.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="test.swf" width="550" height="400">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="15.0.0.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
</body>
</html>
Javascript file code(the one dreamweaver made when I inserted swf):
/*! SWFObject v2.0 <http://code.google.com/p/swfobject/>
Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
var swfobject = function() {
var UNDEF = "undefined",
OBJECT = "object",
SHOCKWAVE_FLASH = "Shockwave Flash",
SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
FLASH_MIME_TYPE = "application/x-shockwave-flash",
EXPRESS_INSTALL_ID = "SWFObjectExprInst",
win = window,
doc = document,
nav = navigator,
domLoadFnArr = [],
regObjArr = [],
timer = null,
storedAltContent = null,
storedAltContentId = null,
isDomLoaded = false,
isExpressInstallActive = false;
/* Centralized function for browser feature detection
- Proprietary feature detection (conditional compiling) is used to detect Internet Explorer's features
- User agent string detection is only used when no alternative is possible
- Is executed directly for optimal performance
var ua = function() {
var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF && typeof doc.appendChild != UNDEF && typeof doc.replaceChild != UNDEF && typeof doc.removeChild != UNDEF && typeof doc.cloneNode != UNDEF,
playerVersion = [0,0,0],
d = null;
if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
d = nav.plugins[SHOCKWAVE_FLASH].description;
if (d) {
d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
playerVersion[2] = /r/.test(d) ? parseInt(d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
else if (typeof win.ActiveXObject != UNDEF) {
var a = null, fp6Crash = false;
try {
a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7");
catch(e) {
try {
a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6");
playerVersion = [6,0,21];
a.AllowScriptAccess = "always"; // Introduced in fp6.0.47
catch(e) {
if (playerVersion[0] == 6) {
fp6Crash = true;
if (!fp6Crash) {
try {
a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
catch(e) {}
if (!fp6Crash && a) { // a will return null when ActiveX is disabled
try {
d = a.GetVariable("$version"); // Will crash fp6.0.21/23/29
if (d) {
d = d.split(" ")[1].split(",");
playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
catch(e) {}
var u = nav.userAgent.toLowerCase(),
p = nav.platform.toLowerCase(),
webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
ie = false,
windows = p ? /win/.test(p) : /win/.test(u),
mac = p ? /mac/.test(p) : /mac/.test(u);
/*@cc_on
ie = true;
@if (@_win32)
windows = true;
@elif (@_mac)
mac = true;
@end
return { w3cdom:w3cdom, pv:playerVersion, webkit:webkit, ie:ie, win:windows, mac:mac };
/* Cross-browser onDomLoad
- Based on Dean Edwards' solution: http://dean.edwards.name/weblog/2006/06/again/
- Will fire an event as soon as the DOM of a page is loaded (supported by Gecko based browsers - like Firefox -, IE, Opera9+, Safari)
var onDomLoad = function() {
if (!ua.w3cdom) {
return;
addDomLoadEvent(main);
if (ua.ie && ua.win) {
try { // Avoid a possible Operation Aborted error
doc.write("<scr" + "ipt id=__ie_ondomload defer=true src=//:></scr" + "ipt>"); // String is split into pieces to avoid Norton AV to add code that can cause errors
var s = getElementById("__ie_ondomload");
if (s) {
s.onreadystatechange = function() {
if (this.readyState == "complete") {
this.parentNode.removeChild(this);
callDomLoadFunctions();
catch(e) {}
if (ua.webkit && typeof doc.readyState != UNDEF) {
timer = setInterval(function() { if (/loaded|complete/.test(doc.readyState)) { callDomLoadFunctions(); }}, 10);
if (typeof doc.addEventListener != UNDEF) {
doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, null);
addLoadEvent(callDomLoadFunctions);
function callDomLoadFunctions() {
if (isDomLoaded) {
return;
if (ua.ie && ua.win) { // Test if we can really add elements to the DOM; we don't want to fire it too early
var s = createElement("span");
try { // Avoid a possible Operation Aborted error
var t = doc.getElementsByTagName("body")[0].appendChild(s);
t.parentNode.removeChild(t);
catch (e) {
return;
isDomLoaded = true;
if (timer) {
clearInterval(timer);
timer = null;
var dl = domLoadFnArr.length;
for (var i = 0; i < dl; i++) {
domLoadFnArr[i]();
function addDomLoadEvent(fn) {
if (isDomLoaded) {
fn();
else {
domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
/* Cross-browser onload
- Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
- Will fire an event as soon as a web page including all of its assets are loaded
function addLoadEvent(fn) {
if (typeof win.addEventListener != UNDEF) {
win.addEventListener("load", fn, false);
else if (typeof doc.addEventListener != UNDEF) {
doc.addEventListener("load", fn, false);
else if (typeof win.attachEvent != UNDEF) {
win.attachEvent("onload", fn);
else if (typeof win.onload == "function") {
var fnOld = win.onload;
win.onload = function() {
fnOld();
fn();
else {
win.onload = fn;
/* Main function
- Will preferably execute onDomLoad, otherwise onload (as a fallback)
function main() { // Static publishing only
var rl = regObjArr.length;
for (var i = 0; i < rl; i++) { // For each registered object element
var id = regObjArr[i].id;
if (ua.pv[0] > 0) {
var obj = getElementById(id);
if (obj) {
regObjArr[i].width = obj.getAttribute("width") ? obj.getAttribute("width") : "0";
regObjArr[i].height = obj.getAttribute("height") ? obj.getAttribute("height") : "0";
if (hasPlayerVersion(regObjArr[i].swfVersion)) { // Flash plug-in version >= Flash content version: Houston, we have a match!
if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements
fixParams(obj);
setVisibility(id, true);
else if (regObjArr[i].expressInstall && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { // Show the Adobe Express Install dialog if set by the web page author and if supported (fp6.0.65+ on Win/Mac OS only)
showExpressInstall(regObjArr[i]);
else { // Flash plug-in and Flash content version mismatch: display alternative content instead of Flash content
displayAltContent(obj);
else { // If no fp is installed, we let the object element do its job (show alternative content)
setVisibility(id, true);
/* Fix nested param elements, which are ignored by older webkit engines
- This includes Safari up to and including version 1.2.2 on Mac OS 10.3
- Fall back to the proprietary embed element
function fixParams(obj) {
var nestedObj = obj.getElementsByTagName(OBJECT)[0];
if (nestedObj) {
var e = createElement("embed"), a = nestedObj.attributes;
if (a) {
var al = a.length;
for (var i = 0; i < al; i++) {
if (a[i].nodeName.toLowerCase() == "data") {
e.setAttribute("src", a[i].nodeValue);
else {
e.setAttribute(a[i].nodeName, a[i].nodeValue);
var c = nestedObj.childNodes;
if (c) {
var cl = c.length;
for (var j = 0; j < cl; j++) {
if (c[j].nodeType == 1 && c[j].nodeName.toLowerCase() == "param") {
e.setAttribute(c[j].getAttribute("name"), c[j].getAttribute("value"));
obj.parentNode.replaceChild(e, obj);
/* Fix hanging audio/video threads and force open sockets and NetConnections to disconnect
- Occurs when unloading a web page in IE using fp8+ and innerHTML/outerHTML
- Dynamic publishing only
function fixObjectLeaks(id) {
if (ua.ie && ua.win && hasPlayerVersion("8.0.0")) {
win.attachEvent("onunload", function () {
var obj = getElementById(id);
if (obj) {
for (var i in obj) {
if (typeof obj[i] == "function") {
obj[i] = function() {};
obj.parentNode.removeChild(obj);
/* Show the Adobe Express Install dialog
- Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
function showExpressInstall(regObj) {
isExpressInstallActive = true;
var obj = getElementById(regObj.id);
if (obj) {
if (regObj.altContentId) {
var ac = getElementById(regObj.altContentId);
if (ac) {
storedAltContent = ac;
storedAltContentId = regObj.altContentId;
else {
storedAltContent = abstractAltContent(obj);
if (!(/%$/.test(regObj.width)) && parseInt(regObj.width, 10) < 310) {
regObj.width = "310";
if (!(/%$/.test(regObj.height)) && parseInt(regObj.height, 10) < 137) {
regObj.height = "137";
doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
dt = doc.title,
fv = "MMredirectURL=" + win.location + "&MMplayerType=" + pt + "&MMdoctitle=" + dt,
replaceId = regObj.id;
// For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
// In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
if (ua.ie && ua.win && obj.readyState != 4) {
var newObj = createElement("div");
replaceId += "SWFObjectNew";
newObj.setAttribute("id", replaceId);
obj.parentNode.insertBefore(newObj, obj); // Insert placeholder div that will be replaced by the object element that loads expressinstall.swf
obj.style.display = "none";
win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
createSWF({ data:regObj.expressInstall, id:EXPRESS_INSTALL_ID, width:regObj.width, height:regObj.height }, { flashvars:fv }, replaceId);
/* Functions to abstract and display alternative content
function displayAltContent(obj) {
if (ua.ie && ua.win && obj.readyState != 4) {
// For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
// In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
var el = createElement("div");
obj.parentNode.insertBefore(el, obj); // Insert placeholder div that will be replaced by the alternative content
el.parentNode.replaceChild(abstractAltContent(obj), el);
obj.style.display = "none";
win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
else {
obj.parentNode.replaceChild(abstractAltContent(obj), obj);
function abstractAltContent(obj) {
var ac = createElement("div");
if (ua.win && ua.ie) {
ac.innerHTML = obj.innerHTML;
else {
var nestedObj = obj.getElementsByTagName(OBJECT)[0];
if (nestedObj) {
var c = nestedObj.childNodes;
if (c) {
var cl = c.length;
for (var i = 0; i < cl; i++) {
if (!(c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param") && !(c[i].nodeType == 8)) {
ac.appendChild(c[i].cloneNode(true));
return ac;
/* Cross-browser dynamic SWF creation
function createSWF(attObj, parObj, id) {
var r, el = getElementById(id);
if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
attObj.id = id;
if (ua.ie && ua.win) { // IE, the object element and W3C DOM methods do not combine: fall back to outerHTML
var att = "";
for (var i in attObj) {
if (attObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries, like Object.prototype.toJSONString = function() {}
if (i == "data") {
parObj.movie = attObj[i];
else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
att += ' class=" + attObj[i] + "';
else if (i != "classid") {
att += ' ' + i + '="' + attObj[i] + '"';
var par = "";
for (var j in parObj) {
if (parObj[j] != Object.prototype[j]) { // Filter out prototype additions from other potential libraries
par += '<param name="' + j + '" value="' + parObj[j] + '" />';
el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
fixObjectLeaks(attObj.id); // This bug affects dynamic publishing only
r = getElementById(attObj.id);
else if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements: fall back to the proprietary embed element
var e = createElement("embed");
e.setAttribute("type", FLASH_MIME_TYPE);
for (var k in attObj) {
if (attObj[k] != Object.prototype[k]) { // Filter out prototype additions from other potential libraries
if (k == "data") {
e.setAttribute("src", attObj[k]);
else if (k.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
e.setAttribute("class", attObj[k]);
else if (k != "classid") { // Filter out IE specific attribute
e.setAttribute(k, attObj[k]);
for (var l in parObj) {
if (parObj[l] != Object.prototype[l]) { // Filter out prototype additions from other potential libraries
if (l != "movie") { // Filter out IE specific param element
e.setAttribute(l, parObj[l]);
el.parentNode.replaceChild(e, el);
r = e;
else { // Well-behaving browsers
var o = createElement(OBJECT);
o.setAttribute("type", FLASH_MIME_TYPE);
for (var m in attObj) {
if (attObj[m] != Object.prototype[m]) { // Filter out prototype additions from other potential libraries
if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
o.setAttribute("class", attObj[m]);
else if (m != "classid") { // Filter out IE specific attribute
o.setAttribute(m, attObj[m]);
for (var n in parObj) {
if (parObj[n] != Object.prototype[n] && n != "movie") { // Filter out prototype additions from other potential libraries and IE specific param element
createObjParam(o, n, parObj[n]);
el.parentNode.replaceChild(o, el);
r = o;
return r;
function createObjParam(el, pName, pValue) {
var p = createElement("param");
p.setAttribute("name", pName);
p.setAttribute("value", pValue);
el.appendChild(p);
function getElementById(id) {
return doc.getElementById(id);
function createElement(el) {
return doc.createElement(el);
function hasPlayerVersion(rv) {
var pv = ua.pv, v = rv.split(".");
v[0] = parseInt(v[0], 10);
v[1] = parseInt(v[1], 10);
v[2] = parseInt(v[2], 10);
return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
/* Cross-browser dynamic CSS creation
- Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
function createCSS(sel, decl) {
if (ua.ie && ua.mac) {
return;
var h = doc.getElementsByTagName("head")[0], s = createElement("style");
s.setAttribute("type", "text/css");
s.setAttribute("media", "screen");
if (!(ua.ie && ua.win) && typeof doc.createTextNode != UNDEF) {
s.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
h.appendChild(s);
if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
var ls = doc.styleSheets[doc.styleSheets.length - 1];
if (typeof ls.addRule == OBJECT) {
ls.addRule(sel, decl);
function setVisibility(id, isVisible) {
var v = isVisible ? "inherit" : "hidden";
if (isDomLoaded) {
getElementById(id).style.visibility = v;
else {
createCSS("#" + id, "visibility:" + v);
function getTargetVersion(obj) {
if (!obj)
return 0;
var c = obj.childNodes;
var cl = c.length;
for (var i = 0; i < cl; i++) {
if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
c = c[i].childNodes;
cl = c.length;
i = 0;
if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "swfversion") {
return c[i].getAttribute("value");
return 0;
function getExpressInstall(obj) {
if (!obj)
return "";
var c = obj.childNodes;
var cl = c.length;
for (var i = 0; i < cl; i++) {
if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
c = c[i].childNodes;
cl = c.length;
i = 0;
if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "expressinstall") {
return c[i].getAttribute("value");
return "";
return {
/* Public API
- Reference: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation
registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr) {
if (!ua.w3cdom || !objectIdStr) {
return;
var obj = document.getElementById(objectIdStr);
var xi = getExpressInstall(obj);
var regObj = {};
regObj.id = objectIdStr;
regObj.swfVersion = swfVersionStr ? swfVersionStr : getTargetVersion(obj);
regObj.expressInstall = xiSwfUrlStr ? xiSwfUrlStr : ((xi != "") ? xi : false);
regObjArr[regObjArr.length] = regObj;
setVisibility(objectIdStr, false);
getObjectById: function(objectIdStr) {
var r = null;
if (ua.w3cdom && isDomLoaded) {
var o = getElementById(objectIdStr);
if (o) {
var n = o.getElementsByTagName(OBJECT)[0];
if (!n || (n && typeof o.SetVariable != UNDEF)) {
r = o;
else if (typeof n.SetVariable != UNDEF) {
r = n;
return r;
embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) {
if (!ua.w3cdom || !swfUrlStr || !replaceElemIdStr || !widthStr || !heightStr || !swfVersionStr) {
return;
widthStr += ""; // Auto-convert to string to make it idiot proof
heightStr += "";
if (hasPlayerVersion(swfVersionStr)) {
setVisibility(replaceElemIdStr, false);
var att = (typeof attObj == OBJECT) ? attObj : {};
att.data = swfUrlStr;
att.width = widthStr;
att.height = heightStr;
var par = (typeof parObj == OBJECT) ? parObj : {};
if (typeof flashvarsObj == OBJECT) {
for (var i in flashvarsObj) {
if (flashvarsObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries
if (typeof par.flashvars != UNDEF) {
par.flashvars += "&" + i + "=" + flashvarsObj[i];
else {
par.flashvars = i + "=" + flashvarsObj[i];
addDomLoadEvent(function() {
createSWF(att, par, replaceElemIdStr);
if (att.id == replaceElemIdStr) {
setVisibility(replaceElemIdStr, true);
else if (xiSwfUrlStr && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) {
setVisibility(replaceElemIdStr, false);
addDomLoadEvent(function() {
var regObj = {};
regObj.id = regObj.altContentId = replaceElemIdStr;
regObj.width = widthStr;
regObj.height = heightStr;
regObj.expressInstall = xiSwfUrlStr;
showExpressInstall(regObj);
getFlashPlayerVersion: function() {
return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
hasFlashPlayerVersion:hasPlayerVersion,
createSWF: function(attObj, parObj, replaceElemIdStr) {
if (ua.w3cdom && isDomLoaded) {
return createSWF(attObj, parObj, replaceElemIdStr);
else {
return undefined;
createCSS: function(sel, decl) {
if (ua.w3cdom) {
createCSS(sel, decl);
addDomLoadEvent:addDomLoadEvent,
addLoadEvent:addLoadEvent,
getQueryParamValue: function(param) {
var q = doc.location.search || doc.location.hash;
if (param == null) {
return q;
if(q) {
var pairs = q.substring(1).split("&");
for (var i = 0; i < pairs.length; i++) {
if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
return pairs[i].substring((pairs[i].indexOf("=") + 1));
return "";
// For internal usage only
expressInstallCallback: function() {
if (isExpressInstallActive && storedAltContent) {
var obj = getElementById(EXPRESS_INSTALL_ID);
if (obj) {
obj.parentNode.replaceChild(storedAltContent, obj);
if (storedAltContentId) {
setVisibility(storedAltContentId, true);
if (ua.ie && ua.win) {
storedAltContent.style.display = "block";
storedAltContent = null;
storedAltContentId = null;
isExpressInstallActive = false;
Can someone please help! I've looked and tried prety much everything. If you can provide a solution I would GREATLY apreciate it!There is no Flash player version 15... as in your code:
<param name="swfversion" value="15.0.0.0" />
For some reason Adobe thought it would be a good idea to target a Flash player version (15) as default.....which may be out a couple years in the future. Go figure!!!
If you don't like player version 9, change to 10 or 11.... just not 15 (yet).
Best wishes,
Adninjastrator -
Problem when displaying images when working with PHP, mysql and dreamweaver in a brower
Hey Guys
I am new to dynamic development but I already did some
research and tutorials about how to get a dynamic web site working
with PHP and Mysql in Dreamweaver. I set up a test page to view
some content on it directly from the mysql database and it worked
just fine in dreamweaver only when I pressed the
live data view.
When I tried to view the same page using the browser preview
with firefox and internet explorer, plain text from the database
was correctly displayed on the brower but the images were absent.
In the mysql database I used the varchar as my picture data
type field so that I will refer in dreamweaver in the data binding
panel in the img.src to the picture column of my database.
I anyone can tell me what am I doing wrong so that my
pictures are not displayed in the browser when i click the browser
preview facility in dreamweaver I would be very very and very
pleased ! :)The odds are that it is the way that you have referenced the
images rather
than an issue with the database. If you have the images root
relative like
this "/images" then they will work in preview, and on the
webserver, but
will not view when looking at the file via localhost.
If possible make the links page relative and then they should
work fine.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"mariosal026" <[email protected]> wrote in
message
news:ea3nq2$9ol$[email protected]..
> Hey Guys
>
> I am new to dynamic development but I already did some
research and
> tutorials
> about how to get a dynamic web site working with PHP and
Mysql in
> Dreamweaver.
> I set up a test page to view some content on it directly
from the mysql
> database and it worked just fine in dreamweaver only
when I pressed the
>
live
> data view.
>
> When I tried to view the same page using the browser
preview with firefox
> and
> internet explorer, plain text from the database was
correctly displayed on
> the
> brower but the images were absent.
>
> In the mysql database I used the varchar as my picture
data type field so
> that
> I will refer in dreamweaver in the data binding panel in
the img.src to
> the
> picture column of my database.
>
> I anyone can tell me what am I doing wrong so that my
pictures are not
> displayed in the browser when i click the browser
preview facility in
> dreamweaver I would be very very and very pleased ! :)
> -
Unsure about preparing a Dreamweaver Site for use with Contribute
Recently I designed a small Dreamweaver Website (DW CS2) for
a friend and it is already successfully online. So that my friend
can manage her own website, I`ve decided to prepare this DW site
for use with Contribute, but I'm unsure about the steps involved
and what files I will need to store on the server. Is the following
roughly correct?
Step 1: Define editable regions in these html files and save
these as html files.
Step 2: Enable Contribute Compatibility in DW before I upload
to the server.
Step 3: Is setting up a Connection Key necessary for my
friend`s access?
Step 4: Upload these. Do these completely overwrite the
existing Dreamweaver html files on the server? Or should I be
saving in another file format?
Many thanks to anyone who can advise me!I sugggest these steps:
A: Dreamweaver:
1. build you site based on (a) template(s) with editable
regions
2. upload the website to the server
B: Contribute
1. create a connection
2. administer the website ( and create an admin password )
3. set the proper settings for your users (administrators,
publishers, writers), enable rollbacks
4. create a connection key fot you user with the proper role
and save that to disk
C: Dreamweaver
1. manage the site in dreamweaver
2. enable contribute compatibility (this way files get
checked in and out, so you know who is editing what)
D:
1. Sent the connection key to your user -
Very slow responce when working with Office file on DFS-Share
Very slow responce when working with Office file on DFS-Share
We have implemented the following configuration
Domain level Windows 2000. Two member servers with Windows Server 2008 R2, sharing the same DFS namespace with, at the moment, one folder target called Home.
Users complaining that the access to different MS Office files is very slow. Even creating a new MS Word document using right click context menu takes up to 4 minutes to open. Saving, for example, one singe Excel sheet takes also few minutes.
Tested with both, MS Office 2007 and MS Office 2010. Makes no difference. When using Office 2010 you can see the message like contacting:
\\DomainName\Root\Home\UserName. Other files like TXT, JPG or PDF are not affected.
What makes the thing really weird is the fact, that the behavior described above can absolutely change after client machine being rebooted, suddenly everything becomes very fast and this condition can revert back again just after the next
reboot.
Considerations until now:
1. This has nothing to do with the file size. Even tiny files are affected.
2. AD Sites are configured correctly and the client workstations see themselves in the correct sites.
3. This is not an Office issue. If I map my folder target not as DFS, but directly as shared network drive
\\ServerName\Root\Home\UserName , everything functions as expected
What makes me suspicious: when using f.e. TCPView to monitor connections, I can see, that each time I make any operation on an office file, there will be a connection established to one of the domain controllers, sometimes to remote ones,
located in other countries. But on the other side, even if the connection is established to the nearest DC, operations are still very very slow!
Just forget to say. All clients are Windows 7
Thanks to all who respond.Dear all,
sorry for the delayed reply. The problem has been solved now and since September 19<sup>th</sup>. everything is functioning as expected.
What was done:
Deleted replication targets excepting the initial ones
Carefully recreated folder targets
Deleted and recreated replication groups
Disabled SNP features on both namespace servers
Created EnableTCPA registry entry
Checked that the following Updates are installed
http://support.microsoft.com/kb/2688074
http://support.microsoft.com/kb/2647452
Concering Office File validation KB2553065 - This Update was already declined on our WSUS server
Kind Regards
Eduard
Maybe you are looking for
-
Blank screen showing battery sign with red line - possible solution
Hi to everybody, I had a little issue with my Blackberry curve 8350i, but I think this might go with several models. One day my Blacberry updated an application and restarted, but when restarting suddenly I got a blank screen showing a battery sign w
-
Error 90B - Fan not working properly?
Hello, this is my first time here so please excuse me if I posted this in the wrong section. First, general specs: HP Pavilion dv6 Notebook PC Windows 7 Home Premium 64-Bit BIOS: InsydeH20 Version CCB.03.61.09F.21 Processor: AMD A6-3400M APU w/Rade
-
I already reported this issue to Adobe as a BUG but I want to ask here if somebody else have this problem or can confirm it. Audio breaks/stops and continue playing randomly when 'Ram Previewing' It happens mostly when the RAM is fully filled up with
-
Safari on iBook G4 crashes at start
We have a relatively new iBook (bought in the August last year), that started having problems quite quickly with Safari. When browsing it would suddenly beachball, and crash. This went on sporadically for the last 7 months. Now it won't even start. J
-
RSS Reader Ajax Portlet for Workshop 9.2
Hi, is there any available example of RSS Reader Portlet with Ajax support for Workshop 9.2? Any help is well accepted, thanks, Ben