Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

I-frames on index.php page


Recommended Posts

Help! I have an I-Frame on the bottom of the index.php page. It's from testofproduct.com. How do I get rid of it?



Could use just a little more information here, like the url to your site. Maybe some code?

Link to comment
Share on other sites

Yes, you're right about that. The url is:




the code for that page is:




$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $


osCommerce, Open Source E-Commerce Solutions



Copyright © 2003 osCommerce


Released under the GNU General Public License



define('TEXT_MAIN', 'Welcome to the Mystic Earth cyber store. Here you will find a variety of metaphysical and magickal tools, books, altar supplies, and much more. All credit card orders are processed securely via <A HREF=http://www.paypal.com TARGET="_new"><u>PayPal</u></a> using 128-bit encryption technology. Please <A HREF="contact_us.php"><u>contact us</u></a> if you have any questions. Happy shopping!');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');


if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Metaphysical Book & Supply');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');




Personally, I couldn't find anything in the code for the I-frame. This is the same page that is showing the error messages at the top of the page:


Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/mysticea/public_html/index.php:3) in /home/mysticea/public_html/includes/functions/sessions.php on line 67


Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mysticea/public_html/index.php:3) in /home/mysticea/public_html/includes/functions/sessions.php on line 67


Any help you could give me is greatly appreciated!






Could use just a little more information here, like the url to your site. Maybe some code?
Link to comment
Share on other sites

Look in index.php and see if you can find iframe code. The code is being added on in line 3 i think. If you dont know how it got there then maybe someone hacked your page and you should contact your hosting company to get it cleaned up.


I've scoured the code for index.php and can't seem to find anything related to the I-frame. I'll see if I could get a hold of the hosting company. Thanks for yur suggestions!



Link to comment
Share on other sites


I know that oscommerce source can seem to hide things...When I first starting working with the source code I found myself looking for things to change and had trouble until I began to understand the code structure...With this situation what I did was to bring up the web page that contained the item that I wanted to change...then I did a view the source thru my browse... scaned the source and was able to home in on what include or straight code by finding something that I could scan for in the programs...maybe you could try this and see if it works for you...remember that some of the varibles and code is stored in the datbase...I hope this helps



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...