Author Topic: You don't have permission to access /index.php on this server.  (Read 5867 times)

Offline mahosasaki

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Yes, there are many topics about this problem but I found no solution. And no, it is not a hosting problem.

I get this error while trying to upload an image or anything similar:

""You don't have permission to access /index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.""

Any solution?

Also, another problem. The captcha from contact page won't load and customers cannot contact me.

Error Log: "2015-07-24 8:09:00 - load error: AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303"

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: You don't have permission to access /index.php on this server.
« Reply #1 on: July 24, 2015, 06:56:30 AM »
what is upload settings do you have? see system->settings->system

Do you use some accelerators on yout host?

check permissions of file index.php. it must be NOT 777, set 644 for this file
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline mahosasaki

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: You don't have permission to access /index.php on this server.
« Reply #2 on: July 24, 2015, 08:29:36 AM »
Hello.

Resource Library Upload Max File Size, kB: 16000
The permission for index.php was set to 644...same error.

No, I don't use any accelerators. Even if I install a fresh copy of Abantecart, I get the same error.

What about the captcha error? Thx

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: You don't have permission to access /index.php on this server.
« Reply #3 on: July 24, 2015, 08:40:55 AM »
can you check httpd error log in your hosting provider's CPanel? probably there more info about this error..

regarding captcha..

check is file storefront/view/default/template/form/captcha.tpl present

You can to download it here https://raw.githubusercontent.com/abantecart/abantecart-src/master/public_html/storefront/view/default/template/form/captcha.tpl
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline mahosasaki

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: You don't have permission to access /index.php on this server.
« Reply #4 on: July 24, 2015, 09:05:24 AM »
This is all from error log:

2015-07-24 8:03:39 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 8:07:17 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 8:07:26 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 8:07:32 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 8:08:15 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 8:08:24 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 8:08:26 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 8:09:00 - load error:  AbanteCart core v.1.2.2 Error: Could not load template form/captcha.tpl! in /home/prixdrqf/public_html/core/engine/view.php on line 303
2015-07-24 12:56:09 - warning:  AbanteCart core v.1.2.2 filemtime(): stat failed for /home/prixdrqf/public_html/system/cache/layout/layout.pages.pagesproductproduct.productid.181.1437742141 in <b>/home/prixdrqf/public_html/core/lib/cache.php</b> on line <b>78</b>
2015-07-24 12:56:09 - warning:  AbanteCart core v.1.2.2 filemtime(): stat failed for /home/prixdrqf/public_html/system/cache/layout/layout.pages.pagesproductproduct.productid.113.1437742232 in <b>/home/prixdrqf/public_html/core/lib/cache.php</b> on line <b>78</b>


Also, the captcha file is the same as the one you sent me. Thx

 

Powered by SMFPacks Social Login Mod