Guest Posted September 16, 2002 Share Posted September 16, 2002 We have the same problem posted earlier about the tax being included in the price of the item and I just tried to change the setting to fix it, which seemed simple enough, but when I did it I got an error message. First of all this what the code looks like after I changed it in Appication Top.php: // customization for the design layout define('TAX_DECIMAL_PLACES', 0); // Pad the tax value this amount of decimal places define('DISPLAY_PRICE_WITH_TAX', false); // Display prices with tax (true) or without tax (false) define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) This is the error message I now get: Parse error: parse error, unexpected T_LNUMBER in /u213/emartin0/catalog/includes/application_top.php on line 214 Fatal error: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='.:/usr/local/php/include') in /u213/emartin0/catalog/default.php on line 33 Line 214 of application_top.php reads: if (PHP_VERSION 4) { Line 33 of default.php reads: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); You can see the website at http://www.deliciousbouquets.com/catalog Here is my server info, if it helps: Server OS: Linux 2.2.19-ext3+ow+aic-2 Database: MySQL 3.22.32 HTTP Server: Apache/1.3.12 (Unix) AuthMySQL/2.30 mod_ssl/2.6.4 OpenSSL/0.9.5 PHP Version: 4.2.2 (Zend: 1.2.0) PLEASE>>>>Any help would be GREATLY appreciated! James Link to comment Share on other sites More sharing options...
Guest Posted September 16, 2002 Share Posted September 16, 2002 Okay.....I fixed it....but this is what happenned: I use Dreamweaver MX to edit the code, which I have done countless of times with osCommerce. But if I just saved the application_top.php file without making any changes and then uploaded it, I got the same error message mentioned above. So out of desperation, I went back to my copy of the original snapshot and edited the tax value to false in Notepad and uploaded it. That worked just fine! Has anyone else had any problems using Dreamweaver MX to edit your code? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.