Announcement

Collapse
No announcement yet.

Sellerdeck 2016 search results page PHP problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sellerdeck 2016 search results page PHP problem

    I'm working on upgrading our websites to Sellerdeck 2016 Enter product name into the search bar at the top of the page, search results page returns fine and shows products, however, when selecting the link the pages display with PHP code still showing, as if PHP isn't active. Any thoughts?

    Website is www.gamesloretest.co.uk and a search using Catan will bring back a variety of products, select any of them and you will see php code at the beginning of the product description and again after the cart button.

    This works fine on our regular websites using Actinic v9 (eg: www.gameslore.com).

    #2
    Someone has commented out some php code, but has put the end comment tag --> within the echo statement. The rest of that php code is therefore not commented out and displays on the page.

    You need to take a look at the php code and adjust where the end comment tag is. It needs to comment out all of the php code, so put it after ?>

    I think you're only trying to comment out the first part of that code - in which case you need to move the comment tag to outside of the echo statement end quote and semi-colon - but because you're starting the comment before the opening <?php I'm not sure this will work...

    Otherwise, if the php statement needs to work, you will have to allow the starting <?php tag and just comment out the lines that you don't wish to display.

    Comment


      #3
      You have Settings / Search And Filtering Settings / Results set to Highlight Located Text. This causes the products to be served via a Perl script which processes the HTML page and adds highlighting around such words. So your page is no longer a .php (or .html set to process PHP tags) one but a .pl one.

      Turn off Highlight Located Text and you'll be OK.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Originally posted by NormanRouxel View Post
        You have Settings / Search And Filtering Settings / Results set to Highlight Located Text. This causes the products to be served via a Perl script which processes the HTML page and adds highlighting around such words. So your page is no longer a .php (or .html set to process PHP tags) one but a .pl one.

        Turn off Highlight Located Text and you'll be OK.
        Worked perfectly - thanks for your help.

        Comment

        Working...
        X