Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trouble with Languages


Spiceworld

Recommended Posts

Hi hope someone can help me.

I installed Define Mainpage Modf and now i get this error.

 

Warning: Failed opening 'includes/languages//define_mainpage.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/*****/*******/htdocs/shop/index.php on line 307

 

 

I've spent hours going through the forums, but have found nothing that works.

 

Cheers in advance

Link to comment
Share on other sites

I think there is somthing wrong in your setting of include path.

Because

Warning: Failed opening 'includes/languages//define_mainpage.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/*****/*******/htdocs/shop/index.php on line 307

 

'includes/languages//define_mainpage.php'

The "//" should be "/".

 

Hope this can help :)

Fan of OSC system.................

Comming From China.............

Link to comment
Share on other sites

this is the line

 

<td class="main"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></td>

 

and your error

'includes/languages//define_mainpage.php'

 

check your catalog/includes/configure.php file for

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

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

hello

I installed this and have gone over the instuction. and I get

 

404 file not found..when I click on the Define main page in

the admin

on the left column under the catalog group

 

 

The requested URL /catalog/admin/FILENAME_DEFINE_MAINPAGE was not found on this server.

 

Apache/1.3.27 Server at www.books4u2.com Port 80

 

 

can anyone help me figure this out..

 

thank you

Noami

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...