Post by boicenet » Thu Jun 21, 2012 5:15 am

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.

Newbie

Posts

Joined
Thu Jun 21, 2012 5:05 am

Post by cgsmith » Thu Jun 21, 2012 10: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

Donate! | Github of my extensions | Invoice to PDF | FREE Secure OpenCart Passwords


User avatar
New member

Posts

Joined
Thu Mar 08, 2012 6:35 am
Location - Milwaukee, WI

Post by boicenet » Thu Jun 21, 2012 10: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

Newbie

Posts

Joined
Thu Jun 21, 2012 5:05 am

Post by cgsmith » Fri Jun 22, 2012 6:36 am

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/');

Donate! | Github of my extensions | Invoice to PDF | FREE Secure OpenCart Passwords


User avatar
New member

Posts

Joined
Thu Mar 08, 2012 6:35 am
Location - Milwaukee, WI

Post by kikabelata » Sat Jun 23, 2012 6:59 pm

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 2147 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 2147 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 Sun Jun 24, 2012 3:19 am, edited 1 time in total.

Newbie

Posts

Joined
Sat Jun 23, 2012 6:26 pm

Post by straightlight » Sat Jun 23, 2012 9: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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sat Jun 23, 2012 9: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 ?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by boicenet » Sun Jun 24, 2012 1:31 am

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.

Newbie

Posts

Joined
Thu Jun 21, 2012 5:05 am

Post by straightlight » Sun Jun 24, 2012 2:09 am

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by boicenet » Sun Jun 24, 2012 2:29 am

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!';
?>

Newbie

Posts

Joined
Thu Jun 21, 2012 5:05 am

Post by straightlight » Sun Jun 24, 2012 2:31 am

Is this part really included:

Code: Select all

english.php
PHP script text
or you simply added them in on the forum ?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by boicenet » Sun Jun 24, 2012 2:48 am

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

Thank you for catching this.

Newbie

Posts

Joined
Thu Jun 21, 2012 5:05 am

Post by straightlight » Sun Jun 24, 2012 2:49 am

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).

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by boicenet » Sun Jun 24, 2012 3:19 am

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.

Newbie

Posts

Joined
Thu Jun 21, 2012 5:05 am

Post by straightlight » Sun Jun 24, 2012 3:21 am

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Avvici » Sun Jun 24, 2012 5:11 am

Since this really is not a BUG I am moving it to the General Support Section.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC
Who is online

Users browsing this forum: No registered users and 58 guests