Thread: link problem

Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2006
    Posts
    24
    Plugin Contributions
    0

    Default link problem

    Hi.

    I have just loaded my site online. on my machine i check the site and it was working perfect but on going online it creats a problem. I have allready uninstall and install it two times but problem is not solved. you can cheack it on www.fbriders.com/ver08

    The problem is that whenever I click on any product it reffers to link

    http://www.fbriders.com/ver08/index.php?main_page=Product_info&products_id=1

    It returns no page found.
    I have seen the problem is with capital P in Product_info in the link.

    Can any body solve this problem by telling me that how can I change the P to p (i mean from caps to small words).

    Thanks

  2. #2
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: link problem

    Check around line 121 in includes/filenames.php to see if for some reason the filename has been capitalised in there.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  3. #3
    Join Date
    Sep 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: link problem

    Thanks for ur reply. no the file name is in small words.

  4. #4
    Join Date
    Apr 2006
    Posts
    265
    Plugin Contributions
    0

    Default Re: link problem

    In includes/functions/functions_lookups.php, around line 509, you should have this:

    Code:
    /*
     * look up the product type from product_id and return an info page name (for template/page handling)
     */
      function zen_get_info_page($zf_product_id) {
        global $db;
        $sql = "select products_type from " . TABLE_PRODUCTS . " where products_id = '" . (int)$zf_product_id . "'";
        $zp_type = $db->Execute($sql);
        if ($zp_type->RecordCount() == 0) {
          return 'product_info';
        } else {
          $zp_product_type = $zp_type->fields['products_type'];
          $sql = "select type_handler from " . TABLE_PRODUCT_TYPES . " where type_id = '" . (int)$zp_product_type . "'";
          $zp_handler = $db->Execute($sql);
          return $zp_handler->fields['type_handler'] . '_info';
        }
      }
    Is the 'product_info' lowercase there?

    BrandTim

  5. #5
    Join Date
    Sep 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: link problem

    yes the product_info is in small letters.
    i think problem is in SQL data Base.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: link problem

    I did not come across this error on your site ...

    However, if it still exists go to the Catalog ... Product Types ... and hit the EDIT button for the Product - General and make sure that the:
    Handler Page: product

    is written lower case ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. link problem
    By colin0502 in forum General Questions
    Replies: 2
    Last Post: 23 May 2010, 09:51 PM
  2. Link problem
    By pnut599 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Jun 2009, 04:44 PM
  3. Download Link Problem & Gift Card Problem too...
    By Miss Tiina in forum General Questions
    Replies: 2
    Last Post: 14 Mar 2009, 03:58 PM
  4. Link Problem
    By yellowdaises in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Dec 2006, 08:32 PM

Posting Permissions

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