treelo Posted April 5, 2004 Posted April 5, 2004 my config looks like: define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'languages/'); but im getting permanent language errors along the lines of: Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\catalog\includes\application_top.php on line 285 now the file in question isnt even that big/long so im not sure exactly what has gone wrong when i change the config to: define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/english'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'languages/english'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'languages/english'); the admin panel works to a degree but the rest of the site still brings up this error: Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\catalog\includes\application_top.php on line 285 anyone shed any light or help me out?
Brocksburn Posted April 5, 2004 Posted April 5, 2004 Hi treelo, Your configure.php settings look ok to me (they're the same as mine, which works), but this: Fatal error: Failed opening required 'includes/languages/.php' suggests osC doesn't know which language to look for because the language filename is null. Do you have a default language selected in the Localization/Languages section in your store admin? Cheers, Ellie
treelo Posted April 5, 2004 Author Posted April 5, 2004 it wont let into the admin part because of the language error whenever i click a link on the main site im getting: Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\catalog\includes\application_top.php on line 285 admin is just showing: Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\catalog\admin\includes\application_top.php on line 130 im pretty good at php but have no idea whats gone wrong here as far as i can see there is no default file for the language settings
okanzor Posted April 23, 2004 Posted April 23, 2004 Does anybody have the solution, I have the same problem and I don't know where to begin. PLEASE HELP
trogette Posted October 28, 2005 Posted October 28, 2005 bump!! Not sure if it's specific to phpdev installations or what, and I sorted it out before but I can't remember how now, think it was something to do with a typo in the script, a space where there shouldn't be one in a language define but I can't find it. Sods law that I re-installed it for no good reason either, doh!
trogette Posted October 29, 2005 Posted October 29, 2005 bump!! Not sure if it's specific to phpdev installations or what, and I sorted it out before but I can't remember how now, think it was something to do with a typo in the script, a space where there shouldn't be one in a language define but I can't find it. Sods law that I re-installed it for no good reason either, doh! Interesting, I was using phpdev before, switched to xampp with php4 and it's fine, though I did create the database before installing instead of allowing the install program to create the database.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.