Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2005
    Location
    London
    Posts
    468
    Plugin Contributions
    0

    filename_products_all?

    On the index page, when clicking on the "all products" link, it just refreshes the index page. This is happenning because the link is "main_page=FILENAME_PRODUCTS_ALL" instead of "main_page=products_all".

    Notice that the link should be in lower case andminus the word "filename". What file/files do i have to edit to fix this issue?

    Thanks
    Pete
    FORUM:
    # a public meeting or assembly for open discussion
    #An online discussion group, where participants with common interests can exchange open messages.
    # a public facility to meet for open discussion

  2. #2
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: filename_products_all?

    I am having the same problem! Any help would be greatly appreciated!

    and I just checked my filenames.php and it says

    define('FILENAME_PRODUCTS_ALL', 'products_all');

    So I'm really confused now!
    Last edited by abcisme; 23 Jun 2006 at 11:00 PM.

  3. #3
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: filename_products_all?

    I just figured out why this was happening to me.

    Somehow, when I uploaded all the files, all of the carriage returns were removed from my ../shop/includes/filenames.php. I reuploaded the original file and it's working fine now. DOH!

  4. #4
    Join Date
    Apr 2005
    Location
    London
    Posts
    468
    Plugin Contributions
    0

    Default Re: filename_products_all?

    Think my issue is different, That is the only link that is not working correctly. I have used the dev toolkit but didn't really help me as php is not really my bag. anyone know a quick fix for this?
    Pete
    FORUM:
    # a public meeting or assembly for open discussion
    #An online discussion group, where participants with common interests can exchange open messages.
    # a public facility to meet for open discussion

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

    Default Re: filename_products_all?

    This tells me you are using v1.3 ...

    Since then v1.3.0.1 and ... just recently v1.3.0.2 have been released ...

    You really want to upgrade to fix this plus several other issues ...

    NOTE: Backup your database and site ... before attempting to Upgrade
    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!

  6. #6
    Join Date
    Apr 2005
    Location
    London
    Posts
    468
    Plugin Contributions
    0

    Default Re: filename_products_all?

    Although I think I have, you can never be certain that you have used the over ride system 100%...Knowing my luck, i'll upgrade and spend the next six weeks putting it right. I'll try a backup another day.
    FORUM:
    # a public meeting or assembly for open discussion
    #An online discussion group, where participants with common interests can exchange open messages.
    # a public facility to meet for open discussion

  7. #7
    Join Date
    Apr 2005
    Location
    London
    Posts
    468
    Plugin Contributions
    0

    Default Re: filename_products_all?

    Any chance of a quick fix for this issue?...please
    FORUM:
    # a public meeting or assembly for open discussion
    #An online discussion group, where participants with common interests can exchange open messages.
    # a public facility to meet for open discussion

  8. #8
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: filename_products_all?

    Quote Originally Posted by mediathing
    Any chance of a quick fix for this issue?...please
    I am using v1.2.5 on this client's site, and fear upgrading, so here's what worked for me.

    open includes/templates/template_default/sideboxes/tpl_categories.php
    edit the code around line 118 like this:
    Code:
          //$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
          $content .= '<a class="category-links" href="/?main_page=products_all">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
    save the file in your includes/templates/*YOUR CUSTOM TEMPLATE*/sideboxes folder.
    The crazy thing is, I could swear I had used this link befor, and had no problem. Then today I went to use it and the link ended at ".com/"
    Go figure.. It works now. The only issue I forsee is session loss, so someone without cookies might loose their cart contents.

  9. #9
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: filename_products_all?

    Quote Originally Posted by TecBrat
    Code:
          //$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
          $content .= '<a class="category-links" href="/?main_page=products_all">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
    I hope the above works for you. It turns out mine was a symptom of a bigger problem. I have other links that aren't working correctly, and I am not sure how long they have been down. I am going to have to figure out what I have done, and undo it.

  10. #10
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: filename_products_all?

    Important update!
    I found that the slash in front of the question mark caused an error in my ssl, but removing it fixed the problem. so make it this:
    Code:
          //$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
          $content .= '<a class="category-links" href="?main_page=products_all">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
    And I found where I had messed up my own site, messing around with html_output functions. Restored older file.

 

 
Page 1 of 2 12 LastLast

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