osCmax v2.5 User Manual
Results 1 to 5 of 5

Product Information Sheet not redirecting to correct URL

This is a discussion on Product Information Sheet not redirecting to correct URL within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; When tested in FCKeditor the product link works fine and the url appears as http://www.immunesystems.co.uk/catalog/pdf/fastread.pdf But when clicked from the ...

      
  1. #1
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Product Information Sheet not redirecting to correct URL

    When tested in FCKeditor the product link works fine and the url appears as http://www.immunesystems.co.uk/catalog/pdf/fastread.pdf

    But when clicked from the product webpage:

    Immune Systems Ltd : FastRead Counting Slides (100 slides/box) [BVS100] - £121.00

    then clicking "Product Information Sheet" at the bottom of the page I get this url in the address bar:

    http://www.immunesystems.co.uk/catal...9f0ae3177a7001

    Note that all the "/" in the redirect url have been changed to "%2F"

    The Csid is different often so I thought this may be to do with session id ?

    I have uploaded the original product_info.tpl.php

    Any ideas please... I don't have any hair left to tear out

    Cheers.
    Running oscMax 2.0.25
    Mainly tabular format data website
    Not a programmer !

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Product Information Sheet not redirecting to correct URL

    This is not an installation issue, rather a (custom) feature issue.

    Line 184:
    PHP Code:
            <td class="main"><?php echo '<a href = "' stripslashes($product_info['products_url']) . '">' "Product Specification" '</a>'?></td>
    Change "Product Specification" to suit.

    Then URL in Admin becomes just:- pdf/fastread.pdf
    See: osCMax 2.0.25 r634 : test product 3 [test-3] - $10.00

    Now where's that beer money!
    Last edited by ridexbuilder; 10-06-2010 at 07:01 AM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Re: Product Information Sheet not redirecting to correct URL

    Thanks ridexbuilder. your mod worked. Genious.

    I posted this as a new thread as I did want to get to the bottom of why the absolute URL's aren't working.

    As your "relative" code does work it seems there is an anomoly in the deleted code?

    There is one main disadvantage of using relative URL's in that they are incompatible within FCKeditor. Sticking with absolute URL's just makes it easier to test product links at the time of editing. Unless there is a way to make FCKeditor work with relative paths?
    Beer? Ooops was that yours?
    Running oscMax 2.0.25
    Mainly tabular format data website
    Not a programmer !

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Exclamation Re: Product Information Sheet not redirecting to correct URL

    It's an inherent flaw in FCK/CKEditor that can't cope with relative paths (due to the program running under admin, not catalog but could be fixed by the right people.)
    If you wish to use absolute paths, then it's your choice, of course but good luck in a development environment/when or if you change domain name. Don't come complaining when you get SSL warnings either - don't wanna know. (As complained once to my Uni C++ lecturer, amongst others..) Hard coding absolute paths is an inherently faulty methodology. There (Michael_S), I've said it again!

    Hosting plans with installation, configuration, contributions, support and maintenance.

  5. #5
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Re: Product Information Sheet not redirecting to correct URL

    You had to say it!! I saw your comment on SSL and decided to login as a customer and got a blank web page.

    Could all my problems be anything to do with server settings?
    Running oscMax 2.0.25
    Mainly tabular format data website
    Not a programmer !

Similar Threads

  1. Style Sheet
    By bethbud in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 04-14-2010, 09:13 AM
  2. Is there an oscmax cheat sheet?
    By Doritoes in forum osCommerce 2.2 Discussion
    Replies: 2
    Last Post: 01-17-2010, 06:13 PM
  3. Check Module redirecting to delivery information
    By Tangwystel in forum Check/Money Order
    Replies: 8
    Last Post: 11-17-2009, 05:47 AM
  4. Only product in category : Product list to product information page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-29-2008, 01:22 AM
  5. 404 - page not found. Database correct. Permission correct.
    By Futureline in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 03-04-2003, 02:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •