chrometweaks.org

iPage how do check my traffic logs?

Click Here To View All Answers...


Got a question... iPage how do check my traffic logs? Thanks in advance for any answer or 2. Another quick question... I have just installed oscommerce ms2 and I try to do anything with it and as soon as I follow a link it comes up with:.

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/tristan/public_html/os/catalog/includes/application_top.php on line 285.

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tristan/public_html/os/catalog/includes/application_top.php on line 285.

Can any one help me???..

Comments (31)

I would like to know the answer too. Anyone here know what is the answer. I'll do some poking around and get back to you if I discover an anything. You should email the people at iPage as they probably can answer it..

Comment #1

Well...if you read the error message, application_top.php is looking for a file called ".php" that doesn't exist..

Probably there's an issue with your languages, since it's looking in the language directory for it. I would guess that you don't have a default language defined...

Comment #2

Configure file in catalog/includes/.

<?php.

/*.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

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

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

Define('HTTP_SERVER', 'http://www.133h.co.uk'); // eg,.

Http://localhost.

- should not be empty for productive servers.

Define('HTTPS_SERVER', ''); // eg,.

Https://localhost.

- should not be empty for productive servers.

Define('ENABLE_SSL', false); // secure webserver for checkout procedure?.

Define('HTTP_COOKIE_DOMAIN', 'www.133h.co.uk');.

Define('HTTPS_COOKIE_DOMAIN', '');.

Define('HTTP_COOKIE_PATH', '/os/catalog/');.

Define('HTTPS_COOKIE_PATH', '');.

Define('DIR_WS_HTTP_CATALOG', '/os/catalog/');.

Define('DIR_WS_HTTPS_CATALOG', '');.

Define('DIR_WS_IMAGES', 'images/');.

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

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_DOWNLOAD_PUBLIC', 'pub/');.

Define('DIR_FS_CATALOG', '/home/tristan/public_html/os/catalog/');.

Define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

Define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

// define our database connection.

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

Define('DB_SERVER_USERNAME', '');.

Define('DB_SERVER_PASSWORD', '');.

Define('DB_DATABASE', 'tristan_os');.

Define('USE_PCONNECT', 'false'); // use persistent connections?.

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

?>.

Configure file in catalog/admin/includes.

<?php.

/*.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

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

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

Define('HTTP_SERVER', 'http://www.133h.co.uk'); // eg,.

Http://localhost.

- should not be empty for productive servers.

Define('HTTP_CATALOG_SERVER', 'http://www.133h.co.uk');.

Define('HTTPS_CATALOG_SERVER', '');.

Define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module.

Define('DIR_FS_DOCUMENT_ROOT', '/home/tristan/public_html/os/catalog/'); // where the pages are located on the server.

Define('DIR_WS_ADMIN', '/os/catalog/admin/'); // absolute path required.

Define('DIR_FS_ADMIN', '/home/tristan/public_html/os/catalog/admin/'); // absolute pate required.

Define('DIR_WS_CATALOG', '/os/catalog/'); // absolute path required.

Define('DIR_FS_CATALOG', '/home/tristan/public_html/os/catalog/'); // 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', 'localhost'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', '');.

Define('DB_SERVER_PASSWORD', '');.

Define('DB_DATABASE', 'tristan_os');.

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

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

?>.

This post has been edited by.

Trma97.

: 29 January 2004, 15:23..

Comment #3

Try removing the '/' at the end of your document root..

Comment #4

The admin area works but the public area still says the error, I try to change the config file for the public iPage site to be the same as the admin one but it comes up with:.

Fatal error: Call to a member function on a non-object in /home/tristan/public_html/os/catalog/includes/application_top.php on line 309..

Comment #5

Comment out the line.

Define('DIR_FS_CATALOG', '/home/tristan/public_html/os/catalog/');.

And add this in it's place, and try.

Define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));..

Comment #6

You have an extra '/' somewhere now, as I was able to get to:.

Http://www.133h.co.uk/os/catalog//.

And now that you are getting session errors, try removing 'mysql' from your configure.php file, see what that does.

This post has been edited by.

Mibble.

: 29 January 2004, 16:05..

Comment #7

It now comes up with:.

Fatal error: Call to a member function on a non-object in /home/tristan/public_html/os/catalog/includes/application_top.php on line 309..

Comment #8

Hi.

Don't know if it will help. But I just had the same error when I deleted the default English (having created a UK english) - turned out I had forgot to put 'english' in the directory on the new language I created..

Christine..

Comment #9

Look at your application_top.php around line 309 (where the error occurred) and see what's there. You might want to post lines 305-315 or so for us to look at...

Comment #10

I have just installed oscommerce ms2 and I try to do anything with it and as soon as I follow a link it comes up with:.

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/tristan/public_html/os/catalog/includes/application_top.php on line 285.

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tristan/public_html/os/catalog/includes/application_top.php on line 285.

Can any one help me???..

Comment #11

Could be a few things, your configure.php files are not set right, or some of the files you modified have 'garbage' in them, most likely the configure.php files, post them here without the database info..

Make sure there are no lines without commands by themself, sometimes the text after // gets dropped to the next line and causes all kinds of problems..

Comment #12


This question was taken from a support group/message board and re-posted here so others can learn from it.