Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Create account is producing a black screen


tchsantafe

Recommended Posts

Posted

http://www.atouchofsantafe.com/shopping/ca...ate_account.php

 

It produces a black screen. Any help would be greatly appreciated.

 

There is another issue also. I recently added the admin mod which allows you to create custom fields for new user accounts and when I went to edit a custom field that I created I got this error: Call to undefined function: tep_get_customers_extra_fields_name() in /home/content/a/t/s/atsfadmin/html/shopping/catalog/admin/extra_fields.php on line 205

 

on line 205 of that file it says:

 

$field_inputs_string .= '<br>'. tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('fields_name[' . $languages[$i]['id'] . ']',tep_get_customers_extra_fields_name($fInfo->fields_id, $languages[$i]['id']));

}

Posted

<right-click> -> "View source" -> Page down to the bottom:

 

<!-- // BOF Customers extra fields -->
<font color="#000000"><b>1146 - Table 'ato0905510165251.TABLE_EXTRA_FIELDS' doesn't exist<br><br>select ce.fields_id, ce.fields_input_type, ce.fields_required_status, cei.fields_name, ce.fields_status, ce.fields_input_type, ce.fields_size from TABLE_EXTRA_FIELDS ce, TABLE_EXTRA_FIELDS_INFO cei where ce.fields_status=1 and ce.fields_required_status=1 and cei.fields_id=ce.fields_id and cei.languages_id =1<br><br><small><font color="#ff0000">[TEP STOP]</font></small><br><br></b></font>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

SQL query:

 

CREATE TABLE extra_fields(

 

fields_id int( 11 ) NOT NULL AUTO_INCREMENT ,

fields_input_type int( 11 ) NOT NULL default '0',

fields_input_value text NOT NULL ,

fields_status tinyint( 2 ) NOT NULL default '0',

fields_required_status tinyint( 2 ) NOT NULL default '0',

fields_size int( 5 ) NOT NULL default '0',

fields_required_email tinyint( 2 ) NOT NULL default '0',

PRIMARY KEY ( fields_id )

) ENGINE = MYISAM DEFAULT CHARSET = utf8;

 

 

 

MySQL said:

 

#1050 - Table 'extra_fields' already exists

Posted

Not familiar with that contribution.

 

When you get UPPER_CASE ERRORS like that, my first guess would be that it was supposed to be defined somewhere, like /includes/database_tables.php

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...