Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Errors in install? Help!


whitesosa

Recommended Posts

Here is my url www.skye-candy.com. Below are my errors. Any idea what I have to do to fix these and get my site working?

 

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/ivnettv/public_html/skye-candy.com/includes/application_top.php on line 299

 

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/ivnettv/public_html/skye-candy.com/includes/application_top.php on line 299

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ivnettv/public_html/skye-candy.com/includes/application_top.php on line 299

Link to comment
Share on other sites

Here is my url www.skye-candy.com. Below are my errors. Any idea what I have to do to fix these and get my site working?

You have an incorrect path in your configure.php files. Use you hosts cPanel and find your COMPLETE path to your store to use in your configure.php files.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Here is my configure.php file. I looked in my cpanel and it gives me the location public/skye-candy.com... I tried that and it is not working. I put it back to the original path for now... Any ideas?

 

<?php

define('HTTP_SERVER', 'http://skye-candy.com');

define('HTTPS_SERVER', 'http://skye-candy.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'skye-candy.com');

define('HTTPS_COOKIE_DOMAIN', 'skye-candy.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_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/ivnettv/public_html/skye-candy.com/');

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

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

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'VOID');

define('DB_SERVER_PASSWORD', 'VOID');

define('DB_DATABASE', 'ivnettv_skye');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Link to comment
Share on other sites

Actually those look right. What might be happening is that you do not have a default language defined. Have you actually ran the installation script at yourdomain.com/install ?? If you did, and followed directions, then you should have removed your install directory, but you have not. So, did you run the install script?

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Then, assuming you did run the install and it completed without errors, check the database for the following:

 

Open the configuration table and browse it for the Default Language and see if it has a value of 'en' on that row.

Open the languages table and browse it for a corresponding row showing the directory to be 'english'

 

Then check your files to be sure you have a directory at...

 

public_html/skye-candy.com/includes/languages/english

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

I went into the configuration table and there is 21 entries (rows) and none of them are Default Language! This may be the problem...

 

Also under configuration group table there is 2 entries with latin1_swedish_ci in there. Is this a problem?

Link to comment
Share on other sites

I went into the configuration table and there is 21 entries (rows) and none of them are Default Language! This may be the problem...

 

Also under configuration group table there is 2 entries with latin1_swedish_ci in there. Is this a problem?

I would say that not having a default language is definitely a problem. Look at the error...

 

require(includes/languages/.php)

 

This has no filename before the .php which would normally be 'english'

 

If this is a new install I would not spend any more time on it and just start over. No need to delete any of the db as the routine will delete a table if it exists before it creates it.

 

What makes me more suspicious is that you cannot browse to your stylesheet.css file. Something that you should be able to do. This tells me that the install failed somewhere along the line. Probably about the part where it creates the default language?

 

I'd just wipe the files, re upload the install package and run the installer again to see if you get the same results.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

I got it installed and working just have this warning at the top of the website.

 

Warning: I am able to write to the configuration file: /home/ivnettv/public_html/skye-candy.com/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
Link to comment
Share on other sites

I got it installed and working just have this warning at the top of the website.

That is a completely expected informational message. It is explained on the page.

 

configure.php files are files that should not be capable of being written to by anyone else but you. Therefore, the page instructs you to change the permissions of the files to prevent changes to it.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...