AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: helperbee on September 27, 2015, 03:52:46 AM

Title: Redirect Error
Post by: helperbee on September 27, 2015, 03:52:46 AM
I'm getting a redirect error randomly earlier (when hitting the home of storefront), but reproducible tonight when I attempt to download a PDF from the storefront.

By reading the forum, I learned to check the error log. I don't know if this error pertains since the time stamp doesn't correspond, but here it is anyways:

2015-09-27 2:55:04 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>32</b>


How can I fix this redirect error?





Title: Re: Redirect Error
Post by: abolabo on September 27, 2015, 01:03:51 PM
hmmm.. i don't see any "redirect" word in error message.

Please give us more details about your problem such as:
1. where you has been redirected? what page? what link? URL?
2. Screenshots?
Title: Re: Redirect Error
Post by: helperbee on September 27, 2015, 04:01:36 PM
The redirect error (see attached) is displayed when I click Shop button from my home page (rentmasonbees.com/d)
Also, when I click on either download link on this page
https://rentmasonbees.com/a/index.php?rt=content/content&content_id=13

Title: Re: Redirect Error
Post by: helperbee on September 27, 2015, 04:06:43 PM
Error log now has these entries as of today.

2015-09-27 1:07:11 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>4</b>
2015-09-27 1:07:11 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>32</b>
2015-09-27 1:16:59 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>4</b>
2015-09-27 1:16:59 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>32</b>
2015-09-27 1:19:20 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>4</b>
2015-09-27 1:19:20 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>32</b>
2015-09-27 2:55:04 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>4</b>
2015-09-27 2:55:04 - warning: AbanteCart core v.1.2.2 Invalid argument supplied for foreach() in <b>/home/rentmaso/public_html/a/admin/view/default/template/form/chosen_select.tpl</b> on line <b>32</b>

 Log time does not match my system's time, so I can't pin point better. Where can I make adjustment to set the correct time?

Title: Re: Redirect Error
Post by: webdevmerc on September 27, 2015, 10:45:52 PM
Is your site using a CDN?

I noticed when I turned on a cdn, I had a redirect loop error.
Title: Re: Redirect Error
Post by: abolabo on September 28, 2015, 11:56:02 AM
as i see you have installed AbanteCart into subdirectory "a".
What file "install.php" in your root? i guess you have problem with redirects inside .htaccess file(s) in your web-root folder.
Try to rename it and check again. AbanteCart distributive does not have any install.php in it's "root".

Issue is in your server configuration.