motavenda Posted December 17, 2007 Posted December 17, 2007 My host (BlueHost) has been upgradind and I suddenly had a warning on my cart to enable global registers. I did that in a php.ini file and now I'm getting: Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/innerwor/public_html/shopping/includes/application_top.php on line 287 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/php4/lib/php') in /home/innerwor/public_html/shopping/includes/application_top.php on line 287 line 287 reads: // include the language translations require(DIR_WS_LANGUAGES. $language . '.php'); So, somehow is doen't know to default $language to 'english.php" Is there someplace to set that? I've been trying for the past 10 hours to fix this...but no luck yet. And ideas? Thanks!
motavenda Posted December 17, 2007 Author Posted December 17, 2007 fixed iit by changing my php.ini contents to: register_globals = 1
Recommended Posts
Archived
This topic is now archived and is closed to further replies.