osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > Community > Introduce yourself!

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 02-27-2008, 03:10 PM
Lurker
 
Join Date: Feb 2008
Location: Portugal
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
carlossilva is on a distinguished road
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-27-2008, 05:03 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 405
Thanks: 3
Thanked 63 Times in 61 Posts
Rep Power: 6
met00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the rough
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to met00 For This Useful Post:
carlossilva (02-27-2008)
  #3  
Old 02-27-2008, 06:08 PM
Lurker
 
Join Date: Feb 2008
Location: Portugal
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
carlossilva is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-28-2008, 12:32 PM
Lurker
 
Join Date: Feb 2008
Location: Portugal
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
carlossilva is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-02-2008, 02:13 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 405
Thanks: 3
Thanked 63 Times in 61 Posts
Rep Power: 6
met00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the rough
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Ewire popup payment window michael_s New osCommerce Contributions 0 02-19-2007 05:15 AM
Manufacturers Popup Window michael_s New osCommerce Contributions 0 01-15-2007 04:20 PM
Manufacturers Popup Window michael_s New osCommerce Contributions 0 01-09-2007 05:46 PM
Scrollable popup window fuzzyphil osCMax v1.7 General Mods Discussion 0 10-10-2005 03:39 AM
popup window too small jlee osCommerce 2.2 Modification Help 1 02-18-2003 01:24 PM


All times are GMT -8. The time now is 11:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax