Author Topic: Redirect Error  (Read 4399 times)

Offline helperbee

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +2/-0
    • View Profile
Redirect Error
« 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?






Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Redirect Error
« Reply #1 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?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline helperbee

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +2/-0
    • View Profile
Re: Redirect Error
« Reply #2 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


Offline helperbee

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +2/-0
    • View Profile
Re: Redirect Error
« Reply #3 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?


Offline webdevmerc

  • Full Member
  • ***
  • Posts: 172
  • Karma: +32/-1
    • View Profile
Re: Redirect Error
« Reply #4 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Redirect Error
« Reply #5 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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod