This is a discussion on Fatal error within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; When i try to install oscommers i get this message: New Installation Please customize the new installation with the following ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| When i try to install oscommers i get this message: New Installation Please customize the new installation with the following options: Import Catalog Database: Fatal error: Call to undefined function: osc_draw_checkbox_field() in /free1go/d/h/www.dharmaimport.1go.dk/catalog/install/templates/pages/install.php on line 24 can you help me? |
|
#2
| ||||
| ||||
| line 24 looks like so: Code: <?php echo osc_draw_checkbox_field('install[]', 'database', true); ?>
The index.php page has 2 seperate require statements: 1. require('includes/application.php'); 2. require('templates/main_page.php'); If we open /templates/main_page.php and look at the source code we see that the only other pages this page calls are the header and the footer.php's which after a quick look, contain no function calls or require statements to speak of. So we are forced to look at 1. require('includes/application.php'); And if we open this page and look at the source code we notice that there is only a few require statements here, and they are as follows: require('includes/functions/general.php'); require('includes/functions/database.php'); require('includes/functions/html_output.php'); We see that all functions used in the installation of max are called right from this file, /install/includes/application.php and if we do a quick grep or text search on the original source files we find this on line 45 of html_output.php Code: function osc_draw_checkbox_field($name, $value = '', $checked = false) {
return osc_draw_selection_field($name, 'checkbox', $value, $checked);
}
__________________ Clifton Murphy CEO/CTO Hyperactive Inc. osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists! |
|
#3
| |||
| |||
| Thanx red_fraggle. You have right! /install/includes/html_output.php file is missing from the directory (should it realy be there in the first place?). I have downloaded two vesions from oscommerce.com (2.2 and 2.2 without global reg) and I can't find this file on any of the downloaded directories... im confused... and a newbie... |
|
#4
| ||||
| ||||
| I just downloaded it from oscommerce.com to make sure i wasnt crazy. This problem might be from you unzipping the file and not using "preserve directory structure". make sure when you extract the files, you have a catalog/ directory with 6 different sup-directories in it, they are as follows admin download images includes install pub
__________________ Clifton Murphy CEO/CTO Hyperactive Inc. osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists! |
|
#5
| |||
| |||
| I've the same problem. There IS (and is correct) html_output.php in my /catalog/install/includes/functions , but there is " Fatal error: Call to undefined function: osc_draw_checkbox_field() in /home/httpd/shop/catalog/install/templates/pages/install.php on line 24" too. Any ideas? Greetings |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fatal error plz help | uglyrain | osCMax v2 Installation issues | 1 | 11-30-2005 03:28 PM |
| Fatal error!! | newtothis | osCMax v2 Installation issues | 1 | 07-13-2005 04:48 PM |
| Fatal Error | Anonymous | osCMax v1.7 Discussion | 3 | 06-17-2004 06:28 AM |
| Fatal error...... | depayva | osCMax v1.7 Installation | 2 | 12-05-2003 11:39 AM |
| Fatal error | swisscheese | osCommerce 2.2 Installation Help | 2 | 01-11-2003 10:54 AM |