AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: todge90 on January 29, 2014, 04:46:49 AM

Title: After 1.1.8 upgrade site stuck in redirect loop
Post by: todge90 on January 29, 2014, 04:46:49 AM
Hi

Since upgrading to 1.1.8 I cannot access my store front. It is stuck in a redirect loop.
I can access the back end fine.

I get this in chrome

The webpage at /static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/static_pages/index.php has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.


I have cleared the cache. Any other ideas?


Thanks


Roger
Title: Re: After 1.1.8 upgrade site stuck in redirect loop
Post by: abolabo on January 29, 2014, 09:05:29 AM
any errors in system/logs/error.txt?
Title: Re: After 1.1.8 upgrade site stuck in redirect loop
Post by: todge90 on January 29, 2014, 11:25:50 AM
Hi

yes there is this

 database error:  AbanteCart core v.1.1.8 Error: Unknown column 'tr.description' in 'field list'<br />Error No: 1054<br />SELECT tr.tax_class_id,
                     tr.rate AS rate, tr.rate_prefix AS rate_prefix,
                     tr.threshold_condition AS threshold_condition, tr.threshold AS threshold,
                     CASE WHEN tr.description='' THEN tc.title ELSE tr.description END as description,
                     tr.priority
               FROM lfc_tax_rates tr
               LEFT JOIN lfc_tax_classes tc ON tc.tax_class_id = tr.tax_class_id
               WHERE (tr.zone_id = '0' OR tr.zone_id = '0')
                  AND tr.location_id in (SELECT z2l.location_id
                                    FROM lfc_zones_to_locations z2l, lfc_locations l
                                    WHERE z2l.location_id = l.location_id and z2l.zone_id = '0')
               ORDER BY tr.priority ASC in <b>/home/cornishd/public_html/wholesale/core/database/mysql.php</b> on line <b>86</b>
Title: Re: After 1.1.8 upgrade site stuck in redirect loop
Post by: abolabo on January 29, 2014, 12:05:11 PM
looks like partial upgrade..
check file your core/lib/tax.php and try to replace it from 1.1.8 package
Title: Re: After 1.1.8 upgrade site stuck in redirect loop
Post by: todge90 on January 29, 2014, 04:50:18 PM
Yep, it was a partial upgrade.

A manual upgrade and database rollback has solved the problem, thanks
Title: Re: After 1.1.8 upgrade site stuck in redirect loop
Post by: gordontaylor on January 29, 2014, 05:00:03 PM
SUCCESS!!!