Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin HELP needed


RGM

Recommended Posts

Posted

Hello,

I hope someone can help me. I am new to all this and doing my best to work on it but... I did all the installation and it was successful. I reached to the page where I should go either to "Catalogue" or "Administration Tools" but in both cases I receive the same error message

 

Catalog is:

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /OSC2/catalog/includes/application_top.php on line 288

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /OSC2/catalog/includes/application_top.php on line 288

 

Administration is:

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /OSC2/catalog/admin/includes/application_top.php on line 157

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /OSC2/catalog/admin/includes/application_top.php on line 157

 

Don't know what to do now :(

Please try to answer in a very simple way !!

Robert

Posted

check the paths in the configure.php file

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted
check the paths in the configure.php file

 

Thanks. Could you be more precise? I mean... I took a look and the adresses look correct.

Sorry for the silly question :)

Posted
Thanks. Could you be more precise? I mean... I took a look and the adresses look correct.

Sorry for the silly question :)

 

I made a copy of my file and this is the result... (I didn't copy the last part with user ID etc..)

 

<?php

define('HTTP_SERVER', 'http://www.irobert.it');

define('HTTP_CATALOG_SERVER', 'http://www.irobert.it');

define('HTTPS_CATALOG_SERVER', 'http://www.irobert.it');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/marameo/catalog/');

define('DIR_WS_ADMIN', '/marameo/catalog/admin/');

define('DIR_FS_ADMIN', '/marameo/catalog/admin/');

define('DIR_WS_CATALOG', '/marameo/catalog/');

define('DIR_FS_CATALOG', '/marameo/catalog/');

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

I hope someone can help me :)

Thanks

Robert

Posted

define('DIR_FS_DOCUMENT_ROOT', '/marameo/catalog/'); <--should be something more

define('DIR_FS_ADMIN', '/marameo/catalog/admin/'); <--should be something more

define('DIR_FS_CATALOG', '/marameo/catalog/'); <--should be something more

 

For example:

 

define('DIR_FS_DOCUMENT_ROOT', '/home/var/public_html/marameo/catalog/');

define('DIR_FS_ADMIN', '/home/var/public_html/marameo/catalog/admin/');

define('DIR_FS_CATALOG', '/home/var/public_html/marameo/catalog/'');

 

These are just examples. You need to find the full path to your catalog folder.

 

The red part is correct. You need to find out what goes before that which is the blue part.

Posted

You mean that if the full address is http://ABCD.it I should be the /ABCD/marameo/catalog/admin ?

 

Thanks so much... There is a lot I need to learn here but... I'll make it ;)

Posted
You mean that if the full address is http://ABCD.it I should be the /ABCD/marameo/catalog/admin ?
No. Nothing to do with the full address.

 

Try this.

 

define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT'].'/marameo/catalog/');

define('DIR_FS_ADMIN', $_SERVER['DOCUMENT_ROOT'].'/marameo/catalog/admin/');

define('DIR_FS_CATALOG', $_SERVER['DOCUMENT_ROOT'].'/marameo/catalog/');

Archived

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

×
×
  • Create New...