Why always do an on line 31 syntax error when I try to add a facebook script?

I am building a site and everything is fine until I have add the Javascript SDK on the facebook developers site.  I want that people can click on the 'Like' button on my site.  Here is the code for the script of facebook:

< div id = 'fb-root' > < / div >

< script > (function (d, s, id) {})

var js, SJF = d.getElementsByTagName (s) [0];

If (d.getElementById (id)) return;

js = d.createElement (s); js.ID = id;

js. SRC = "//connect.facebook.net/en_US/all.js#xfbml=1 & 354964021248309 = appId;

fjs.parentNode.insertBefore (js, SJF);

(} (document, 'script', 'facebook-jssdk')); < /script >

Before I add this script, everything is good about it, but once I add it, I get an error saying that there is a syntax to line 31 error: Code indicators may not work until correct you this error.  ... and the only thing on line 31 is the < / style > tag... anyone have an idea?  I've included a screenshot of the problem... I hope it helpsDSCF4925.jpg

She complains because you're Spry script link in the header to self-closing

He gets rid of the error.

DISCLAIMER: I do not use Spry, I don't know if that will affect your menu features.

Tags: Dreamweaver

Similar Questions

  • Get the syntax error when you try to reproduce in the auxiliary database

    I get the following error message when you try to duplicate an instance:

    D:\ > rman target sys/xxx@hr3 rmancat/xxx@rman AUXILIARY catalogue.

    Recovery Manager: release 9.2.0.7.0 - Production

    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

    connected to target database: HR3 (DBID = 3470722132)
    connected to the recovery catalog database
    connected to the auxiliary database: CLONE (unassembled)

    RMAN > DATABASE of TARGET in DOUBLES at THE CLONE until TIME ' TO_DATE (February 24, 2011 0:00:06).
    (0 ',' JJ-MM-AAAA HH24:MI:SS') ".

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01005: syntax error: found 'clone': expected an a: 'double-quoted-string '.
    identifier, single-quoted-string ".
    RMAN-01007: 30 line 1 column file: entry standard

    Is it because I named the cloned database "CLONE", and that is a reserved word for Oracle, or is this something else that I missed?

    Thanks for any response...
    / Ronny

    Hello

    Is it because I named the cloned database "CLONE", and that is a reserved word for Oracle, or is this something else that I missed?

    Fix this error related to the keyword.
    You can run into a new problem in function if your configuration is incorrect.
    (backup items available on the clone host, file systems, settings etc..)
    Rgds,
    Tycho

  • BlackBerry smartphones why this message? selected server returned an error when you try to respond to your request

    my yahoo email use for 2 months, but yesterday it wouldn't let me connect.

    It pops up the message: selected server returned an error during attemptingt to meet your demand.

    I tried to google and find this error without real success. people did not know or were very technicdal.

    all other sites are fine, just can not access my yahoo email.

    TIA

    Hello!

    Try to connect after you connect your WiFi device.

    I hope that solves your problem!

    If your problem has been resolved then would you be asked to click 'Like' and accept as a 'Solution' that other advisors invest it times on this Message more.

    Thank you.

  • another line 1: syntax error, help

    line 1: syntax error when trying to boot win xp pro.

    I use fusion 2.0.6.

    I have archived 4 log files and the vmx file

    Thank you.

    The attached file "Windows_XP_Professional.vmx.zip" contains a new "Windows XP Professional.vmx" file created from the supplied vmware.log file.

    With VMware Fusion closed, unzip (double-click on) attached file "Windows_XP_Professional.vmx.zip" and replace the file "Windows XP Professional.vmx" original by one here.

  • Why do I have microsoft visual c ++ runtime error when I tried to install my hp printer

    Why do I have microsoft visal c++ runtime error when I try o install my hp printer cd

    Hello
    1 did you change on your computer before this problem?
    2. What is the brand and model of your computer?

    3. What is the exact error message?
    Follow the suggestions and see if it helps.

    Method 1
    You can see the article mentioned below.

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Method 2
    You can follow the procedure in the article.
    What is a runtime error?
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-a-runtime-error

    You can also see the article for more information.
    Add or remove a printer
    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-a-printer

    Find and install printer drivers
    http://Windows.Microsoft.com/en-us/Windows-Vista/find-and-install-printer-drivers

  • Microsoft visual C++ 2005 SP1 Redistributable Package (x 86) Command line option syntax error.

    Original title:

    Microsoft visual C++ 2005 SP1 Redistributable Package (x 86)

    When installing AutoCAD 2012 to my freshly installed Windows 7, I get the error:

    Microsoft visual C++ 2005 SP1 Redistributable Package (x 86)

    Command line option syntax error.

    I'm working on Lenovo laptop, with x 32-System.

    Please, try to solve this problem with me.

    Hello

    Sorry for the delay in response.

    If you are still having this problem then you can take a look at the following link and check if that helps.

    https://support.Microsoft.com/kb/952211?WA=wsignin1.0

    If you need help you can also post your question here:

    https://social.msdn.Microsoft.com/forums/vstudio/en-us/home

    Thank you.

  • I get an error message saying: "command line option syntax error. Type the command /? assistance. "

    I'm running Windows 8 preloaded on Sony Vaio and when I try to install the latest update for Atheros Bluetooth Driver Quelcomm, I get an error message saying: "command line option syntax error. Type the command /? assistance. "

    Help, please!

    I followed your instructions, I did not read the comments below first, I change the TEMP and TMP to C:\Temp, it's ok to forget it or do I needed to switch back? But I forgot to copy the original. If I need to change it back, can give me the original code to stick it on the TEMP and TMP, I use Sony Vaio sve14128cb WIN 8.1. Thank you for helping me.

    Dear all,

    I got other way to solve this problem, and it was mentioned by Mr. Vijin.

    If I'm not mistaken, the error message will be show after you go to update your driver Qualcomm Atheros Bluetooth Vaio update version.

    My way is very simple and maybe you can give it a try. Just go to the Google Web site and key in the version that you want to update. Please select the site Web is Sony's main page.

    Or you can visit the official site of Sony for your country, go to 'Support' and key in the version on the area of research and research.

    You can try link below also but I bother it's a newer version for your computer.

    http://www.Sony.com.SG/support/download/554324

  • Free ghettoVCB.sh u3 ESXi 4.1: line 836: syntax error: bad substitution

    I can't ghettoVCB.sh to run on free ESXi v4.1.

    Copied the .sh and .conf files in/ghettoVCB-master.  When I get home. /ghettoVCB.sh I get:

    ghettoVCB.sh: line 836: syntax error: bad substitution

    If I try/bin/ash ghettoVCB.sh I get exactly the same thing.

    The execute bit is set:

    / ghettoVCB-Master # ls-l

    -rw - 1 root root 1140 15:37 README.md Nov 6

    -rwx - x - x 1 root root 17555 6 Nov 15:37 ghettoVCB - restore.sh

    -rw - 1 root root 747 6 Nov 15:43 ghettoVCB.conf

    -rwx - x - x 1 root root 64593 6 Nov 16:23 ghettoVCB.sh

    -rw - r - r - 1 root root 11 Nov 6 15:39 vms_to_backup

    I do not see a log ghettoVCB file in / tmp.

    How can I solve this please?

    In case someone else gets the same problem - I finally worked it out.  ESXi 4.1 update 3 do not have the latest version of ghettoVCB.sh.  I guess the version of bash in the console busybox is old and does not support the syntax of some of the improvements made to the script.

    I managed to get an older version of the MKSbackup script and it works fine.

  • Windows 7 VM is corrupt. line 1 syntax error. Help, please

    Hello

    My host Mac crashed and took my Windows 7 VM with it. Now, it does not start. I get the 1 line .vmx syntax error. I saw messages regarding a similar issue. I saw a link to a file vmxrecover.pl. However, I do know how to run that, or how to use it. My archive.zip file is attached.

    The machine is Windows 7 64 bit.

    Thanks in advanced for the help!

    The attached file "AlberickWin7.vmx.zip" contains a new "AlberickWin7.vmx" file created from the supplied vmware.log file.

    With VMware Fusion closed, unzip (double-click on) attached file "AlberickWin7.vmx.zip" and replace the file "AlberickWin7.vmx" original with that here.

  • Line 1 syntax error display

    My windows will not open in fusion, as it says... Virtual Machines.localized/Windows XP Home Edition.vmwarevm/Windows XP Home Edition.vmx"line 1: syntax error.

    Can anyone help?

    Please

    The attached file "Windows_XP_Home_Edition.vmx.zip" contains a new "Windows XP Home Edition.vmx" file created from the supplied vmware.log file.

    With VMware Fusion closed unzip the file (double-click on) joint "Windows_XP_Home_Edition.vmx.zip" and replace the file "Windows XP Home Edition.vmx" original by one here.

  • When you try to add a network route with the "route add" command in the command line, I get the message "the requested operation requires a rise."

    Elevation required to route add command

    When you try to add a network route with the "route add" command in the command line, I get the message "the requested operation requires a rise."  What is the correct syntax to use?

    You can watch using the PowerShell...

    http://TechNet.Microsoft.com/en-us/library/bb978526.aspx

    http://TechNet.Microsoft.com/en-us/scriptcenter/dd742419.aspx

    .. .and post questions about Windows PowerShell forum...

    http://social.technet.Microsoft.com/forums/en/winserverpowershell/threads

  • Why favorites are not included as in the Finder, when I try to open and send a file with safari?

    Why favorites are not included as in the Finder, when I try to open and send a file with safari?

    Here is safari (cmd + O)

    and that's with the Finder:

    before macOSX 10.11.4 it was exactly the sames windows...

    How can I change on Safari and Chrome?

    Thank you very much and excuse me if my English is not very good.

    If you go to Finder > Preferences > sidebar , you will see there is no option for Safari > bookmarks, but you can send a link from Safari.

    In your Safari menu bar, click file > share > Email.

    For Chrome, you may need to use a Goole Chrome for sharing.

  • Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    The active x bar descends into the small window and freezes all windows open right there and will not respond. This happens when I open a new message and try to attach photos.

    Things I tried but has not made a difference:

    reinstalled IE 8, deleted the history of the browser, disk Cleanup, removed msn photo upload control, optimized IE8

    With xp media center

    PS. This occurs also at any time the information down to install an active x on any site control

    The only way to surf now with frustration is to use IE 8 NOT add optional

    So I fixed that on my own and that's how I did it.

    You must uninstall IE 8 completely which will bring you to IE 7 (in my case) and then install IE 8 via the site updates or microsoft.

    Uninstallin IE 8 by going to:

    Start--->

    Control Panel--->

    Add Remove programs--->

    Scroll down to IE 8--->

    Click on delete.

    IE8 updates must be removed also, if not then click the box 'To see the updates' on the top of the window to scroll down, look for the IE 8 security updates and delete.

    Resart your computer and install IE 8.

    This worked for me and may or may not work for you.

  • Why do I get access denied error when I try to connect to the printer?

    * Original title: Please help me

    Why do I get access denied error when I try to connect to the printer?

    Hello

    Try right-clicking on the printer software when installing it and select run as administrator.

    See you soon.

  • When I add text to an image that starts as a RAW file, I have no problem. When I try to add text to an image that is only a jpg file, the size of the text is extremely low. Even when I change the the font size to 72 pt, it is always small. How can I fix i

    When I add text to an image that starts as a RAW file, I have no problem. When I try to add text to an image that is only a jpg file, the size of the text is extremely low. Even when I change the the font size to 72 pt, it is always small. How can I fix it?

    You set the font size to a size that is suitable for the size of the document.   Size of the document may vary everywhere.   To resolve this problem in action, I solved in scaling the document to a known size then use a font suitable for a document of this size.  When you resize an image using size with resample Images not only checked a single pixel is change everything that is changed is the DPI image resolution setting.  So if you size a picture 8 "wide you choose a font size is good for wide image 8" the Save action.  To work around the problem of changing the size of the printing I wrote a Script to use in such an action.  The script is used twice, there is a backup and restore script.   The first time that the script is used the script records the resolution DPI images in the metadata documents.  The second time that the script is executed, it retrieves the registered PID parameter deletes the record of metadata from images and set the DPI images that had been saved.    If the use of fonts for the document 8 "will be resized to fit the print original size.

    In a script, you can calculate a correct font size to use.  Actions cannot retrieve information or use logic. They need to use the Plug-ing and Script where logic is needed.  When you make using Photoshop UI you use your eyes and brain.

    Package of shares of crafts UPDATE August 10, 2014 added conditional measures Action Palette tips.
    Contains

    Example of
    Download

Maybe you are looking for

  • Apple's music is better than Spotify Premium?

    I was wondering because I'm trying to decide which one to buy! < 3

  • Pavilion x 2 detachable 10-n123: cable USB of Type C on Pavilion X 2 detachable

    I bought a cable USB of Type C on Amazon to use with my Pavilion x 2. When I plugged the end of type A into a charger that I and the end of Type C in the 2 x led light white next to the USB port on the x 2 briefly flashed on and off.  When I plugged

  • Cannot find drivers for Satellite C50-A-1DV 8.1 Win

    Hello. I reinstalled windows 8.1 from Disc I have, but I'm having driver problems, namely find some support pilot on the Toshiba site. It seems that my phone is not listed, or I can't find it in the support section for drivers. The drivers so that I

  • Satellite P300 - how to open a stuck DVD player?

    The DVD on my Satellite P300 drive just decided that she does not want to open. I tried to use a paper clip in the small hole next to the button, but that does not work either. The LED on the drive just flashes. Someone at - it other ideas. Thank you

  • 301742

    I use the USB-8451 to communicate with the chip ISL25700 through LabVIEW. The ISL2570 uses the I2C interface. I'm reading the chip using the general reading code provided with the interface. I get the error code 301742. The address of the device that