AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: readyrep on July 28, 2018, 06:28:58 PM

Title: Abantecart redirecting to frontend cannot log into admin
Post by: readyrep on July 28, 2018, 06:28:58 PM
Hello,

I am having a problem where my storefront does not load and redirects to my frontend site.  I am unable to log into admin as that also takes me to my main site.  There are no redirects set and we have not made any modifications for redirecting.  I have searched the forums and found similar problems and those fixes have not worked.  I have also read through the abantecart manual for common problems to no avail.  I was last able to access  on 7/26.  Error log shows.



2018-07-23 6:17:32 - App Error:  AbanteCart core v.1.2.12 Error: Error in data of page with controller: 'pages/product/product'. Please check for key_value present where key_param was set.

Referer URL:  in /home/readyrep/public_html/AbanteCart/core/engine/layout.php on line 193
2018-07-23 17:35:52 - warning:  AbanteCart core v.1.2.12 fopen(/home/readyrep/public_html/AbanteCart/system/cache/product/7f42e87d1086826dd373b1167081b9a1.php): failed to open stream: No such file or directory in <b>/home/readyrep/public_html/AbanteCart/core/cache/file.php</b> on line <b>125</b>
2018-07-23 17:35:52 - warning:  AbanteCart core v.1.2.12 fopen(/home/readyrep/public_html/AbanteCart/system/cache/product/e184a46ba8382b021cfa92bd96928009.php): failed to open stream: No such file or directory in <b>/home/readyrep/public_html/AbanteCart/core/cache/file.php</b> on line <b>125</b>
2018-07-23 17:35:52 - warning:  AbanteCart core v.1.2.12 fopen(/home/readyrep/public_html/AbanteCart/system/cache/product/4d6155491233d23bb8f2474c2c8b48fa.php): failed to open stream: No such file or directory in <b>/home/readyrep/public_html/AbanteCart/core/cache/file.php</b> on line <b>125</b>
2018-07-24 2:21:28 - warning:  AbanteCart core v.1.2.12 unlink(/home/readyrep/public_html/AbanteCart/system/cache/all_category/2ed926cacc31a3c390958ab6e006189b.php): No such file or directory in <b>/home/readyrep/public_html/AbanteCart/core/cache/file.php</b> on line <b>308</b>
2018-07-24 3:31:09 - App Error:  AbanteCart core v.1.2.12 Error: Error in data of page with controller: 'pages/product/category'. Please check for key_value present where key_param was set.
Title: Re: Abantecart redirecting to frontend cannot log into admin
Post by: abantecart on July 29, 2018, 09:45:03 PM
I do not think the log you posted is related to your issue.

Do you have a correct URL to your admin?
Title: Re: Abantecart redirecting to frontend cannot log into admin
Post by: Basara on July 30, 2018, 01:10:54 AM
Hello.

See if this help you https://abantecart.atlassian.net/wiki/spaces/AD/pages/3801090/Can+not+login+to+admin
Title: Re: Abantecart redirecting to frontend cannot log into admin
Post by: readyrep on July 31, 2018, 11:02:51 AM
Thank you for response.  Turned out that the errors were not related.  After clearing caches as mentioned in the help article I was not able to view pages with correct admin url. in various browsers or on different machines.  A friend in another location verified problem where all attempts to enter storefront were redirected to frontend site.  My host however said there were no problems. Turned out it was an likely an ISP issue.  We installled VPN and voila the problem is solved.  Perhaps ISP was attempting to block or just making adjustments.  This happened once in past and only resolved spontaneously after 3 days or so..