Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! I just cant find out why its doing this......


Rachael w.

Recommended Posts

I cant seem to troubleshoot this one. I know its happened to me before but I cant figure the error out today, thought I'd ask for some help.

 

This is what I am seeing when I try to edit an address in the address book, checkout_payment_address.php, address_book_process.php page. and the checkout_shipping_address.php pages.

I am sure its something simple, but I cant seem to wrap my brain around it.

 

+ADw-?php /+ACo- +ACQ-Id: address+AF8-book+AF8-details.php,v 1.10 2003/06/09 22:49:56 hpdl Exp +ACQ- osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License +ACo-/ if (+ACE-isset(+ACQ-process)) +ACQ-process +AD0- false+ADs- ?+AD4- +ADw-table border+AD0AIg-0+ACI- width+AD0AIg-100+ACUAIg- cellspacing+AD0AIg-0+ACI- cellpadding+AD0AIg-2+ACIAPg- +ADw-tr+AD4- +ADw-td+AD4APA-table border+AD0AIg-0+ACI- width+AD0AIg-100+ACUAIg- cellspacing+AD0AIg-0+ACI- cellpadding+AD0AIg-2+ACIAPg- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-b+AD4APA-?php echo NEW+AF8-ADDRESS+AF8-TITLE+ADs- ?+AD4APA-/b+AD4APA-/td+AD4- +ADw-td class+AD0AIg-inputRequirement+ACI- align+AD0AIg-right+ACIAPgA8-?php echo FORM+AF8-REQUIRED+AF8-INFORMATION+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-/table+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-tr+AD4- +ADw-td+AD4APA-table border+AD0AIg-0+ACI- width+AD0AIg-100+ACUAIg- cellspacing+AD0AIg-1+ACI- cellpadding+AD0AIg-2+ACI- class+AD0AIg-infoBox+ACIAPg- +ADw-tr class+AD0AIg-infoBoxContents+ACIAPg- +ADw-td+AD4APA-table border+AD0AIg-0+ACI- cellspacing+AD0AIg-2+ACI- cellpadding+AD0AIg-2+ACIAPg- +ADw-?php if (ACCOUNT+AF8-GENDER +AD0APQ- 'true') +AHs- if (isset(+ACQ-gender)) +AHs- +ACQ-male +AD0- (+ACQ-gender +AD0APQ- 'm') ? true : false+ADs- +AH0- else +AHs- +ACQ-male +AD0- (+ACQ-entry+AFs-'entry+AF8-gender'+AF0- +AD0APQ- 'm') ? true : false+ADs- +AH0- +ACQ-female +AD0- +ACEAJA-male+ADs- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-GENDER+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-radio+AF8-field('gender', 'm', +ACQ-male) . '+ACY-nbsp+ADsAJg-nbsp+ADs-' . MALE . '+ACY-nbsp+ADsAJg-nbsp+ADs-' . tep+AF8-draw+AF8-radio+AF8-field('gender', 'f', +ACQ-female) . '+ACY-nbsp+ADsAJg-nbsp+ADs-' . FEMALE . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-GENDER+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-GENDER+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php +AH0- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-FIRST+AF8-NAME+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-input+AF8-field('firstname', +ACQ-entry+AFs-'entry+AF8-firstname'+AF0-) . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-FIRST+AF8-NAME+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-FIRST+AF8-NAME+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-LAST+AF8-NAME+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-input+AF8-field('lastname', +ACQ-entry+AFs-'entry+AF8-lastname'+AF0-) . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-LAST+AF8-NAME+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-LAST+AF8-NAME+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-tr+AD4- +ADw-td colspan+AD0AIg-2+ACIAPgA8-?php // echo tep+AF8-draw+AF8-separator('pixel+AF8-trans.gif', '100+ACU-', '10')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php if (ACCOUNT+AF8-COMPANY +AD0APQ- 'true') +AHs- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-COMPANY+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-input+AF8-field('company', +ACQ-entry+AFs-'entry+AF8-company'+AF0-) . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-COMPANY+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-COMPANY+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-tr+AD4- +ADw-td colspan+AD0AIg-2+ACIAPgA8-?php // echo tep+AF8-draw+AF8-separator('pixel+AF8-trans.gif', '100+ACU-', '10')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php +AH0- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-STREET+AF8-ADDRESS+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-input+AF8-field('street+AF8-address', +ACQ-entry+AFs-'entry+AF8-street+AF8-address'+AF0-) . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-STREET+AF8-ADDRESS+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-STREET+AF8-ADDRESS+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php if (ACCOUNT+AF8-SUBURB +AD0APQ- 'true') +AHs- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-SUBURB+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-input+AF8-field('suburb', +ACQ-entry+AFs-'entry+AF8-suburb'+AF0-) . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-SUBURB+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-SUBURB+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php +AH0- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-CITY+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-input+AF8-field('city', +ACQ-entry+AFs-'entry+AF8-city'+AF0-) . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-CITY+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-CITY+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php if (ACCOUNT+AF8-STATE +AD0APQ- 'true') +AHs- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-STATE+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPg- +ADw-?php // +Countg-State Selector +ACQ-zones+AF8-array +AD0- array()+ADs- +ACQ-zones+AF8-query +AD0- tep+AF8-db+AF8-query(+ACI-select zone+AF8-name, zone+AF8-id from +ACI- . TABLE+AF8-ZONES . +ACI- where zone+AF8-country+AF8-id +AD0- '+ACI- . (int)+ACQ-entry+AFs-'entry+AF8-country+AF8-id'+AF0- . +ACI-' order by zone+AF8-name+ACI-)+ADs- while (+ACQ-zones+AF8-values +AD0- tep+AF8-db+AF8-fetch+AF8-array(+ACQ-zones+AF8-query)) +AHs- +ACQ-zones+AF8-array+AFsAXQ- +AD0- array('id' +AD0APg- +ACQ-zones+AF8-values+AFs-'zone+AF8-id'+AF0-, 'text' +AD0APg- +ACQ-zones+AF8-values+AFs-'zone+AF8-name'+AF0-)+ADs- +AH0- if (count(+ACQ-zones+AF8-array) +AD4- 0) +AHs- echo tep+AF8-draw+AF8-pull+AF8-down+AF8-menu('zone+AF8-id', +ACQ-zones+AF8-array, +ACQ-entry+AFs-'entry+AF8-zone+AF8-id'+AF0-)+ADs- echo tep+AF8-draw+AF8-hidden+AF8-field('state', '')+ADs- +AH0- else +AHs- echo tep+AF8-draw+AF8-input+AF8-field('state', +ACQ-entry+AFs-'entry+AF8-state'+AF0-)+ADs- +AH0- // -Country-State Selector if (tep+AF8-not+AF8-null(ENTRY+AF8-STATE+AF8-TEXT)) echo '+ACY-nbsp+ADsAPA-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-STATE+AF8-TEXT+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php +AH0- ?+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-POST+AF8-CODE+ADs- ?+AD4APA-/td+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-input+AF8-field('postcode', +ACQ-entry+AFs-'entry+AF8-postcode'+AF0-) . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-POST+AF8-CODE+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-POST+AF8-CODE+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-tr+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo ENTRY+AF8-COUNTRY+ADs- ?+AD4APA-/td+AD4- +ADw-?php // +Countg-State Selector ?+AD4- +ADw-td class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-get+AF8-country+AF8-list('country', +ACQ-entry+AFs-'entry+AF8-country+AF8-id'+AF0-,'onChange+AD0AIg-return refresh+AF8-form(addressbook)+ADsAIg-') . '+ACY-nbsp+ADs-' . (tep+AF8-not+AF8-null(ENTRY+AF8-COUNTRY+AF8-TEXT) ? '+ADw-span class+AD0AIg-inputRequirement+ACIAPg-' . ENTRY+AF8-COUNTRY+AF8-TEXT . '+ADw-/span+AD4-': '')+ADs- ?+AD4APA-/td+AD4- +ADw-?php // -Country-State Selector ?+AD4- +ADw-/tr+AD4- +ADw-?php if ((isset(+ACQ-HTTP+AF8-GET+AF8-VARS+AFs-'edit'+AF0-) +ACYAJg- (+ACQ-customer+AF8-default+AF8-address+AF8-id +ACEAPQ- +ACQ-HTTP+AF8-GET+AF8-VARS+AFs-'edit'+AF0-)) +AHwAfA- (isset(+ACQ-HTTP+AF8-GET+AF8-VARS+AFs-'edit'+AF0-) +AD0APQ- false) ) +AHs- ?+AD4- +ADw-tr+AD4- +ADw-td colspan+AD0AIg-2+ACIAPgA8-?php echo tep+AF8-draw+AF8-separator('pixel+AF8-trans.gif', '100+ACU-', '10')+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-tr+AD4- +ADw-td colspan+AD0AIg-2+ACI- class+AD0AIg-main+ACIAPgA8-?php echo tep+AF8-draw+AF8-checkbox+AF8-field('primary', 'on', false, 'id+AD0AIg-primary+ACI-') . ' ' . SET+AF8-AS+AF8-PRIMARY+ADs- ?+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-?php +AH0- ?+AD4- +ADw-/table+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-/table+AD4APA-/td+AD4- +ADw-/tr+AD4- +ADw-/table+AD4-

 

Thank you all in advance!

Link to comment
Share on other sites

  • 1 month later...
Argggh, I want to add the verification mod to create_account.php and we're back to this again. I've tried to restore my backup to no avail. Is there anyone out there that could tell me what is causing this?

Try posting in the support thread for your contribution.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...