Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I make the index.php be the homepage?


Guest

Recommended Posts

Make a file called .htaccess (or alter your existing one) in the root (public_html) of your webspace. In it, type:

 

DirectoryIndex catalog/index.php

 

(or whatever you've called your catalog folder, if different)

 

That should do it! :D

 

Hi!

Right now, when you type in my domain (www.islandofbeads.com) it takes you to another website and you have to click a button to go to the store (http://islandofbeads.com/v-web/ecommerce/os/catalog/). How do I make the store come up when you type www.islandofbeads.com in the address box.

Link to comment
Share on other sites

Or you could just place your store in the root directory. Basically you copy everything inside the catalog folder, and install it to the root directory of your site (looks like the level that you have v-web). You'll need to be sure there is no other index page in that folder.

 

Jeremy

Link to comment
Share on other sites

Or you could just place your store in the root directory.  Basically you copy everything inside the catalog folder, and install it to the root directory of your site (looks like the level that you have v-web).  You'll need to be sure there is no other index page in that folder.

 

Jeremy

 

I copied all the files from the catolog and put them in the public html folder. Is that what I was suppose to do? Now if I go to my website I get this error message:

 

Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/islandof/public_html/index.php on line 13

 

Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/islandof/public_html/index.php on line 13

 

Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/islandof/public_html/index.php on line 13

 

What should I do now? I checked and index.php did get uploaded into that folder and there are no other index files that I can see.

Thanks! :D

Link to comment
Share on other sites

Yahoo!! We are getting closer. My index.php is now the home page. But, now all the images are dead. Is there another file to change to fix this?

Thanks!

Link to comment
Share on other sites

Perhaps in the includes/configure.ph you need to edit:

 

define('DIR_WS_IMAGES', 'catalog/images/');

 

to:

 

define('DIR_WS_IMAGES', 'images/');

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Link to comment
Share on other sites

Perhaps in the includes/configure.ph you need to edit:

 

define('DIR_WS_IMAGES', 'catalog/images/');

 

to:

 

define('DIR_WS_IMAGES', 'images/');

 

 

Thanks for the reply! I checked and it is already define('DIR_WS_IMAGES', 'catalog/images/'); Any other ideas?

Link to comment
Share on other sites

More issues now. I just went to login to my oscommerce account to add a few products and I entered my username and password and I pressed enter, and the login screen just popped right back up and did not let me in. I then clicked on user interface and got a bunch of errors:

 

Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 1

 

Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 1

 

Warning: main(): Failed opening 'includes/application_top.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 1

 

Warning: main(DIR_WS_INCLUDESinclude_once.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 21

 

Warning: main(DIR_WS_INCLUDESinclude_once.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 21

 

Warning: main(): Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 21

 

Warning: main(DIR_WS_INCLUDESinclude_once.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 30

 

Warning: main(DIR_WS_INCLUDESinclude_once.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 30

 

Warning: main(): Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 30

 

Warning: main(DIR_WS_INCLUDESinclude_once.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 40

 

Warning: main(DIR_WS_INCLUDESinclude_once.php): failed to open stream: No such file or directory in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 40

 

Warning: main(): Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 40

 

FONT_STYLE_HEADING HEADING_TITLE

Fatal error: Call to undefined function: tep_image() in /home/islandof/.panel/web/ecommerce/os/catalog/default.php on line 328

 

The code in the default.php goes as follows:

<? include('includes/application_top.php'); ?>
<?
// remember the following cPath references come from application_top.php
 $category_depth = 'top';
 if ($cPath) {
   $categories_products_query = tep_db_query("select count(*) as total from products_to_categories where categories_id = '" . $current_category_id . "'");
   $cateqories_products = tep_db_fetch_array($categories_products_query);
   if ($cateqories_products['total'] > 0) {
     $category_depth = 'products'; // display products
   } else {
     $category_parent_query = tep_db_query("select count(*) as total from categories where parent_id = '" . $current_category_id . "'");
     $category_parent = tep_db_fetch_array($category_parent_query);
     if ($category_parent['total'] > 0) {
       $category_depth = 'nested'; // navigate through the categories
     } else {
       $category_depth = 'products'; // category has no products, but display the 'no products' message
     }
   }
 }
?>
<? $include_file = DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT; include(DIR_WS_INCLUDES . 'include_once.php'); ?>
<? $location = ''; ?>
<html>
<head>
<title><? echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<!-- header //-->
<? $include_file = DIR_WS_INCLUDES . 'header.php';  include(DIR_WS_INCLUDES . 'include_once.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="5" cellpadding="5">
 <tr>
   <td width="<? echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<? echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<? $include_file = DIR_WS_INCLUDES . 'column_left.php'; include(DIR_WS_INCLUDES . 'include_once.php'); ?>
<!-- left_navigation_eof //-->
       </table></td>
     </tr>
   </table></td>
<!-- body_text //-->
<?
 if ($category_depth == 'nested') {
?>
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="boxborder">
         <tr>
           <td bgcolor="<? echo TOP_BAR_BACKGROUND_COLOR; ?>" width="100%" nowrap><?php echo FONT_STYLE_TOP_BAR; ?> <? echo TOP_BAR_TITLE; ?> </font></td>
         </tr>
       </table></td>
     </tr>
<?
   $category_query = tep_db_query("select categories_name, categories_image from categories where categories_id = '" . $current_category_id . "'");
   $category = tep_db_fetch_array($category_query);
?>
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td nowrap><?php echo FONT_STYLE_HEADING; ?> <? echo HEADING_TITLE; ?> </font></td>
           <td align="right" nowrap> <? echo tep_image($category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> </td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><? echo tep_black_line(); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
         <tr bgcolor="<? echo SUB_BAR_BACKGROUND_COLOR; ?>">
           <td nowrap><?php echo FONT_STYLE_SUB_BAR; ?> <? echo SUB_BAR_TITLE; ?> </font></td>
         </tr>
         <tr>
           <td><? echo tep_black_line(); ?></td>
         </tr>
         <tr>
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
<?
   if (($HTTP_GET_VARS['cPath']) && (ereg('_', $HTTP_GET_VARS['cPath']))) {
// check to see if there are deeper categories within the current category
     $category_links = tep_array_reverse($cPath_array);
     for($i=0;$i<sizeof($category_links);$i++) {
       $categories = tep_db_query("select categories_id, categories_name, parent_id from categories where parent_id = '" . $category_links[$i] . "' order by sort_order, categories_name");
       if (tep_db_num_rows($categories) < 1) {
         // do nothing, go through the loop
       } else {
         break; // we've found the deepest category the customer is in
       }
     }
   } else {
     $categories = tep_db_query("select categories_id, categories_name, categories_image, parent_id from categories where parent_id = '" . $current_category_id . "' order by sort_order, categories_name");
   }

   $rows = 0;
   while ($categories_values = tep_db_fetch_array($categories)) {
     $rows++;
     $cPath_new = tep_get_path($categories_values['categories_id']);
     echo '                <td align="center">' . FONT_STYLE_MAIN . '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . tep_image($categories_values['categories_image'], $categories_values['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories_values['categories_name'] . '</a></font></td>' . "\n";
     if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != tep_db_num_rows($categories))) {
       echo '              </tr>' . "\n";
       echo '              <tr>' . "\n";
     }
   }
?>
             </tr>
           </table></td>
         </tr>
<?
   $new_products_category_id = $current_category_id;
   $include_file = DIR_WS_MODULES . FILENAME_NEW_PRODUCTS; include(DIR_WS_INCLUDES . 'include_once.php');
?>
       </table></td>
     </tr>
   </table></td>
<?
 } elseif ($category_depth == 'products' || $HTTP_GET_VARS['manufacturers_id']) {
?>
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="boxborder">
         <tr>
           <td bgcolor="<? echo TOP_BAR_BACKGROUND_COLOR; ?>" width="100%" nowrap><?php echo FONT_STYLE_TOP_BAR; ?> <? echo TOP_BAR_TITLE; ?> </font></td>
         </tr>
       </table></td>
     </tr>
<?
   // create column list
   $define_list = array(
     'PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,
     'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,
     'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER, 
     'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE, 
     'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY, 
     'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT, 
     'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE, 
     'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW
   );
   asort($define_list);
 
   $column_list = array();
   reset($define_list);
   while (list($column, $value) = each($define_list)) {
     if ($value) $column_list[] = $column;
   }

   $select_column_list = '';

   for ($col=0; $col<sizeof($column_list); $col++) {
     if ($column_list[$col] == 'PRODUCT_LIST_BUY_NOW' ||
         $column_list[$col] == 'PRODUCT_LIST_NAME' ||
         $column_list[$col] == 'PRODUCT_LIST_PRICE')
       continue;

     if ($select_column_list != '')
       $select_column_list .= ', ';
     switch ($column_list[$col]) {
       case 'PRODUCT_LIST_MODEL':
         $select_column_list .= 'p.products_model';
         break;
       case 'PRODUCT_LIST_MANUFACTURER':
         $select_column_list .= 'm.manufacturers_name';
         break;
       case 'PRODUCT_LIST_QUANTITY':
         $select_column_list .= 'p.products_quantity';
         break;
       case 'PRODUCT_LIST_IMAGE':
         $select_column_list .= 'p.products_image';
         break;
       case 'PRODUCT_LIST_WEIGHT':
         $select_column_list .= 'p.products_weight';
         break;
     }
   }
   if ($select_column_list != '')
     $select_column_list .= ', ';

   if ($HTTP_GET_VARS['manufacturers_id']) {
     if ($HTTP_GET_VARS['filter_id']) {
       $listing_sql = "select " . $select_column_list . " p.products_id, p.products_name, p.manufacturers_id, p.products_price, s.specials_new_products_price, IFNULL(s.specials_new_products_price,p.products_price) as final_price from products p, manufacturers m, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and p2c.categories_id = '" . $HTTP_GET_VARS['filter_id'] . "' order by ";
     } else {
       $listing_sql = "select " . $select_column_list . " p.products_id, p.products_name, p.manufacturers_id, p.products_price, s.specials_new_products_price, IFNULL(s.specials_new_products_price,p.products_price) as final_price from products p, manufacturers m left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "' order by ";
     }
     $filterlist_sql = "select distinct c.categories_id as id, c.categories_name as name from products p, products_to_categories p2c, categories c where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p.manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "' order by c.categories_name";
   } else {
     if ($HTTP_GET_VARS['filter_id']) {
       $listing_sql = "select " . $select_column_list . " p.products_id, p.products_name, p.manufacturers_id, p.products_price, s.specials_new_products_price, IFNULL(s.specials_new_products_price,p.products_price) as final_price from products p, manufacturers m, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . $HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and p2c.categories_id = '" . $current_category_id . "' order by ";
     } else {
       $listing_sql = "select " . $select_column_list . " p.products_id, p.products_name, p.products_price, s.specials_new_products_price, IFNULL(s.specials_new_products_price,p.products_price) as final_price from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = '" . $current_category_id . "' order by ";
     }
     $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from products p, products_to_categories p2c, manufacturers m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . $current_category_id . "' order by m.manufacturers_name";
   }

   if (!$HTTP_GET_VARS['sort'] || !ereg("[1-8][ad]", $HTTP_GET_VARS['sort'])) {
     for ($col=0; $col<sizeof($column_list); $col++) {
       if ($column_list[$col] == 'PRODUCT_LIST_NAME') {
         $HTTP_GET_VARS['sort'] = $col+1 . 'a';
         $listing_sql .= "p.products_name";
       }
     }
   }
   else {
     $sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1);
     $sort_order = substr($HTTP_GET_VARS['sort'], 1);

     if ($sort_col <= sizeof($column_list)) {
       switch ($column_list[$sort_col-1]) {
         case 'PRODUCT_LIST_MODEL':
           $listing_sql .= "p.products_model " . ($sort_order == 'd' ? "desc" : "") . ", p.products_name";
           break;
         case 'PRODUCT_LIST_NAME':
           $listing_sql .= "p.products_name " . ($sort_order == 'd' ? "desc" : "");
           break;
         case 'PRODUCT_LIST_MANUFACTURER':
           $listing_sql .= "m.manufacturers_name " . ($sort_order == 'd' ? "desc" : "") . ", p.products_name";
           break;
         case 'PRODUCT_LIST_QUANTITY':
           $listing_sql .= "p.products_quantity " . ($sort_order == 'd' ? "desc" : "") . ", p.products_name";
           break;
         case 'PRODUCT_LIST_IMAGE':
           $listing_sql .= "p.products_name";
           break;
         case 'PRODUCT_LIST_WEIGHT':
           $listing_sql .= "p.products_weight " . ($sort_order == 'd' ? "desc" : "") . ", p.products_name";
           break;
         case 'PRODUCT_LIST_PRICE':
           $listing_sql .= "final_price " . ($sort_order == 'd' ? "desc" : "") . ", p.products_name";
           break;
       }        
     }
     else {
       for ($col=0; $col<sizeof($column_list); $col++) {
         if ($column_list[$col] == 'PRODUCT_LIST_NAME') {
           $HTTP_GET_VARS['sort'] = $col . 'a';
           $listing_sql .= "p.products_name";
         }
       }
     }
   }
?>
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <form>
         <tr>
           <td nowrap><?php echo FONT_STYLE_HEADING; ?> <? echo HEADING_TITLE; ?> </font></td>
<?
// optional Product List Filter
   if (PRODUCT_LIST_FILTER) {
     $filterlist = tep_db_query($filterlist_sql);
     if (tep_db_num_rows($filterlist) > 1) {
       echo '            <td align="center">' . FONT_STYLE_MAIN . "\n";
       echo '              ' . TEXT_SHOW . "\n";
       echo '              <select size="1" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">' . "\n";

       if ($HTTP_GET_VARS['manufacturers_id']) {
         $arguments = 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'];
       } else {
         $arguments = 'cPath=' . $cPath;
       }
       $arguments .= '&sort=' . $HTTP_GET_VARS['sort'];

       $option_url = tep_href_link(FILENAME_DEFAULT, $arguments, 'NONSSL');

       if (!$HTTP_GET_VARS['filter_id']) {
         echo '                <option value="' . $option_url . '" SELECTED>All' . "\n";
       } else {
         echo '                <option value="' . $option_url . '">All' . "\n";
       }

       echo '                <option value="">---------------' . "\n";
       while ($filterlist_values = tep_db_fetch_array($filterlist)) {
         $option_url = tep_href_link(FILENAME_DEFAULT, $arguments . '&filter_id=' . $filterlist_values['id'], 'NONSSL');
         if ($HTTP_GET_VARS['filter_id'] && $HTTP_GET_VARS['filter_id'] == $filterlist_values['id']) {
           echo '              <option value="' . $option_url . '" SELECTED>' . $filterlist_values['name'] . ' ' . "\n";
         } else {
           echo '              <option value="' . $option_url . '">' . $filterlist_values['name'] . ' ' . "\n";
         }
       }
       echo '              </select>' . "\n";
       echo '            </font></td>' . "\n";
     }
   }
// Get the right image for the top-right
   $image = DIR_WS_IMAGES . 'table_background_list.gif';
   if ($HTTP_GET_VARS['manufacturers_id']) {
     $image = tep_db_query("select manufacturers_image from manufacturers where manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "'");
     $image = tep_db_fetch_array($image);
     $image = $image['manufacturers_image'];
   } elseif ($current_category_id) {
     $image = tep_db_query("select categories_image from categories where categories_id = '" . $current_category_id . "'");
     $image = tep_db_fetch_array($image);
     $image = $image['categories_image'];
   }
?>
           <td align="right" nowrap> <? echo tep_image($image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> </td>
         </tr>
         </form>
       </table></td>
     </tr>
     <tr>
       <td><? echo tep_black_line(); ?></td>
     </tr>
     <tr>
       <td>
<? $include_file = DIR_WS_MODULES . 'product_listing.php'; include(DIR_WS_INCLUDES . 'include_once.php'); ?>
       </td>
     </tr>
   </table></td>
<?
 } else { // default page
?>
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="boxborder">
         <tr>
           <td bgcolor="<? echo TOP_BAR_BACKGROUND_COLOR; ?>" width="100%" nowrap><?php echo FONT_STYLE_TOP_BAR; ?> <? echo TOP_BAR_TITLE; ?> </font></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td nowrap><?php echo FONT_STYLE_HEADING; ?> <? echo HEADING_TITLE; ?> </font></td>
           <td align="right" nowrap> <? echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> </td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><? echo tep_black_line(); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
         <tr bgcolor="<? echo SUB_BAR_BACKGROUND_COLOR; ?>">
           <td nowrap><?php echo FONT_STYLE_SUB_BAR; ?> <? echo SUB_BAR_TITLE; ?> </font></td>
         </tr>
         <tr>
           <td><? echo tep_black_line(); ?></td>
         </tr>
         <tr>
           <td><?php echo FONT_STYLE_MAIN; ?><? echo TEXT_MAIN; ?></font></td>
         </tr>
<?
 $new_products_category_id = '0'; $include_file = DIR_WS_MODULES . FILENAME_NEW_PRODUCTS; include(DIR_WS_INCLUDES . 'include_once.php');
 $include_file = DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS; include(DIR_WS_INCLUDES . 'include_once.php');
?>
       </table></td>
     </tr>
   </table></td>
<?
 }
?>
<!-- body_text_eof //-->
   <td width="<? echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<? echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
     <tr>
       <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<? $include_file = DIR_WS_INCLUDES . 'column_right.php'; include(DIR_WS_INCLUDES . 'include_once.php'); ?>
<!-- right_navigation_eof //-->
       </table></td>
     </tr>
   </table></td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<? $include_file = DIR_WS_INCLUDES . 'footer.php'; include(DIR_WS_INCLUDES . 'include_once.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<? $include_file = DIR_WS_INCLUDES . 'application_bottom.php'; include(DIR_WS_INCLUDES . 'include_once.php'); ?>

 

Can you help with this?

Link to comment
Share on other sites

You also have a config.php page for admin... did you edit that?

 

I didn't edit that. I looked for the line like the one above to edit, but I did not see one like it. I hope I don't have to uninstall my store and start over!

Link to comment
Share on other sites

No, you don't need to do that, you just need to edit both configure.php files, so that the paths are correct. Did you get the images fixed, he said change FROM catalog/images/ TO images/ ! Look ata the entries you have in the configures. If any point more than one or two layers into your site they're probably wrong.

 

Jeremy

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...