Wp

Discussion in 'WordPress' started by login, Mar 5, 2008.

  1. #1
    On http://www.clickarchives.org/ I get this eror:

    Parse error: syntax error, unexpected ‘/’ in /home/clickarc/public_html/wp-content/plugins/exec-php/includes/runtime.php(41) : eval()’d code on line 4

    I have no idea on how to fix it, please help.

    Green rep to good answers :)

    Thanks.
     
    login, Mar 5, 2008 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #2
    disable exec-php plugin.. :)
     
    MeetHere, Mar 5, 2008 IP
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Hehe. Thanks, but then the content will not show.
     
    login, Mar 5, 2008 IP
  4. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #4
    Add the content manually in the wordpress php files.
    OR use correct script+plugin versions :D
     
    MeetHere, Mar 5, 2008 IP
    login likes this.
  5. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #5
    How can I do that?


    This is what I need to post:

    <?php
    include_once ‘./lastRSS.php’;
    $rss = new lastRSS;
    $rss->cache_dir = ‘./cache’; $rss->cache_time = 3600; // one hour
    if ($rs = $rss->get("http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=0&language=en-US&output=RSS20&catref=C5&sacqy=&sacur=0&from=R6&saobfmts=exsif&dfsp=1&sacqyop=ge&saslc=0&floc=1&sabfmts=0&saprclo=&saprchi=&saaff=afcj&ftrv=1&ftrt=1&fcl=3&frpp=50&afcj=2865888&nojspr=y&satitle=Fender+Precision&afmp=&sacat=-1&saslop=1&fss=0"))
    {
    foreach ($rs[’items’] as $item) {
    $rsscount++; if ($rsscount< 6) {
    $myvar = $item[description];
    $title = $item[title];
    echo “<b>$title</b>$myvar”
    }}
    if ($rs[’items_count’] <= 0) { echo “Sorry, no items found.<br /><br />” } } else { die (’Error: RSS file not found…’); }
    ?>
     
    login, Mar 5, 2008 IP
  6. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #6
    I think there must be some problem in the above code.
    check if its working on any other php file.
     
    MeetHere, Mar 5, 2008 IP
  7. arwen54

    arwen54 Active Member

    Messages:
    632
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #7
    have you updated the exec-php plugin?

    there have been a few updates in the last little while
     
    arwen54, Mar 5, 2008 IP
    login likes this.
  8. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #8
    I trashed the whole idea. Thanks, greens are going out :)
     
    login, Mar 6, 2008 IP