fdgloworm Posted April 16, 2008 Share Posted April 16, 2008 Hello all. I am trying to setup osCommerce for the first time, but I'm not completely new to working with websites and database backends. First I will describe my platform: HP laptop, AMD 2.8 GHz proc, 2 GB RAM, WinXP Pro SP2 with all updates, wampserver (Apache 2.2, PHP 5.2.4, MySQL 4.1). Web server directory is c:\wamp\www\oscommerce\*.* (did not use the catalog folder). I followed the installation instructions, and install page views correctly. I created a MySQL database called oscommerce with admin/<none> and all appropriate priv's, then I proceed through all steps of install and it says the installation and configuration was successful. When I click either Catalog or Administration Tool, I get the same general error - Warning: require(includes/languages/.php) [function.require.html]: failed to open stream: No such file or directory in C:\wamp\www\oscommerce\admin\includes\application_top.php on line 157 Fatal error: require() [function.require.html]: Failed opening required 'includes/languages/.php' (include_path='.;C:\php5\pear') in C:\wamp\www\oscommerce\admin\includes\application_top.php on line 157 This is for admin tool - the only difference is the catalog shows the error on line 288. I troubleshoot, and ifnd out the db wasn't populated. :( Didn't know I had to import the SQL myself, but no problem. Did that - still not fixed. I continue to troubleshoot and add $language=english; $languages_id=1; into .\includes\application-top.php, save file, refresh, now my catalog works. I attempt to add the same code into the .\admin\includes\application-top.php and I get this error now: Warning: http_build_query() [function.http-build-query.html]: Parameter 1 expected to be Array or Object. Incorrect value given. in C:\wamp\www\oscommerce\admin\login.php on line 40 Error! Unable to determine the page link! Function used: tep_href_link('', '', 'NONSSL') Any ideas on what is going on and why?? I can't find anything specific to this while searching the forums. FDgloworm Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.