Dreamweaver cs5 javascript template error
My system is windows 7 64 bit.
Just downloaded 30 Day trial version cs5.5
Dreamweaver works fine (or so i thought) until i needed to "apply" a template for class, thats where the problem comes in. I get an error message telling me that
While executing onLoad in OrphanedContent.htm, the following javascript error(s) occured:
In file "OrphanedContent":
initializedUI is not defined
I desperatly need to find a fix, as it is for a class i must finish. Originally i was using cs5, but because of the time constraint, i went and downloaded the trial version of dreamweaver cs5.5 ( thinking it would be a quick fix for 30days) and i'm still having the same issue. When i go to apply the templet i get the same error. Any help would be greatly appreciated!
Well... i guess i got ahead of my self. It worked while i was in safe mode.
I went back to "normal" and the problem started happening again....
I restarted dreamweaver and it allowed me to apply the template with no errors ( it applied it wrong, but the javascript error was no longer there ).
So restarted dreamweaver and havent gotten it to work since. I've been trying for an hour since my new " its fixed".
I'm really not sure why, the trial i downloaded today wouldnt work.
I will try again tomorrow in safe mode (ALL STEPS AGAIN) ... and see what happens
I'm actually in a class titled "Dreamweaver cs5 intermediate", and this one lesson is on templates...if i can just get it to work for 5more mins. I can complete this lesson and hope the rest of the clase wont deal with that aspect!
Problem NOT resolved!
Similar Messages
-
Dreamweaver CS5.5 template PHP file path bug
I have a template that I am using for my website, it is a PHP template and for some reason whenever I have some links within the PHP code blocks that include other .php files. My code is:
<?php
//Code In template
include('../scripts/MySqlConnection.php');
include('../scripts/login.php');
?>
The code is just including some files, but when I update all the pages that use this Template they dont put the right links on them, like so:
<?php
//Code That Appears On Child Page
include('scripts/MySqlConnection.php');
include('../scripts/login.php');
?>
For some reason the first link is correct since this document is in the root of the site instead of in the Templates folder like my template is, but the second "include" statement has the wrong link inside of it. Even if I switch them around its always the very first include statement that is correct and the 2nd is always wrong.
Also the links are all relative to the document and not site root in the "Manage Sites..." dialog.
Is there anyway to fix this? I heard that this was a quirk/bug in Dreamweaver 8 or something but is it still not fixed in this version?
ThanksYes I guess that I am gonna have to use one of those solutions, but it still is weird that this is happening within the code though. I found one thread where the solution was to put the include tags into a seperate PHP block like this:
//Template
<?php include('../scripts/MySqlConnection.php'); ?>
<?php include('../scripts/login.php'); ?>
And it actually outputted the correct links on the child page which is really weird but this was from like Dreamweaver 8 or MX or something because the thread was from like 2007 which is weird that they hadn't fixed this bug yet considering its 2012 and Dreamweaver CS5.5 still has the bug. -
Dreamweaver CS5.5 Database Error
Hi all,
I'm trying to view an index.php file within the Preview in Dreamweaver cs5.5 but I keep getting the same error:
Regards
PaulThis thread has been moved to the "Developing server-side applications in Dreamweaver" forum.
That's a WordPress site that you're trying to view. You can load a WordPress site only through the index.php file in the site root. There are many files in WordPress that use the name index.php. Are you accessing the correct one? Also, have you defined the site correctly in Dreamweaver?
Can you view the WordPress site normally in your localhost by loading the index.php page directly into a browser? -
Dreamweaver CS5.5 Template - Main menu button not going to correct page link
Hi,
Please help me, as i am new to Adobe Dreamweaver.
I created a website in Dreamweaver CS3, then recently changed to CS5.5, firstly i couldn't get the templates to update, but by playing around i managed to get the template up update all the pages. #
I am now having problems when i click on the link in the website, it seems to be looking in the templates folder for the html page.
Website addrerss: www.malegroominglounge.co.uk
Pages that i am having problems with when i click in the menu buttons : Male Waxing, Contact Us & Find us,
This is sometimes working but most of the time comes up with: 'Page cannot be found' and when looking at the URL it is e.g http://www.malegroominglounge.co.uk/Templates/malewaxing.html
Why is it looking at the templates folder?
I have checked the template file in menu url and it has not got an extension to look in the 'templates' folder.
Could someone please help?Hi
Thanks for your investigation.
Yes i can now see on the source that it is using the templates folder e.g (www.malegroominglounge.co.uk/templates/findus.html), but when I go into dreamweaver template, the code i see is:
<div id="sidebar1">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="index.html" class=" style1 style21">Home</a> </li>
<li><a href="aboutus.html" class="style35">About Us</a></li>
<li><a href="malewaxing.html" class="style35">Male Waxing</a> </li>
<li><a href="malemassage.html" class="style35">Male Massage</a></li>
<li><a href="manicure&pedicure.html" class="style35">Male Manicure & Pedicure</a></li>
<li><a href="facials.html" class="style35">Male Facials</a></li>
<li><a href="feedback.html" class="style35">Contact Us</a></li>
<li><a href="findus.html" class="style35">Find Us</a></li>
<p> </p>
<li><img src="holisticguild300.jpg" width="130" height="46" hspace="3" /></li>
</ul>
So not sure what i'm doing wrong.
Can I just check that the 'Don't rewrite relative document paths' check box should be unticked (this is found in DW CS5.5 - Site - Manage Site - Edit - Advanced Settings - Templates)
Any help much appreciated
Cheers -
Dreamweaver CS5 XML Parsing Error
Hi All,
I keep having to delete my workspace XML file to get Dreamweaver to start up, getting a little tedious now as it keeps happening. Anyone know of a permanent fix? or at least heard of this problem happening reguarly?
Thanks,
TrevorHello Trevor,
Kindly try with deleting the entire Configuration folder. The Configuration folder will be re-created when you run Dreamweaver after deletion.
If the problem still persists, you can report the same to Adobe Dreamweaver team at the following URL by providing information like, is there a Crash report generated or any specific steps/actions resulting in the coruption of the workspace XML.
URL: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Regards,
Yalpi Shiva Prasad
Adobe Dreamweaver team
Adobe Systems Incorporated. -
Dreamweaver CS5 - Update Template Files after viewing the page in a browser
Hi
Just a quickie I hope someone can help me with.
My site has been created using a Template. Everytime I look at a page in a browser, I get the UPDATE TEMPLATE FILES. Clicking update or don't update has no effect so I'm wondering why this message keeps appearing and how to stop it. I usually use Firefox on Windows 7 but it seems to happen with any browser.
Any suggestions?
Many thanks GeorgeHi Murray
This is erratic. I don't get it all the time but enough of the time for it to be an annoyance. If I've made a change to content in DW then chosen the Preview in Browser option then exited the browser to return to DW, the alert appears. And it has happened to my delegates in training sessions when they have repeated the same process but with IE.
As I said, it doesn't happen all of the time - we seem to get a run of it then nothing. For example, I was plagued with it all day yesterday but it hasn't occurred once today!!!
Anyway I have temporarily published the site and here is the link - http://www.gbft.co.uk/orchestra/index.html.
Many thanks
George -
Dreamweaver CS5 errors while moving files
Hi. I tried moving image files from one folder in my Dreamweaver CS5 site to another (from within Dreamweaver) and it threw the following errors about 3 or 4 times for each file. Any ideas what's going on?
Dreamweaver
While executing onLoad in tempURL_afterSave.htm, the following JavaScript error(s) occurred:
At line 4309 of file "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\Configuration\Shared\Common\Scripts\dwscripts.js":
out of memory
At line 4309 of file "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\Configuration\Shared\Common\Scripts\dwscripts.js":
out of memory
OK
Dreamweaver
While executing canInspectSelection in spry_widget.htm, a JavaScript error occurred.
OKDelete your cache file
http://forums.adobe.com/message/2260933#2260933
Brad Lawryk
Adobe Community Professional: Dreamweaver
Northern British Columbia Adobe Usergroup: Manager
My Adobe Blog: http://blog.lawryk.com -
Problem playing an imported flash template in dreamweaver cs5
hi,i just downloaded a flash template from flashmo.com and imported it to dreamweaver cs5 through Insert > media > SWF and it loaded. but the problem is, when i click the live view or play the file in the properties,nothing shows up.except some texts "loading XML data..."
all the flash templates i have downloaded face this prob. i have no idea where is the mistake.
what could be the problem?any help,plz.From their website:
" Adobe Flash (version 8 or higher) is required to edit the
FLA file.
- Use the source codes at your own risk after downloading and
flashmo.com is
not responsible for any bugs or errors caused by
ActionScripts."
Do you own Flash? Are you familliar with action scripts? If
not, then you
probably want to start with a plain html template and learn
how to code html
and CSS. Flash sites look nice but they are not friendly for
Search Engines
or users who don't have flash player installed on their
system.
Here are some on-line tutorials to help you get started with
html and CSS
code:
www.w3schools.com (free)
www.Lynda.com (pay videos)
Adobe help - "Getting Started"
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"jdbcmcbride" <[email protected]> wrote in
message
news:ftr2vf$i4q$[email protected]..
> I am a first-time user of DreamWeaver and am currently
learning how to
build a
> website with the Adobe HTML article that they have.
However, I found a
flash
> template that I downloaded as it is exactly what I want
to use for my
website.
> My problem is, I don't know how to make it work.
>
> The template is located at
http://www.flashmo.com/home
and it is the one
on
> page 5 called "037 Wooden". If anyone can tell me what
to do to get this
to be
> my website, I would really appreciate it.
> -
Dreamweaver CS5 Errors, translators were not loaded Please Help!
Hi,
Recently my computer had problems, I had to install Windows7 instead of Windows Vista.
whenever I open "Dreamweaver CS5", I have this pop-up error message:
The following translators were not loaded due to errors:
ASP.htm: has configuration information that is invalid.
ICERegions.htm: has configuration information that is invalid.
SpryWidget.htm:has configuration information that is invalid.
and whenever I try to open any html file for editing or saving with "Dreamweaver CS5". I have this pop-up error message:
While executing onLoad in _beforeSave.htm, the following JavaScript error(s) occurred:
In file "_beforeSave";
beforeSave is not defined
It irritatingly pop-up and i can't work.
Any help will be greatly appreciated.
AliceHave you tried anything from here: Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
-
Hello!
I am working on new website we are creating for our company. I have never really had any Dreamweaver template file errors before...so this one has me really stumped! We purchased the site files from Template Monster and I have contacted their tech support, but I have not had much luck with them.
I started out by creating the Dreamweaver template folder that includes the template files that I would like to use. I started creating some pages using the template. I placed all the html pages in the main folder of the website. When I go to update the template to those pages I get the following error: "Error reading file (Site Location\Folder name\Dreamweaver template name) returned incomplete data".
I am not sure what I am doing wrong. Any help and advice would be greatly appreciated!
The site is a CSS based site with a Flash navigation menu. Since it is in the production phase, I do not yet have it placed on a server so you can take a look at it at this time (although if really needed and we cannot find an answer, I may be able to get the test site on line - if someone thinks they can help me answer this problem by viewing the site). Right now the site is housed in the same place we house all of the other sites we have produced and all of our other templates on our other websites work just fine. The main difference with this site is that we did purchase files from Template Monster to help speed us along during the construction of the page structures and also this site has a Flash Navigation Menu and a few other Flash elements (something our other sites do not really have).
I am using Abobe Dreamweaver CS5 and Windows 7
Thanks again for taking the time to help find and answer to this problem!
-JI am curious as to why no one likes them around here.
They have spammed these forums in the past.
The code on their pages is rarely 'best-practice' code.
There are much better choices available.
My co-worker and I have to share the files, since we are editing the site together. The files are not local on our computers, but on the company's f drive that have Novell on it.
This arrangement is a recipe for disaster. The correct way to collaborate on a site with a colleague is with the following setup:
Each of you must have a LOCAL site (local to your workstation)
You would use a single remote location as a staging area, so each of you would have a site definition that specifies your own workstation for the local site, and the same network shared location as the Remote site
You will both need to enable Check In/ Check Out
You will both have to agree to PLAY BY THE RULES!
One (or both) of you will also need to have a second site defined that has the staging server as the local root folder, and would have the PRODUCTION server as the remote site. I'll explain how to use this site soon.
When you use CI/CO, your 'gold-standard files' are on the staging server. To begin working, you would connect to the staging server, and double click on a file, which will a) fetch the file from the staging server to your local site, and b) CHECK OUT the file to you. As long as you have the file checked out, it cannot be edited by your colleague. When you are done with your edit, you would CHECK IN the file (which uploads it to the staging server). It can now be edited by your colleague.
When you add templates to this scenario, things get even more complicated, although manageable. If you ever need to make a change to a template you must use the following procedure:
ALL FILES MUST BE CHECKED IN - this includes both you and your colleague.
One of you would connect with the SECOND SITE, open and edit the template, and save it propagating the changes to all "LOCAL" files (i.e., on the staging server).
Each of you would then need to return to the FIRST SITE, and again check out any files you want to work on.
When changes are done, and files are ready to publish, connect to the SECOND SITE, and upload the files from STAGING to PRODUCTION.
Does that make sense? It's important that it does.
I need to add in one more tab/link to the Flash nav bar.
Using Flash for navigation is a VERY POOR CHOICE, unless you also have redundant, text-based navigation on the pages. By using Flash to navigate, you guarantee: a) your pages will not be spiderable by search engines, b) your pages will not be navigable by iPlatforms, and c) your pages will be inaccessible to anyone browsing with screen assistive devices. Someone is making bad decisions about this site, in my opinion. -
Dreamweaver CS5.5 Error on Quitting - Mac OSX 10.6.8
Hi everyone!
I am geeting the following javascript type of error ( see image attached ) when I exit or quit Dreamweaver CS5.5 on Mac OSX 10.6.8.
Any ideas on why this is happening? This is the first time this happens to me.
Thank you in advance for your help!Start with steps 12 & 4 and then go through the rest if necessary:
http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html -
Dreamweaver and Javascript error only on one site
I receive the following error when trying to select recently modified files from the files panel.
While executing onClick in SelectRecentlyModified.html, the following JavaScript error(s) occurred:
At line 370 of file "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\Configuration\Menus\MM\SelectRecentlyModified.js": DWfile.getAttributes(listItem) has no properties
I have 4 sites built in DW and only one site is giving this error. After many days of searching the web and trying the few steps I can find on the web related to this error I still have not resolved it.
I am using CS5 Suite, Win XP, have IE7 and Firefox but my default brower is Firefox.I've now tried that command on multiple sites, including brand new ones I created solely for testing purposes. I also tested it on the same site files on my testing server and in my Subversion repository. I got the same error message every time. This leads me to believe the problem is with the script itself. I would really like to be able to use this feeature.
In addition, the Dreamweaver Help for this feature (copied below) suggests I should be seeing options in this feature's dialog box that I'm not seeing:
Find recently modified files in your site
In the collapsed Files panel (Window > Files), click the Options menu in the upper-right corner of the Files panel, and then select Edit > Select Recently Modified.
Do one of the following to indicate search dates for the report:
To report on all files modified in the last several days, select Files Created or Modified in the Last and enter a number in the box.
To report on all files modified within a specific time frame, click the Files Created or Modified in the Between radio button, then specify a date range.
(Optional) Enter a user name in the Modified By box to limit your search to files modified by a specific user between the dates you indicated.Note: This option is only available for reports on Contribute sites.
Select a radio button to indicate where you want to view files listed in the report, if necessary:
Local Machine
if the site contains static pages.
Testing Server
if the site contains dynamic pages.Note: This option assumes you defined a Testing Server in the Site Definition dialog box (XREF). If you have not defined a Testing Server and entered a URL prefix for that server, or if you are running the report for more than one site, this option is not available.
Other Location
if you want to enter a path in the text box.
Click OK to save your settings.Dreamweaver highlights the files that were modified within the selected time frame in the Files panel.
I have set up a testing server for the site (I'm running Apache on my local Mac), and it works. Yet I do not see any option in the dialog box to indicate that I can view the files in a different location. But it's a moot point since I can't view them in any location due to the javascript error.
Adobe, please advise. -
I am unable to run Dreamweaver CS5.5, all of a sudden. I get 'error 1' - looks to be a configuration error. Please help!
Hi Xuxy,
Welcome to Adobe forums. Can you try this solution?
http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html# main_user_config
Thanks,
Preran -
Error 2 upon opening Dreamweaver CS5 - is OS X Lion to blame?
I'm a licensed user of the CS5 Web Premium platform for the Macintosh computer.
I recently upgraded to Lion (OS 10.7.x), and since then I've been unable to open Dreamweaver without having the following screen pop up:
Error: unable to open .../.../Dreamweaver/Extensions/xxx.js (error 2)
Trying to get live view to work isn't possible either. Any solutions or workarounds?Essence of Imagery wrote:
Unfortunately, my OS system doesn't have the extensions, or the pathway to the files that need to be checked out.
The info in that link gives info for both Mac OSX and Windows.
Forum regulars often provide that link to both Mac and Windows users who are encountering Javascript errors in Dreamweaver (as you are).
If your Library folder is hidden, see http://reviews.cnet.com/8301-13727_7-20082044-263/os-x-lion-where-did-my-library-go/
Step 12
Max OSX paths
On Mac OS
Quit Dreamweaver
In the Mac Finder, browse to the following folder:
/Users/[username]/Library/Application Support/Adobe/Dreamweaver CS4 [or CS5]/[language]/Configuration
Step 4
Dreamweaver CS5: /Users/Your User Name/Library/Application Support/Adobe/Dreamweaver CS5/[language]/Configuration -
Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5
imac 2.66 Ghz, Intel Core i5, OS 10.6.4.
Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5:
Adobe Air
the installation of this app is damaged. Try re-installing or contacting the publisher for assistance.
Tried several times to uninstall and reinstall from fresh download to no avail.
I'm finding the instructions in the trouble shooting area a tad esoteric.
Will there be an update to the installer released soon?Hi,
I'm assuming your having troubles installing the 2.0.3 runtime? If so, can you please try the instructions in this post?
Thanks,
Chris
Maybe you are looking for
-
Ipod Nano does not appear in Itunes source
Hi all I have an Ipod Nano and an Ibook, however when i plug my Nano into my Ibook it will not appear in the source menu in Itunes, but the nano does appear on my desktop. I am using Itunes Version 1.1.2, do i need to up grade my Itunes before it wil
-
Itunes has encountered an error & needs to close
I keep getting the above message when trying to open itunes. Have tried uninstalling and reinstalling itunes & quicktime without sucess. Also tried going back to various restore points that I know itunes worked ok. My spyware (adaware) and anti-virus
-
While using email why won't the cursor drop down into the compose area of the email
While using my default browser firefox, I am unable to type in the "compose" section. I can type the address I want to send to and the subject but after that my cursor will not show up in the compose section. The cursor just will not go there. If I c
-
Decoding BLOB data from Adapter engine Java Stack
Hi, I am able to gain access to Java stack schema. I am pulling out AUDIT_DATA field from BC_MSG_AUDIT. This is a BLOB format data piece. Is this Data stored in any specific encoding? or a normal UTF-8 string conversion will work? Cheers, Earlence
-
How can I have message delivery for Iphone ios7.1
How can I have message delivery for Iphone ios7.1