Community Forums

Checkout - Delivery Details - Modify issue.

General support for technical problems with OpenCart v1.x

Checkout - Delivery Details - Modify issue.

Postby boicenet » Wed Jun 20, 2012 9:15 pm

1. Newly installed Opencart. Performing test with taxes to make sure all is well for state of IL taxes.
2. Registering as a new customer for checkout process.
3. Filled in all of the details required during Checkout.
4. Went back up to modify Delivery Details to specify a new address/state to make sure no taxes for Utah.
5. Selected I want to Use a New Address option.
6. Filled in all details.
7. Clicked on Continue button an received error.

See attached screenshots numbered in order as they were experienced.
Attachments
screenshots.zip
(344.26 KiB) Downloaded 37 times
boicenet
 
Posts: 9
Joined: Wed Jun 20, 2012 9:05 pm

Re: Checkout - Delivery Details - Modify issue.

Postby cgsmith » Thu Jun 21, 2012 2:27 pm

Any modifications to the code by hand? What version of OpenCart?

Please post the System -> Error logs messages in a code block format
User avatar
cgsmith
 
Posts: 18
Joined: Wed Mar 07, 2012 10:35 pm

Re: Checkout - Delivery Details - Modify issue.

Postby boicenet » Thu Jun 21, 2012 2:43 pm

No code modifications made. Just installed cart from download. I'm using version 1.5.3.1. Only have the Cheque/Money order payment option enabled. The error log contains:

Code: Select all
2012-06-20 19:43:19 - PHP Notice:  Error: Could not load language english! in /home/learnx52/public_html/ultimategunstore.com/storefront/system/library/language.php on line 39
2012-06-20 21:01:02 - PHP Notice:  Undefined index:  company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:02 - PHP Notice:  Undefined index:  tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:12 - PHP Notice:  Undefined index:  company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:12 - PHP Notice:  Undefined index:  tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:29 - PHP Notice:  Undefined index:  company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:29 - PHP Notice:  Undefined index:  tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:41 - PHP Notice:  Undefined index:  company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:41 - PHP Notice:  Undefined index:  tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:55 - PHP Notice:  Undefined index:  company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:55 - PHP Notice:  Undefined index:  tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:02:50 - PHP Notice:  Undefined index:  company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:02:50 - PHP Notice:  Undefined index:  tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:03:00 - PHP Notice:  Undefined index:  company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:03:00 - PHP Notice:  Undefined index:  tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
boicenet
 
Posts: 9
Joined: Wed Jun 20, 2012 9:05 pm

Re: Checkout - Delivery Details - Modify issue.

Postby cgsmith » Thu Jun 21, 2012 10:36 pm

Can you verify the config.php (line 15) in the root folder? Please make sure the path is correct.

This is mine:
Code: Select all
define('DIR_LANGUAGE', '/home/*******/public_html/ocart/catalog/language/');
User avatar
cgsmith
 
Posts: 18
Joined: Wed Mar 07, 2012 10:35 pm

Re: Checkout - Delivery Details - Modify issue.

Postby kikabelata » Sat Jun 23, 2012 10:59 am

hi, i have the same problem and my path is ok - i checked it. the problem is avoided when i choose the default address, then press continue and then go back to modify the previous step where i choose the "problem" address.
checkout error 2.JPG
checkout error 2.JPG (23.93 KiB) Viewed 545 times



i have another problem with different user. this one i created in admin panel, not in the front page of my store. when i tried to checkout it gives me this error.

checkout error.JPG
checkout error.JPG (26.26 KiB) Viewed 545 times


here is the error log for those two errors

Code: Select all
2012-06-23 12:25:43 - PHP Notice:  Undefined index:  payment_address in /home/.../public_html/catalog/controller/checkout/payment_address.php on line 125
2012-06-23 12:25:43 - PHP Notice:  Undefined index:  payment_address in /home/.../public_html/catalog/controller/checkout/payment_address.php on line 155
2012-06-23 12:50:59 - PHP Notice:  Undefined index:  company_id in /home/.../public_html/catalog/model/account/address.php on line 4
2012-06-23 12:50:59 - PHP Notice:  Undefined index:  tax_id in /home/.../public_html/catalog/model/account/address.php on line 4
Last edited by kikabelata on Sat Jun 23, 2012 7:19 pm, edited 1 time in total.
kikabelata
 
Posts: 7
Joined: Sat Jun 23, 2012 10:26 am

Re: Checkout - Delivery Details - Modify issue.

Postby straightlight » Sat Jun 23, 2012 1:23 pm

2012-06-20 19:43:19 - PHP Notice: Error: Could not load language english! in /home/learnx52/public_html/ultimategunstore.com/storefront/system/library/language.php on line 39
2012-06-20 21:01:02 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:02 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:12 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:12 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:29 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:29 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:41 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:41 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:55 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:55 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:02:50 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:02:50 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:03:00 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:03:00 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4


This error may also be related to missing / corrupted files upon upload. Make sure that all files from the OC zip has been uploaded appropriately. These failed upload attempts may also be due to faulty FTP client software.
Regards,
Straightlight
straightlight
 
Posts: 1912
Joined: Mon Nov 14, 2011 3:38 pm
Location: Canada, ON

Re: Checkout - Delivery Details - Modify issue.

Postby straightlight » Sat Jun 23, 2012 1:25 pm

2012-06-20 19:43:19 - PHP Notice: Error: Could not load language english! in /home/learnx52/public_html/ultimategunstore.com/storefront/system/library/language.php on line 39
2012-06-20 21:01:02 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:02 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:12 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:12 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:29 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:29 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:41 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:41 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:55 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:01:55 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:02:50 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:02:50 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:03:00 - PHP Notice: Undefined index: company_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4
2012-06-20 21:03:00 - PHP Notice: Undefined index: tax_id in /home/learnx52/public_html/ultimategunstore.com/storefront/catalog/model/account/address.php on line 4


The provided screenshot demonstrates that you're using a custom template. If you switch back to the default template and try the checkout form again, can you still reproduce the error message ?
Regards,
Straightlight
straightlight
 
Posts: 1912
Joined: Mon Nov 14, 2011 3:38 pm
Location: Canada, ON

Re: Checkout - Delivery Details - Modify issue.

Postby boicenet » Sat Jun 23, 2012 5:31 pm

It's not an FTP issue on my end. I uploaded the entire ZIP file to the server and expanded it from there. I did not expand the file first.

I'm also using the default template. I had just installed the cart and used only what is included in the ZIP file. Nothing customized at this point.
boicenet
 
Posts: 9
Joined: Wed Jun 20, 2012 9:05 pm

Re: Checkout - Delivery Details - Modify issue.

Postby straightlight » Sat Jun 23, 2012 6:09 pm

It looks like missing files. If you go to your FTP / File Manager, can you confirm if your catalog/language/english/english.php file exists ? If so, and you do see that the byte is either 0 as the file size or that it is above 0 but the file integrity is corrupted, it means your files were extracted in binary mode rather than text mode. Binary mode should only be used towards image formats or any other formats that doesn't not involve text transcriptions.
Regards,
Straightlight
straightlight
 
Posts: 1912
Joined: Mon Nov 14, 2011 3:38 pm
Location: Canada, ON

Re: Checkout - Delivery Details - Modify issue.

Postby boicenet » Sat Jun 23, 2012 6:29 pm

I checked the path of the installed cart and do have the file. It is 2.69 KB in size and is readable/editable. The contents of the file are:

Code: Select all
 english.php
PHP script text
<?php
// Locale
$_['code']                  = 'en';
$_['direction']             = 'ltr';
$_['date_format_short']     = 'd/m/Y';
$_['date_format_long']      = 'l dS F Y';
$_['time_format']           = 'h:i:s A';
$_['decimal_point']         = '.';
$_['thousand_point']        = ',';

// Text
$_['text_home']             = 'Home';
$_['text_yes']              = 'Yes';
$_['text_no']               = 'No';
$_['text_none']             = ' --- None --- ';
$_['text_select']           = ' --- Please Select --- ';
$_['text_all_zones']        = 'All Zones';
$_['text_pagination']       = 'Showing {start} to {end} of {total} ({pages} Pages)';
$_['text_separator']        = ' &raquo; ';

// Buttons
$_['button_add_address']    = 'Add Address';
$_['button_back']           = 'Back';
$_['button_continue']       = 'Continue';
$_['button_cart']           = 'Add to Cart';
$_['button_compare']        = 'Add to Compare';
$_['button_wishlist']       = 'Add to Wish List';
$_['button_checkout']       = 'Checkout';
$_['button_confirm']        = 'Confirm Order';
$_['button_coupon']         = 'Apply Coupon';
$_['button_delete']         = 'Delete';
$_['button_download']       = 'Download';
$_['button_edit']           = 'Edit';
$_['button_new_address']    = 'New Address';
$_['button_change_address'] = 'Change Address';
$_['button_reviews']        = 'Reviews';
$_['button_write']          = 'Write Review';
$_['button_login']          = 'Login';
$_['button_update']         = 'Update';
$_['button_remove']         = 'Remove';
$_['button_reorder']        = 'Reorder';
$_['button_return']         = 'Return';
$_['button_shopping']       = 'Continue Shopping';
$_['button_search']         = 'Search';
$_['button_shipping']       = 'Apply Shipping';
$_['button_guest']          = 'Guest Checkout';
$_['button_view']           = 'View';
$_['button_voucher']        = 'Apply Voucher';
$_['button_upload']         = 'Upload File';
$_['button_reward']         = 'Apply Points';
$_['button_quote']          = 'Get Quotes';

// Error
$_['error_upload_1']        = 'Warning: The uploaded file exceeds the upload_max_filesize directive in php.ini!';
$_['error_upload_2']        = 'Warning: The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form!';
$_['error_upload_3']        = 'Warning: The uploaded file was only partially uploaded!';
$_['error_upload_4']        = 'Warning: No file was uploaded!';
$_['error_upload_6']        = 'Warning: Missing a temporary folder!';
$_['error_upload_7']        = 'Warning: Failed to write file to disk!';
$_['error_upload_8']        = 'Warning: File upload stopped by extension!';
$_['error_upload_999']      = 'Warning: No error code available!';
?>
boicenet
 
Posts: 9
Joined: Wed Jun 20, 2012 9:05 pm

Re: Checkout - Delivery Details - Modify issue.

Postby straightlight » Sat Jun 23, 2012 6:31 pm

Is this part really included:

Code: Select all
english.php
PHP script text


or you simply added them in on the forum ?
Regards,
Straightlight
straightlight
 
Posts: 1912
Joined: Mon Nov 14, 2011 3:38 pm
Location: Canada, ON

Re: Checkout - Delivery Details - Modify issue.

Postby boicenet » Sat Jun 23, 2012 6:48 pm

My apologies. Looks like I captured information from the editor window. Those two lines are not in the file.

Thank you for catching this.
boicenet
 
Posts: 9
Joined: Wed Jun 20, 2012 9:05 pm

Re: Checkout - Delivery Details - Modify issue.

Postby straightlight » Sat Jun 23, 2012 6:49 pm

Once you have extracted the files from ZIP in your File Manager, did you installed OpenCart from your browser ? ... it rather looks like your config.php file may be empty due to a skipped installation or perhaps you did installed it but may be config.php file from rather the store-front or admin folder couldn't be written (if so, please DON'T post the content on the public forum for security reasons).
Regards,
Straightlight
straightlight
 
Posts: 1912
Joined: Mon Nov 14, 2011 3:38 pm
Location: Canada, ON

Re: Checkout - Delivery Details - Modify issue.

Postby boicenet » Sat Jun 23, 2012 7:19 pm

I used Google's Chrome to install the cart according to the instructions posted at Opencart. The config.php file does have quite a bit of settings inside the file. Everything else about the cart seems to be working fine. I could always remove the installation and re-install to see how that goes.
boicenet
 
Posts: 9
Joined: Wed Jun 20, 2012 9:05 pm

Re: Checkout - Delivery Details - Modify issue.

Postby straightlight » Sat Jun 23, 2012 7:21 pm

Ok, make sure each relative path corresponds to their appropriate targets from each config.php file. There might be possible unknown locations for an unknown reason in your case.
Regards,
Straightlight
straightlight
 
Posts: 1912
Joined: Mon Nov 14, 2011 3:38 pm
Location: Canada, ON

Re: Checkout - Delivery Details - Modify issue.

Postby avvici -arvixe- » Sat Jun 23, 2012 9:11 pm

Since this really is not a BUG I am moving it to the General Support Section.
Image Image
User avatar
avvici -arvixe-
 
Posts: 4314
Joined: Tue Apr 05, 2011 4:09 am
Location: Charlotte, NC


Return to General Support

Who is online

Users browsing this forum: avvici -arvixe-, coant, datacreek, dtprojects, kelemvor, kuleszko, maurotto, mholmquist, midgette, mofoalexandru and 85 guests

Hosted by Arvixe Web Hosting