Results 1 to 5 of 5

Problem with the popup window

This is a discussion on Problem with the popup window within the Introduce yourself! forums, part of the Community category; Hello to all, My name is carlos silva, and I have a problem with the popup window, when click in ...

      
  1. #1
    Lurker
    Join Date
    Feb 2008
    Location
    Portugal
    Posts
    4
    Rep Power
    0


    Default Problem with the popup window

    Hello to all,

    My name is carlos silva, and I have a problem with the popup window, when click in the image to enlarge.

    instead of appearing the image, appears a text mistake like this:

    Warning: main(templates/1221/TEMPLATES_POPUP): failed to open stream: No such file or directory in /web/sites/vhbu3/0/235/89788/public/www/catalog/popup_image.php on line 68

    Fatal error: main(): Failed opening required 'templates/1221/TEMPLATES_POPUP' (include_path='.:/usr/share/php:/usr/share/pear') in /web/sites/vhbu3/0/235/89788/public/www/catalog/popup_image.php on line 68

    if somebody can help myself to solve this problem I thanked a lot
    I thank your help


  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    21


    Default Re: Problem with the popup window

    TEMPLATES_POPUP is a globally defined variable that obviously is NOT being defined. It should actually be TEMPLATENAME_POPUP which is defined in /includes/configure_bts.php:

    define('TEMPLATENAME_POPUP', 'popup.tpl.php');

    So, my guess is that you are using a template system that was not designed for the current version of BTS and therefore it is using a define that is not correct.

    So, the answer is to

    1) confirm that you have TEMPLATENAME_POPUP properly defined
    2) go into the product detail template and correct the defined name to TEMPLATENAME_POPUP

    and then it should all work and play nicely.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    Lurker
    Join Date
    Feb 2008
    Location
    Portugal
    Posts
    4
    Rep Power
    0


    Default Re: Problem with the popup window

    thank you for your time metoo,


    my template has the name of 1221, need to knowing which files that I have to edit and wat I have change in them.

    thank you very much

  4. #4
    Lurker
    Join Date
    Feb 2008
    Location
    Portugal
    Posts
    4
    Rep Power
    0


    Default Re: Problem with the popup window

    please I am desperate,

    can anybody help myself to solve this probelma?

    when cliko in the link ckik to enlarge the poppup window that opens appears the following mistake:

    Warning: main (templates/1221/popup .tpl .php): failed to open stream: In the such it cribs or directory in /web/sites/vhbu3/0/235/89788/public/www/catalog/popup_image.php on line 68

    Fatal error: main (): Failed opening required 'templates/1221/popup .tpl .php' (include_path = '.:/usr / share / php: / usr / share / to fetter') in /web/sites/vhbu3/0/235/89788/public/www/catalog/popup_image.php on line 68

    if somebody can help me I am grateful

  5. #5
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    21


    Default Re: Problem with the popup window

    templates/1221/popup .tpl .php'

    are those spaces between the extensions on your screen or are they in the cut and paste?
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

Similar Threads

  1. Ewire popup payment window
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-19-2007, 05:15 AM
  2. Manufacturers Popup Window
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-15-2007, 04:20 PM
  3. Manufacturers Popup Window
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-09-2007, 05:46 PM
  4. Scrollable popup window
    By fuzzyphil in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 10-10-2005, 04:39 AM
  5. popup window too small
    By jlee in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-18-2003, 01:24 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
  •