Guest Posted September 6, 2006 Share Posted September 6, 2006 I just upgraded to OSC 2.2.4 and it blew all my extra fields mods. Argh. I had to go in and create a new test account and I found Fatal error: Call to undefined function: tep_get_extra_fields() in /home/u3/mydomain/html/osc/create_account.php on line 495 Anyone else have this problem? Can I upload the older local files, or would that be a bad idea? Never mind, I figured it out! :) Quote Link to comment Share on other sites More sharing options...
romantix Posted September 8, 2006 Share Posted September 8, 2006 Hi, I have followed all the steps correctly (I think) but when I try to login into the Admin area - it asks for the user ID and password and then gives me the following Error: Parse error: syntax error, unexpected '<' in /home/gourmet/public_html/shop/admin/includes/filenames.php on line 52 I am not sure what the problem is? Please help :) I am including the contents of the 'filenames.php' file below: Thank you for your help Jan Mares [email protected] <?php /* $Id: filenames.php,v 1.1 2003/06/20 00:18:30 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // define the filenames used in the project define('FILENAME_BACKUP', 'backup.php'); define('FILENAME_BANNER_MANAGER', 'banner_manager.php'); define('FILENAME_BANNER_STATISTICS', 'banner_statistics.php'); define('FILENAME_CACHE', 'cache.php'); define('FILENAME_CATALOG_ACCOUNT_HISTORY_INFO', 'account_history_info.php'); define('FILENAME_CATEGORIES', 'categories.php'); define('FILENAME_CONFIGURATION', 'configuration.php'); define('FILENAME_COUNTRIES', 'countries.php'); define('FILENAME_CURRENCIES', 'currencies.php'); define('FILENAME_CUSTOMERS', 'customers.php'); define('FILENAME_DEFAULT', 'index.php'); define('FILENAME_DEFINE_LANGUAGE', 'define_language.php'); define('FILENAME_FILE_MANAGER', 'file_manager.php'); define('FILENAME_GEO_ZONES', 'geo_zones.php'); define('FILENAME_LANGUAGES', 'languages.php'); define('FILENAME_MAIL', 'mail.php'); define('FILENAME_MANUFACTURERS', 'manufacturers.php'); define('FILENAME_MODULES', 'modules.php'); define('FILENAME_NEWSLETTERS', 'newsletters.php'); define('FILENAME_ORDERS', 'orders.php'); define('FILENAME_ORDERS_INVOICE', 'invoice.php'); define('FILENAME_ORDERS_PACKINGSLIP', 'packingslip.php'); define('FILENAME_ORDERS_STATUS', 'orders_status.php'); define('FILENAME_POPUP_IMAGE', 'popup_image.php'); define('FILENAME_PRODUCTS_ATTRIBUTES', 'products_attributes.php'); define('FILENAME_PRODUCTS_EXPECTED', 'products_expected.php'); define('FILENAME_REVIEWS', 'reviews.php'); define('FILENAME_SERVER_INFO', 'server_info.php'); define('FILENAME_SHIPPING_MODULES', 'shipping_modules.php'); define('FILENAME_SPECIALS', 'specials.php'); define('FILENAME_STATS_CUSTOMERS', 'stats_customers.php'); define('FILENAME_STATS_PRODUCTS_PURCHASED', 'stats_products_purchased.php'); define('FILENAME_STATS_PRODUCTS_VIEWED', 'stats_products_viewed.php'); define('FILENAME_TAX_CLASSES', 'tax_classes.php'); define('FILENAME_TAX_RATES', 'tax_rates.php'); define('FILENAME_WHOS_ONLINE', 'whos_online.php'); define('FILENAME_ZONES', 'zones.php'); define('FILENAME_EXTRA_FIELDS','extra_fields.php'); ?> Quote Link to comment Share on other sites More sharing options...
bobg7 Posted September 8, 2006 Share Posted September 8, 2006 Try this: define('FILENAME_ZONES', 'zones.php'); define('FILENAME_EXTRA_FIELDS', 'extra_fields.php'); ?> Note I removes the extra line and added a space between FIELDS', 'extra Quote Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
romantix Posted September 10, 2006 Share Posted September 10, 2006 Hi, I'm so sorry to ask this question - I think I finally got rid of all the Error messages but when I look for this after I log in - I can't find it anywhere! Would you please tell me where this suppose to appear? Thank you so much, Jan :rolleyes: Quote Link to comment Share on other sites More sharing options...
mojco Posted September 10, 2006 Share Posted September 10, 2006 Admin can add/edit/delete extra fields for customers and set up field name, field type (input field, textarea field) and field required status (true, false). Customers see extra fields when he create or edit own account. If you have any queries, bug reports, praise or derision, don't hesitate. I have made everything as mentioned in documentation and now when I try to create new account as new customer I get only blank page (without error message). Does somebody know way? Thanks a lot. Vlado Quote Link to comment Share on other sites More sharing options...
Vantalk Posted September 11, 2006 Share Posted September 11, 2006 Well the install instructions have some small bugs. So go through and see if you included them, cause you shouldn't: At: "5.In admin/includes/filename.php Add the following lines: define('FILENAME_EXTRA_FIELDS','extra_fields.php');<br><br>" Reomve the: <br><br> Same goes for step 7: "7. In admin/includes/languages/english/customers.php Add line: define('CATEGORY_EXTRA_FIELDS','Extra fields');<br><br>" Remove the: <br><br> See if that works Quote Link to comment Share on other sites More sharing options...
Lao Posted September 21, 2006 Share Posted September 21, 2006 So, my problem is: When a customer enters his/her's social security number it doesn't show in Admin/Customers nor in invoice. If I enter that customer's account and modify myself that social security number it's not remembered by the Admin, it turns blank i f I re-enter customer's account after the operation. Any one know what's the problem?? Vantalk, pentru problema mea ai rezolvare? Daca da, cum? Quote Sorry for my bad english language! Link to comment Share on other sites More sharing options...
coder1ab Posted September 21, 2006 Share Posted September 21, 2006 I just installed this contribution...my 1st contribution with osc. I have 1 problem that I see right now. When I click on Create New Account, I get the following error: Fatal error: Call to undefined function: tep_get_extra_fields() in /web/collegiate/create_account.php on line 488 Please help! P.S. It was pretty easy to install, and seems so versatile. Thanks for your contribution. Quote Link to comment Share on other sites More sharing options...
Lao Posted September 22, 2006 Share Posted September 22, 2006 Did you solved that error? Are your extra fields remembered when a customer creates a new account? Can you see the new fields in admin or in invoice? Quote Sorry for my bad english language! Link to comment Share on other sites More sharing options...
coder1ab Posted September 22, 2006 Share Posted September 22, 2006 Did you solved that error? Are your extra fields remembered when a customer creates a new account? Can you see the new fields in admin or in invoice? Quote Link to comment Share on other sites More sharing options...
coder1ab Posted September 22, 2006 Share Posted September 22, 2006 Did you solved that error? Are your extra fields remembered when a customer creates a new account? Can you see the new fields in admin or in invoice? Thanks for asking. I got it resolved with help from another programmer I know. I am very new yet with php. Extra Fields are PERFECT! Quote Link to comment Share on other sites More sharing options...
Lao Posted September 22, 2006 Share Posted September 22, 2006 Did you do something different in the instalation process? I can't make it to remember whatever the text is written by a cutomer. I can't see the data (in admin or invoice) that a customer inputs when he creates an account. Quote Sorry for my bad english language! Link to comment Share on other sites More sharing options...
Lao Posted September 28, 2006 Share Posted September 28, 2006 Helllooo!!! Anybodyyyy!!! Quote Sorry for my bad english language! Link to comment Share on other sites More sharing options...
inkandpixel Posted October 2, 2006 Share Posted October 2, 2006 Has anyone attempted to add drop-down menus? I am looking to give the user predefined values to choose for their account. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Lao Posted October 2, 2006 Share Posted October 2, 2006 I still can't get past my problem and no one knows what's the problem. :( Quote Sorry for my bad english language! Link to comment Share on other sites More sharing options...
jerryjr Posted October 2, 2006 Share Posted October 2, 2006 I still can't get past my problem and no one knows what's the problem. :( I am not having any problems with seeing the input in the admin. Did you follow all the steps in the instructions? Which version did you install? Quote Link to comment Share on other sites More sharing options...
Lao Posted October 2, 2006 Share Posted October 2, 2006 I am not having any problems with seeing the input in the admin. Did you follow all the steps in the instructions? Which version did you install? I installed Kit's original contrib from here: http://www.oscommerce.com/community/contri...ch,extra+fields then added zoulxp's patch and that's it. I reinstalled it 2 or 3 times by now, maybe i'll try that one more time tomorrow. I have some other modds but i don't think those are the problems. Has anyone did something else that is not mentioned in the contrib?! Quote Sorry for my bad english language! Link to comment Share on other sites More sharing options...
Vantalk Posted October 4, 2006 Share Posted October 4, 2006 I installed Kit's original contrib from here: http://www.oscommerce.com/community/contri...ch,extra+fields then added zoulxp's patch and that's it. I reinstalled it 2 or 3 times by now, maybe i'll try that one more time tomorrow. I have some other modds but i don't think those are the problems. Has anyone did something else that is not mentioned in the contrib?! Sal. First thing.. i installed the oldest contrib (7 Nov 2005 Kit's original contrib) and no more updates. just the slight modifications that i wrote in this forum topic. Do that and then tell me if it doesn't work. I shall check my mail for the next 3 days.. please tell me if anything goes wrong till then Quote Link to comment Share on other sites More sharing options...
vladimir_ivanov2 Posted October 28, 2006 Share Posted October 28, 2006 hi , i just install the user extra fields extension. when im going to extra field manager in the backend i receive this error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-14, 14' at line 1 select ce.fields_id, ce.fields_size, ce.fields_input_type, ce.fields_required_status, cei.fields_name, ce.fields_status, ce.fields_input_type from extra_fields ce, extra_fields_info cei where cei.fields_id=ce.fields_id and cei.languages_id =3 limit -14, 14 there is a similar post in the begining of the forum but the solution didnt worked for me. (edit the split_page_results.php file). i will appreciate any help. thanks Quote Link to comment Share on other sites More sharing options...
mtriplett Posted November 6, 2006 Share Posted November 6, 2006 (edited) Anyone have a definitive fix for the 1146 error?? I have tried repeating steps 3-6 to no avail... Thanks. Edited November 6, 2006 by mtriplett Quote Link to comment Share on other sites More sharing options...
auro Posted November 14, 2006 Share Posted November 14, 2006 I have a little problem with this contrib. I set a minimum value for the fields. Ex: For the field street the minimum value has set to 1. I enter the street name (8 or 9 characters) and the application return an error messaje: "The field street must contain a minimum of 1 character ". Help!!!! :blush: Great contrib. Quote Link to comment Share on other sites More sharing options...
auro Posted November 14, 2006 Share Posted November 14, 2006 (edited) The required status is set to true. When i set the required status to false, the problem disappear. Still need help..:) Edited November 14, 2006 by auro Quote Link to comment Share on other sites More sharing options...
audiotrack Posted November 15, 2006 Share Posted November 15, 2006 The required status is set to true. When i set the required status to false, the problem disappear. Still need help..:) As demoalt wrote on page two: in the javascript file, replace check_input("<?php echo 'fields_' . $extra_fields['fields_id']?>", <?php echo $extra_fields['fields_id']-1;?>, "<?php echo $string_error; ?>"); by check_input("<?php echo 'fields_' . $extra_fields['fields_id']?>", <?php echo $extra_fields['fields_size']-1;?>, "<?php echo $string_error; ?>"); Quote Link to comment Share on other sites More sharing options...
audiotrack Posted November 15, 2006 Share Posted November 15, 2006 I can't figure out how to put the extra fields into orders.php The actual fields are showing, but the text the customer has writen don't show... Will somebody help me please??? Quote Link to comment Share on other sites More sharing options...
wyuguy Posted November 18, 2006 Share Posted November 18, 2006 Anyone know how to combine it with purchase without account? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.