Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help with error message


johnh

Recommended Posts

Posted

i installed oscommerce for my aunts little business... she started having a friend add products to the database... and all the sudden these error pop up... can anyone help with a fix

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site22/fst/var/www/html/catalog/includes/application_top.php on line 250

 

links

 

http://www.keepmeinstitches.com/catalog/default.php

 

http://www.keepmeinstitches.com/shopadmin/default.php

 

 

thanks in advance for your help

Posted

Looks like your configuration files may have gotten deleted or corrrupted somehow. You can re-run the domain.com/install/ and simply not import the catalog contents. That should setup all the dbase variables in all the nessisarry places without overwriting any products you have entered.

 

If the problem still occurs your dbase may have gotten moved/deleted/corrupted. In which case do the above but with the import catalog contents selected. You will need to reconfigure any settings you have made if you use this option.

 

config files are located in:

 

catalog/include/configure.php

catalog/admin/include/configure.php

catalog/admin/include/local/configure.php

 

You might check on them to see if they are still in tact before taking any extreme measures! :shock:

 

~Tim

Posted

i reran the install without importing the database, and still no luck. I'm stuck with the same error.

 

My aunt / uncle put in the all the products, is there anyway i can save them, reinstall the database, and put them back ( the products ) without having to do each one manually again?

 

thanks... anyone will to help can contact me via aim icq or msn.. all my info is below.

Posted

No messenger clients installed here, so I'll post...

 

The easiest way would be to use phpmyadmin and export the following tables:

 

categories

categories_description

products

products_description

products_to_categories

 

after that drop the database then re-add it, empty of course.

 

Run the osC installer again and import the default dbase.

 

see if it works...if so:

 

go back to phpmyadmin and empty (NOT drop) the tables listed above

 

then import the data you reviously exported into their respectve locations.

 

if it was working with the default products there is no reason I am aware of that it wouldn't work with your products imported back into the dbase. Assuming there are no duplicate keys, which there shouldn't be if you added them via the admin section.

 

~Tim

Posted

If you edit the /includes/configure.php files and are using $DOCUMENT_ROOT in any of the definitions can you set the path in there and see if that doesn't fix this?

 

I have been on your site before ... cute name by the way ... and it was working ... now, it's broke.

 

I think it's the configure.php files personally or something equally simple but elusive. :shock:

 

But try that fix and see if the magic happens.

Posted

Linda's suggestions is also very possibly your problem. I had that happen a while back...sometimes it's the simplest things that cause the most pain! :shock:

 

~Tim

Posted

I had the same problem this evening. I was making some changes to my (test) store and I got exactly the same problem. I was due an upgrade so uploaded Ians loaded november jobbie, but the problem did not go away.

 

Anyway, as a workaround, I made the following change to application.top:-

 

// include the language translations

// Tony change $language for english in the below

// require(DIR_WS_LANGUAGES . $language . '.php');

require(DIR_WS_LANGUAGES . 'english.php');

$current_page = split('?', basename($PHP_SELF)); $current_page = $current_page[0]; // for BadBlue(Win32) webserver compatibility

if (file_exists(DIR_WS_LANGUAGES . $language . '/' . $current_page)) {

include(DIR_WS_LANGUAGES . $language . '/' . $current_page);

}

 

 

It hasn't fixed the problem, but the symptom has gone away and I am back up and running.

Posted

clearly i have a bigger problem.. when i reinstall from scratch.. my admin section shows no products or cats...

 

but pics and prices show up on my cat page... but if you click on them says product doesn't exist.

 

reg cat list on cat page just shows 27, no list of cats

 

 

arg!

Posted

Yes I just saw that on the catalog side.

 

I can peek at your site if you like ... if you need some help.

 

Hit the email button button below, if you need some help ... preferably not the pm button as real emails are always better for me to deal with.

Archived

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

×
×
  • Create New...