Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Problems with Recently Viewed Items addon

    Hi all.

    Hot a problem with this mod hoping someone can help as there doesnt seem to be a proper thread for it.

    The add on is this:

    http://www.zen-cart.com/index.php?ma...roducts_id=720

    The problem I have is when trying to implement the center content as described in the install.txt file

    to include this code in the product info display file:

    <!--bof recent products module-->
    <?php require($template->get_template_dir ('tpl_modules_recent_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates') . '/tpl_modules_recent_products.php'); ?>
    <!--eof recent products module-->

    When I do I get the following error:

    PHP Warning: require(includes/templates/template_default/templates/tpl_modules_recent_products.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/site/public_html/includes/templates/cherry_zen/templates/tpl_product_info_display.php on line 501

    After seeing this I look at the code and it doesn't even look like this file is even included in the install..?

    I tried using the file from the sideboxes directory but that just gives me a different error something to do with the MoveNext() part of the code...

    I like the mod, works well as the side box but I really want it under the products..

    Anyone got any suggestions??

    Cheers

    Phil

  2. #2
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    Hello i have the same problem, does anyone know how to fix it??

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problems with Recently Viewed Items addon

    it doesn't even look like this file is even included in the install..?
    Which file?
    /includes/templates/cherry_zen/templates/tpl_modules_recent_products.php?
    /includes/templates/template_default/templates/tpl_modules_recent_products.php?

    If a called-for template file is not in the current template folder, the code will look in the /template_default/ folder for it.
    The centerbox option was just added a few days ago - are you sure you have the right version of the files? Maybe the recent updater left a new file out of the package?

    If the new file is the only one in the /includes/templates/your_template/ folder, did you rename /your_template/ (whatever its original name was) to your template name?

  4. #4
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    There are some error in this code?

    PHP Code:
    <!--bof recent products module-->
    <?php require($template->get_template_dir ('tpl_modules_recent_products.php',DIR_WS_TEMPLATE$current_page_base,'templates') . '/tpl_modules_recent_products.php'); ?>
    <!--eof recent products module-->
    Now if i put this code in a tpl_product_infodisplay i don't see anything, and the right box is hidden, why??I have pure_blue template and i have put the code in the right file.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problems with Recently Viewed Items addon

    What files (including their full folder paths) are in the mod's package?
    What of those files can you find on your server, and are their paths any different (except for template name)?

  6. #6
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    Sorry, i don't understand your question, you know if the are any problem in the posted code???

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problems with Recently Viewed Items addon

    There is no inherent error in the code you posted, but if the file it calls for is not in the correct place, you will get a fatal error. I am asking for the filenames that came with the mod, and their foldernames; also whether you can find those files on your server, and what the foldernames are there.

  8. #8
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    Maybe i undestand what the problem is, i don't find this file tpl_modules_recent_products.php in template folder, i whatched inside the original recently_viewed_items folder and i didn't find this file. I tried to download again the zip folder but nothing, i have the same problem every time.

  9. #9
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Problems with Recently Viewed Items addon

    Quote Originally Posted by kavin86 View Post
    Maybe i undestand what the problem is, i don't find this file tpl_modules_recent_products.php in template folder, i whatched inside the original recently_viewed_items folder and i didn't find this file. I tried to download again the zip folder but nothing, i have the same problem every time.
    same problem here. file tpl_modules_recent_products.php is not included in the install

  10. #10
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    PHP Code:
    <!--bof recent products module--> 
    <?php require($template->get_template_dir ('tpl_modules_recent_products.php',DIR_WS_TEMPLATE$current_page_base,'templates') . '/tpl_modules_recent_products.php'); ?> 
    <!--eof recent products module-->
    yes this file is not included, but the code call this file, how can i fix it??I need this file (i think)

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Recently Viewed Items v2.3 - Possible Bug
    By marcopolo in forum Addon Sideboxes
    Replies: 0
    Last Post: 16 Oct 2015, 08:42 PM
  2. Recently Viewed Items - Customers Getting lost :o(
    By philip937 in forum Addon Sideboxes
    Replies: 2
    Last Post: 9 Sep 2012, 03:41 PM
  3. v139h Recently Viewed Items Centerbox fixed? (1.3.9h)
    By Hell Guapo in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Jun 2012, 12:01 AM
  4. Can't see my 'Recently Viewed Items' in products page with Tabbed Pro installed
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Dec 2011, 12:25 PM
  5. Replies: 6
    Last Post: 2 Dec 2011, 03:06 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR