Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

define languages warning in admin


milkypop

Recommended Posts

Hi,

 

I have just installed the option type contribution and everything on the catalog end is working fine. Unfortunately there are two big problems in ADMIN:

 

the first-

 

"Warning: dir(/home/content/m/i/l/milkypop/html/includes/languages/english): failed to open dir: No such file or directory in /home/content/m/i/l/milkypop/html/catalog/admin/define_language.php on line 152

 

english.php"

 

in admin. It could just be because I'm staring at these files for hours on end, or that it's very late, but it's not making sense at all.

 

the second-

 

None of the Admin modules are working, they simply display the following text:

Module Directory: /home/content/m/i/l/milkypop/html/includes/modules/payment/

Module Directory: /home/content/m/i/l/milkypop/html/includes/modules/shipping/

Module Directory: /home/content/m/i/l/milkypop/html/includes/modules/order_total/

 

I have searched the forums for days and have tried all the little fixes that seemed to work for everyone else with no luck.

 

Could this problem be related to the first?

 

My admin configure.php file is fine and there should be no error, but I will post it anyway:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.milkypop.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.milkypop.com');

define('HTTPS_CATALOG_SERVER', 'https://www.milkypop.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/m/i/l/milkypop/html/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/content/m/i/l/milkypop/html/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/content/m/i/l/milkypop/html/'); // absolute path required

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/');

 

 

// define our database connection

define('DB_SERVER', '*'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*');

define('DB_SERVER_PASSWORD', '*');

define('DB_DATABASE', '*');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

Thanks very much for your help!

 

Megan

Link to comment
Share on other sites

Hi,

 

I have just installed the option type contribution and everything on the catalog end is working fine.  Unfortunately there are two big problems in ADMIN:

 

the first-

 

"Warning: dir(/home/content/m/i/l/milkypop/html/includes/languages/english): failed to open dir: No such file or directory in /home/content/m/i/l/milkypop/html/catalog/admin/define_language.php on line 152

 

english.php"

 

in admin.  It could just be because I'm staring at these files for hours on end, or that it's very late, but it's not making sense at all. 

 

the second-

 

None of the Admin modules are working, they simply display the following text:

Module Directory: /home/content/m/i/l/milkypop/html/includes/modules/payment/

Module Directory: /home/content/m/i/l/milkypop/html/includes/modules/shipping/

Module Directory: /home/content/m/i/l/milkypop/html/includes/modules/order_total/

 

I have searched the forums for days and have tried all the little fixes that seemed to work for everyone else with no luck.

 

Could this problem be related to the first?

 

My admin configure.php file is fine and there should be no error, but I will post it anyway:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

  define('HTTP_SERVER', 'http://www.milkypop.com'); // eg, http://localhost - should not be empty for productive servers

  define('HTTP_CATALOG_SERVER', 'http://www.milkypop.com');

  define('HTTPS_CATALOG_SERVER', 'https://www.milkypop.com');

  define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

  define('DIR_FS_DOCUMENT_ROOT', '/home/content/m/i/l/milkypop/html/catalog/'); // where the pages are located on the server

  define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

  define('DIR_FS_ADMIN', '/home/content/m/i/l/milkypop/html/catalog/admin/'); // absolute pate required

  define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

  define('DIR_FS_CATALOG', '/home/content/m/i/l/milkypop/html/'); // absolute path required

  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/');

 

 

// define our database connection

  define('DB_SERVER', '*'); // eg, localhost - should not be empty for productive servers

  define('DB_SERVER_USERNAME', '*');

  define('DB_SERVER_PASSWORD', '*');

  define('DB_DATABASE', '*');

  define('USE_PCONNECT', 'false'); // use persisstent connections?

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

Thanks very much for your help!

 

Megan

 

the warning says that it cannot find this directory:

 

dir(/home/content/m/i/l/milkypop/html/includes/languages/english)

 

so check if you have that directory

Treasurer MFC

Link to comment
Share on other sites

the warning says that it cannot find this directory:

 

dir(/home/content/m/i/l/milkypop/html/includes/languages/english)

 

so check if you have that directory

 

if it's looking for /catalog/includes/languages/english/, i definitely do have that directory.

 

if it's looking for /includes/languages/english, it shouldn't be. which file(s) do i edit to fix this problem? to get it to point to the right directory... if, in fact, it is pointing to the wrong directory.

 

Thanks for the quick response.

Link to comment
Share on other sites

if it's looking for /catalog/includes/languages/english/, i definitely do have that directory.

 

if it's looking for /includes/languages/english, it shouldn't be.  which file(s) do i edit to fix this problem?  to get it to point to the right directory... if, in fact, it is pointing to the wrong directory.

 

Thanks for the quick response.

 

 

like the warning says:

 

it is looking for this directory:

 

/home/content/m/i/l/milkypop/html/includes/languages/english

 

 

like you defined with :

 

define('DIR_FS_CATALOG', '/home/content/m/i/l/milkypop/html/');

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

Treasurer MFC

Link to comment
Share on other sites

  • 10 months later...

Archived

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

×
×
  • Create New...