1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Parse error - in php

Discussion in 'Content Management' started by Becky01, Oct 2, 2012.

  1. #1
    error code, can anyone help me check my code please?
     
    Becky01, Oct 2, 2012 IP
  2. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #2
    Provide the code and the full error message please. Otherwise it is impossible to help you.
     
    GMF, Oct 2, 2012 IP
  3. ItsBrad

    ItsBrad Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Yes, we can only help if you can provide the code and more detail.
     
    ItsBrad, Oct 2, 2012 IP
  4. Web Solutions

    Web Solutions Peon

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    5
    Trophy Points:
    0
    #4
    Threads like this should be closed without a warning.
     
    Web Solutions, Oct 2, 2012 IP
  5. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for your replies, because i just joined it wont allow me to post links, but this is the copy of the specific error. hope it displays. The error is: Parse error: syntax error, unexpected ';' in /home/content/41/9780841/html/app/view/task/property_create.php on line 5line 5 >line 6
     
    Becky01, Oct 2, 2012 IP
  6. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #6
    Well, we should at least give them the benefit of the doubt and hope that they come back, so we can help.

    That doesn't really help much. All we now know is that there is an unexpected semicolon...

    just copy and paste the PHP code, a link would not help us at all because we cannot SEE php through a link.
     
    GMF, Oct 2, 2012 IP
  7. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Many Thanks
     
    Becky01, Oct 2, 2012 IP
  8. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i can't post live links, until i have been a member for at least 7 days. Just finding out now.
     
    Becky01, Oct 2, 2012 IP
  9. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #9
    Again: You don't need to post ANY links

    Just

    Go to the .php file
    Open it
    Select all (ctrl+a)
    Copy it (ctrl+c)
    go back to DP
    click on post quick reply
    Paste the code (ctrl+v) (you could also put them between
     tags...)
    PHP:
     
    GMF, Oct 2, 2012 IP
  10. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    ok thanks, thats what i did, but when i click on "post quick reply" it doesnt display the code. i will do it again.... see the rror message i got when trying to submit the code.....Errors The following errors occurred with your submission Live links and signatures are not available to you yet (read the FAQ).
     
    Becky01, Oct 2, 2012 IP
  11. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #11
    Oh, ok, I get what's happening.

    Your code seems to have some links in it. Remove these links with some generic things, and omit the http:// and www part
     
    GMF, Oct 2, 2012 IP
  12. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    i'll try now
     
    Becky01, Oct 2, 2012 IP
  13. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Not so lucky.........still not displayed. Thanks for trying, much appreciated!
     
    Becky01, Oct 2, 2012 IP
  14. Web Solutions

    Web Solutions Peon

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    5
    Trophy Points:
    0
    #14
    Post your code on Pastebin and get back to us with (only the part in red):

    http://pastebin.com/[COLOR=#ff0000]ghZBxa9c[/COLOR]
    Code (markup):
     
    Web Solutions, Oct 2, 2012 IP
  15. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    thanks, nothing came up in red...
     
    Becky01, Oct 2, 2012 IP
  16. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #16
    facepalm.jpg

    You only need to copy what comes after the http://pastebin.com/

    So not the whole link
    
    http://pastebin.com/ghZBxa9c
    
    Code (markup):
    but what comes AFTER the domain

    
    ghZBxa9c
    
    Code (markup):
     
    GMF, Oct 3, 2012 IP
  17. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Thanks, here it isXz0Vd6BZ
     
    Becky01, Oct 3, 2012 IP
  18. Web Solutions

    Web Solutions Peon

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    5
    Trophy Points:
    0
    #18
    Did you delete it ?
     
    Web Solutions, Oct 3, 2012 IP
  19. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    no i didnt
     
    Becky01, Oct 3, 2012 IP
  20. Becky01

    Becky01 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    i have done it again9vSTzcYU
     
    Becky01, Oct 3, 2012 IP