Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to proceed past Step 7 of install


Cetlin

Recommended Posts

Posted

I ran thru the install.. hit step seven, gives me the buttons for catalog and admin. Either one I hit gives me the following error...

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/tincel/public_html/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/tincel/public_html/catalog/includes/application_top.php on line 285

 

Any help here?

 

I re-uploaded a bunch of .php files in ASCII in the admin folders just in case AceFTP uploaded them in binary...

 

I reset the permissions on the configure files to 644

 

Thanks for any help...

 

Royce

Posted

It can't find the languages files inside the 'languages' folder, so check the permissions on your folder. Try 755, but only if that does not work then try 777 (this is a security risk as it gives full permissions - but is necessary with some hosting setups).

 

Vger

Posted

I'm having the same problem, with the correct access permission. If you pay more attention to the error information, you will notice that it's looking for "language/.php" -- there is no language name. Probably that's the real reason?

 

It can't find the languages files inside the 'languages' folder, so check the permissions on your folder. Try 755, but only if that does not work then try 777 (this is a security risk as it gives full permissions - but is necessary with some hosting setups).

 

Vger

Posted
It can't find the languages files inside the 'languages' folder, so check the permissions on your folder. Try 755, but only if that does not work then try 777 (this is a security risk as it gives full permissions - but is necessary with some hosting setups).

 

Vger

 

I 777'd the language folder in the main dir and the admin dir...

 

I also copied the application into my UltraEdit 32 and here's a clip of the code with the language reference...

 

// set the language

if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) {

if (!tep_session_is_registered('language')) {

tep_session_register('language');

tep_session_register('languages_id');

}

 

include(DIR_WS_CLASSES . 'language.php');

$lng = new language();

 

if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) {

$lng->set_language($HTTP_GET_VARS['language']);

} else {

$lng->get_browser_language();

}

 

$language = $lng->language['directory'];

$languages_id = $lng->language['id'];

}

 

// include the language translations

require(DIR_WS_LANGUAGES . $language . '.php');

 

I do appreciate all the help by the way...

 

I'm hoping messing with this will give me the ability to turn around and help others...

Posted
I'm having the same problem, with the correct access permission. If you pay more attention to the error information, you will notice that it's looking for "language/.php" -- there is no language name. Probably that's the real reason?

 

The normal reason for that error is because it can't find the language file inside the language folder - because it can't access it.

 

Also check that the english.php file (or your language if different) has permissions of 644.

 

Also check that the file does exist.

 

Finally check your pathways in includes/configure.php

 

Vger

Posted
I ran thru the install.. hit step seven, gives me the buttons for catalog and admin. Either one I hit gives me the following error...

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/tincel/public_html/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/tincel/public_html/catalog/includes/application_top.php on line 285

 

Any help here?

 

I re-uploaded a bunch of .php files in ASCII in the admin folders just in case AceFTP uploaded them in binary...

 

I reset the permissions on the configure files to 644

 

Thanks for any help...

 

Royce

 

The problem is that the language file is not being named 'includes/languages/.php' this should read

 

'includes/languages/english.php'

 

The language setting is pulled from the database, the only times I have had this error message come up was when there ended up being a database problem.

 

What I would try is to go to phpmyadmin from your hosting control panel and repopulate the database manually using the provided sql file.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
The problem is that the language file is not being named 'includes/languages/.php' this should read

 

'includes/languages/english.php'

 

The language setting is pulled from the database, the only times I have had this error message come up was when there ended up being a database problem.

 

What I would try is to go to phpmyadmin from your hosting control panel and repopulate the database manually using the provided sql file.

 

I did the edit and got...

 

1142 - DELETE command denied to user: 'tincel_menage@localhost' for table 'whos_online'

 

delete from whos_online where time_last_click < '1140317470'

 

[TEP STOP]

 

I checked the pathways in the configure.php

 

This is the only line referring to language

 

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

 

I didn't even try to figure out how to repopulate the db using phpmyadmin

Posted

Okay... I solved it all... Almost...

 

I deleted and re-uploaded the entire set of files, in ASCII (I used AceFTP and the last time I did, I set it on auto). I ran the install again, with the permissions set correctly on the config files.

 

The admin page worked. I was still getting the delete error thingy, and then slapped myself on the forehead when I realized that it was a SQL error, so I went back and gave the user DELETE permission, apparently it's a tracking issue within the db, and then it all worked!

 

Huzzah!

 

Now, it's just a matter of going back and uploading the gifs, jpgs and everything else in the correct format, i.e. binary, or auto which seems to work as a number of images were corrupt, or broken...

 

Thank you all for your help!

 

Royce

~Now a proud osCommerce user...

Archived

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

×
×
  • Create New...