Cant edit syntax error, please help!

New to dreamweaver and intergrating a wordpress blog into my site and I got a syntax error. The problem and question is how do i fix the error. Everytime i try to edit it or delete something the program dosent let me. Any help would be greatly appreciated. Below you will see i marked line 55 below.
<?php
* The main template file.
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
* @package WordPress
* @subpackage Twenty_Eleven
get_header(); ?>
<div id="wrapper">
  <div id="main_content"><!-- InstanceBeginEditable name="Page Title" -->
    <div id="maincontent_heading">
      <h2>Page Title</h2>
    </div>
  <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="content" -->
  <div id="content"><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time('F jS, Y') ?> <!– by <?php the_author() ?> –></small>
<div>
<?php the_content('Read the rest of this entry &raquo;'); ?>
</div>
<p><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', ", ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
</div>
<?php endwhile; ?>
<div>
<div><?php next_posts_link('&laquo; Older Entries') ?></div>
<div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
</div>
<?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
<?php endif; ?>
</div>
  <!-- InstanceEndEditable --></div>
  <div id="sponsors_bar">      -----------------> this is the line its calling a syntax error
    <div id="sponsor_heading">
      <h3>Sponsors</h3>
    </div>
    Logos go here </div></div>
</div>
<?php get_footer(); ?>

hi,
thanks, i have done it, it is my orIginal bean
package sources.bean;
import javax.faces.model.*;
import javax.faces.context.*;
import java.util.*;
public class LIC3330 {
     private SelectItem[] catItem;
     private String[] ramoCode;
     private int currentCat;
     final String USER = "aspnet4sql";
     final String PASSWORD = "sql2aspnet";
     public LIC3330() {
          FacesContext context = FacesContext.getCurrentInstance();
          ExternalContext app = context.getExternalContext();
          Map sessionMap = app.getSessionMap();
          Map ramoNameMap = (Map) sessionMap.get("ramoNameMap");
          Vector ramoCodeVec = (Vector) sessionMap.get("ramoCodeVec");
          catItem = new SelectItem[ramoNameMap.size()];
          ramoCode = new String[ramoNameMap.size()];
          for (int i = 0; i < ramoNameMap.size(); i++) {
               String ramoName = (String) ramoNameMap.get(ramoCodeVec.get(i));
               String rc = (String) ramoCodeVec.get(i);
               ramoCode[i] = rc;
               catItem[i] = new SelectItem(i, ramoName);
     public int getCurrentCat() {
          return currentCat;
     public void setCurrentCat(int currentCat) {
          this.currentCat = currentCat;
     public SelectItem[] getCatItem() {
          return catItem;
and the constructor is sure work, coz i use in the other bean, it work well, although i remove the constructor here, it show me an empty page without any error message. i'm really doubt of it.
emmy.ma

Similar Messages

  • URL object syntax error - please help!

    Hi,
    I am trying to add sound to my applets, i am using the URL object and declared an new object called mysong etc... Java compiler is not letting me assign url vale to my object "mysong" code is below for reference:
    <b>code:</b>
    // Use the absolute URL of the sound file
    URL oursong = new URL;
    oursong = "http://www.servername.net/media/sound.mp3";                                    
    AudioClip a = getAudioClip(oursong);<b>error desc:</b>
    /tmp/4230/spaceinvader.java:186: '(' or '[' expected
                                            URL oursong = new URL;
                                                                 ^whats the correct syntax for what im trying to do? - Thank you very much...

    oh, just to clarify some more. I tried doing this change to the source:
    URL oursong = new URL("songname.mp3");
    well this time i got this error:
    /tmp/8154/spaceinvader.java:186: unreported exception java.net.MalformedURLException; must be caught or declared to be thrown
                                            URL oursong = new URL("songname.mp3");

  • Cant find the error, please help

    Hi, everyone,
    My environment, is eclipse3.2.1 Tomcat5.5 JSF 1.1, everything seen working well until I change a property in my bean (let called �LIC3310�). I have an array of selectItem(let called �catItem�) in the bean gonna use
    <f:selectItems value=#{LIC3310.catItem}>
    to output it. In this array, I use integer as its itemValue (before, I use a String as its itemValue, but now I want to change it to integer and I have change all the getter and setter as well) and a String as its itemLabel. I put followed code in my page
    <h:selectOneMenu value="#{LIC3330.currentCat}">
    <f:selectItems value="#{LIC3330.catItem}"/>
    </h:selectOneMenu>
    I�m sure embedded this code between view tag and form tag.
    <f: view> <h:form> <--! Code is here --></h:form></f:view>
    But when I load into this page, it didn�t show me anything, and when I try to reload it, It show me some error messages as below:
    javax.servlet.ServletException: Cannot get value for expression '#{LIC3330.currentCat}'
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
         org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)
    root cause
    javax.faces.el.EvaluationException: Cannot get value for expression '#{LIC3330.currentCat}'
         org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
         javax.faces.component.UIOutput.getValue(UIOutput.java:77)
         javax.faces.component.UIInput.validate(UIInput.java:357)
         javax.faces.component.UIInput.processValidators(UIInput.java:183)
         javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
         javax.faces.component.UIForm.processValidators(UIForm.java:70)
         javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
         javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:146)
         org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:262)
         org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
         org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)
    This problem is annoying me serial days I �m so appreciated if anyone can help.
    thank you so much,
    emmy.ma

    hi,
    thanks, i have done it, it is my orIginal bean
    package sources.bean;
    import javax.faces.model.*;
    import javax.faces.context.*;
    import java.util.*;
    public class LIC3330 {
         private SelectItem[] catItem;
         private String[] ramoCode;
         private int currentCat;
         final String USER = "aspnet4sql";
         final String PASSWORD = "sql2aspnet";
         public LIC3330() {
              FacesContext context = FacesContext.getCurrentInstance();
              ExternalContext app = context.getExternalContext();
              Map sessionMap = app.getSessionMap();
              Map ramoNameMap = (Map) sessionMap.get("ramoNameMap");
              Vector ramoCodeVec = (Vector) sessionMap.get("ramoCodeVec");
              catItem = new SelectItem[ramoNameMap.size()];
              ramoCode = new String[ramoNameMap.size()];
              for (int i = 0; i < ramoNameMap.size(); i++) {
                   String ramoName = (String) ramoNameMap.get(ramoCodeVec.get(i));
                   String rc = (String) ramoCodeVec.get(i);
                   ramoCode[i] = rc;
                   catItem[i] = new SelectItem(i, ramoName);
         public int getCurrentCat() {
              return currentCat;
         public void setCurrentCat(int currentCat) {
              this.currentCat = currentCat;
         public SelectItem[] getCatItem() {
              return catItem;
    and the constructor is sure work, coz i use in the other bean, it work well, although i remove the constructor here, it show me an empty page without any error message. i'm really doubt of it.
    emmy.ma

  • HT201442 I did this but still i am getting the same error , please help me .

    I did this but still i am getting the same error , please help me .
    <Email Edited by Host>

    Look at http://support.apple.com/kb/ts4451
     Cheers, Tom

  • I cant save for web - please help me?!

    I cant save for web - please help me?!

    It says:
    "Could not complete this operation. An unknown operating system error has occurred."

  • My iphone won't pass the connect to itunes. when i try to restore is says that there is an error. please help!

    hi my iphone is broken. it won't pass the connect to itunes. when i try to restore is says that there is an error. please help!
    thanks,
    jg2013
    <Subject Edited by Host>

    Hello, 02633. 
    Thank you for visiting Apple Support Communities. 
    If your iPhone is disabled, you will need to process the steps in the article below.
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    Cheers,
    Jason H.

  • Windows - No Disk Error - Please help!

    Windows - No Disk Error - Please help!
    Hi,
    I have the following set up:
    * Lenovo T-61p
    * Windows XP Pro, SP 3
    * HP Photosmart 8250 printer (with nothing plugged into the various card readers, and USB slot in the printer)
    I am getting the following error:
    Windows - No Disk
    Exception Processing Message 0xc0000013 Parameters 0x75CE023C
    0x84C40C84 0x75CE023C
    I have done a lof experimenting and thru process of  elimination, and believe I have determined that this only happens when the HP Photosmart 8250 printer is plugged in to the USB slot of the computer.
    I can stop it from happening by safely removing hardware, and removing the drive that the 8250 creates on your computer when you plug it in.  In my case, this is drive E.  I'm guessing if there was something in the the various card readers, and USB slot in the printer, that's what those would be, but I don't those use those functions of the printer.
    I understand there is more at work than simply the printer, because I did not used to get this error, so some software changed as well, that is scanning all ports, and finding a drive that has no disk, and producing the error.
    A simple google search finds a lot people all over the world having this problem, and are solving it in different ways, because the suspected source is different: Norton, HP, etc.
    I have tried everything I have read, and the only thing that works was my own idea, of manually safely removing the drive the printer creates each time I plug in the printer.
    Anyone every any better, more permanent solutions?  Or know what the real root of the problem is?  What is scanning all the drives and being showing an error message because it found an empty drive?
    Thanks and Happy Holidays/New Year!

    I've been getting the same error on my 4G nano for the past week. I've had my nano for about a month and the first few weeks were fine. Tried it on 2 different computers (Vista and XP) and same problem. Tried it on a 3rd (XP) and it started ok. Problem started coming back after a day.
    I was able to find a quick fix though. I noticed that sometimes the message says something like "iexplore.exe... no disk..." even if I don't even use IE. What I do is end iexplore.exe on task manager before running iTunes and syncing my nano. I don't get the error whenever I do this, but one drawback is that the contents of my nano suddenly pops up in a window - even when disk use is not enabled.
    I've reset/restored my nano dozens and dozens of times to make sure it's clean. Leads me to believe it's a driver issue. Either that or I have a friggin malware problem I can't seem to find.
    I'll be posting updates every now and then. I'm no expert so I'm hoping an Apple expert also steps in to give some input.

  • My ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    my ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    Hey erinoneill24,
    Thanks for using Apple Support Communities.
    Sounds like you can't update your device. You don't mention an error that it gives you. Take a look at both of these articles to troubleshoot.
    iPod displays "Use iTunes to restore" message
    http://support.apple.com/kb/ts1441?viewlocale=it_it
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808?viewlocale=de_DE_1
    If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
    Have a nice day,
    Mario

  • I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)

    I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)

    Although your message isn't mentioned in the symptoms, let's try the following document with that one:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • I am not able to update my iphone 4 ,when ever i tried to update it its show 1309 error...and at times 9006 error ,please help me ..

    i am not able to update my iphone 4 ,when ever i tried to update it its show 1309 error...and at times 9006 error ,please help me ..

    Hey alkarim2008,
    If you are having an issue with being unable to update or restore your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    Resolve iOS update and restore errors in iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • HT4623 I have updated my iphone with the current software but it is showing you need to connect to  of itunes to activate your phone, when i did that it is continuously showing an error.please help me to get through.

    I have updated my iphone with the current software but it is showing you need to connect to  of itunes to activate your phone, when i did that it is continuously showing an error.please help me to get through.
    Kindly Activate my phone.

    Rajan Gupta wrote:
    ...it is continuously showing an error.
    See here  >  http://support.apple.com/kb/TS3424
    Also see this discussion.
    https://discussions.apple.com/message/21189708

  • On my login page where my username is and I enter my password, there is a message someone has put there I'd like to remove, and we can't figure what setting to go to to edit it.  Please help.

    On my login page where my username is and I enter my password, there is a message someone has put there I'd like to remove, and we can't figure what setting to go to to edit it.  Please help.

    it's in system preferences > security and privacy > general > show a message when the screen is locked.

  • I need the drivers for earl 2011 macbook pro 13 inch i7 4 gigs for windows 7 64 bits i tried downloading with bootcamp butt it never completes allways ends up with an error please help

    i need the drivers for earl 2011 macbook pro 13 inch i7 4 gigs for windows 7 64 bits i tried downloading with bootcamp butt it never completes allways ends up with an error please help if any one has the drivers or knows were i can download them

    Doug...
    If you don't have it for reference, the manual might come in handy > US/Boot_Camp_Install-Setup.pdf
    After it loads, Command + F to find information regarding the drivers.

  • HT201210 hi i just bought my new iPhone 4s yesterday and when u opened it was not updated so when i tried SO MANY TIMES to update it on the devise and on my new mac it said that there was a unknown error please help me :)

    hi i just bought my new iPhone 4s yesterday and when u opened it was not updated so when i tried SO MANY TIMES to update it on the devise and on my new mac it said that there was a unknown error please help me

    Please tell us what kind of computer you have, what operating system and what version of iTunes. Not just "the latest version of iTunes", the exact version number.

  • I can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi

    i can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi.

    i switched off all the security settings and all the firewalls.
    i m unable to install any of the app on the ipad
    so i saw the apple support and it said to update the older version of my ipad.
    and niether am i able to download the update nor am i able to download any app and install it in my ipad2
    i also tried to download an .ipsw file (ios5 update) from torrentz bt i am also unable to install from that as itunes rjects that file and gives an error. and also tries to delete that file. plz anyone help urgently.

Maybe you are looking for

  • HP OFFICEJET PRO 8600 PLUS UNABLE TO SEND OR RECEIVE FAXES

    I've had this Officejet 8600 about a year with no problems whatsoever. I scanned a document to computer earlier this week and when the scan finished, I received the message "unable to send or receive faxes."  I've been all over the forum, tried every

  • ORA 54668

    Hello, Thanks in advance for your willingness to help me on this difficult issue. I get this error message: Invalid geometry for table TEST.BUILDING, column SDO_GEOMETRY.54668 ORA-54668: a 2D SRID cannot be used with a 3D geometry Irreparably invalid

  • Exporting for Web Streaming...

    Hello - what are the best specs to export a file for Web Streaming? My client gave me the specs of 640x320, and it's too stretched. Also, would it be in Sorenson? MPEG-4? Something else? Thanks so much!

  • How to determine allowed names?

    Using Labview and an IVI-COM driver to talk to an oscilloscope. How can I determine the allowed names that I can use?

  • B/U to Dual layer DVD no go...

    Hi, I posted this earlier in iTunes discusiions but it is a bigger problem now so... I have a little library of video's in iTunes on my new mini and tried to use the burn feature with a dual layer (+R) in iTunes to make a backup of the files. The lib