Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

BIG PROBLEM


Vesper

Recommended Posts

I downloaded my entire oscomerce folder to my hard drive AND backed up my mySQL database, but I still have a problem

 

I deleted everything from the oscommerce folder because I installed a template and it was the only way I could uninstall, but now my site doesn't work, i get this error:

 

 

Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/httpd/vhosts/bearswim.com/httpdocs/oscomerce/catalog/includes/application_top.php on line 62

 

Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/bearswim.com/httpdocs/oscomerce/catalog/includes/application_top.php on line 62

 

what am i supposed to do?

Link to comment
Share on other sites

Looks like you deleted too much - the error shows that the includes/functions/database.php file is missing .... you probably have a whole bunch of others missing also as its only showing the first error.

 

Matti

Link to comment
Share on other sites

for some reason all of the files didn't upload, thanks for pointing this out.

 

Am I going to have to reinstall oscommerce through that whole process again, or should uploading all of my files and restoring the database be enough

Link to comment
Share on other sites

yeah that did it, although now i'm missing something

 

the thing in the upper left corner that starts off with Top--> and then describes your location is gone, I think i deleted it accidentaly, what file is that a part of and what should I add to bring it back?

 

you've been amazingly helpful so far ;)

Link to comment
Share on other sites

This is the entire header bar found in includes/header.php:

 

<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="headerNavigation">
   <td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>
   <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF . 'nbsp;' . $customer_first_name; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

 </tr>
</table>

 

 

Not quite sure how much of that you have missing. Its good to keep a fresh copy of the osCommerce files at hand so you can compare.

 

HTH

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...