Post by alvin_yong24 » Tue Nov 07, 2017 12:20 pm

Hi. I'm trying to install opencast, however I'm getting a 403 Forbidden error, You don't have permission to access /install/index.php on this server.

I've checked and make sure all files permission are 644 and all folders permission are 755. I've also tried to change everything to 777 and it doesn't help as well.

Anyone knows what's going on?

Newbie

Posts

Joined
Tue Nov 07, 2017 12:10 pm

Post by IP_CAM » Wed Nov 08, 2017 12:30 am

Sure, just ask your Hoster about it... :D
And never ever play around with CHMOD 777, it's an attempted Site Suicide!
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.ebikes.li - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by alvin_yong24 » Wed Nov 08, 2017 10:59 am

I have check with my host, nothing wrong on their end. I know that I shouldn't do 777 however just thought that make it work.

Now, I managed to install Opencart, and can access admin dashboard however the shop front is still giving me a 403 Forbidden :-[

Newbie

Posts

Joined
Tue Nov 07, 2017 12:10 pm

Post by IP_CAM » Wed Nov 08, 2017 1:14 pm

Well,
you sure don't plan to have your expensive paid Mod beeing stolen by others, I assume...
to be found with help of Google:
https://www.google.com/search?q="index+of"+opencart
Just to mention it, some open random sites are linked, all with CHMOD 777 Settings,
and probably later forgotten to change back:
http://www.cs.uoi.gr/~pmanousi/publicat ... Cart/SQLS/
http://www.objectiondecroissance.org/li ... m/library/
https://www.cubecare.com/cart/tests/php ... /checkout/
http://www.tlu.ee/~hants/2017/Meediateh ... s/Spacing/
Good Luck! :D
Ernie
---
http://www.baldwinpines.com/opencart/ad ... s_pro.twig :choke:
---

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.ebikes.li - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by MrPhil » Wed Nov 08, 2017 9:53 pm

Some poorly configured servers will require 777 permissions for directories, because PHP is running as "other" ("world") user, and has to have "world writable" permission in order to write to a directory. Some systems are so badly configured that they still require PHP files to be marked "executable" ('1' bit on) rather than plain files! Anyway, it's best to avoid "world writable" permissions (666, 777, etc., with a '2' bit on in the third field) unless PHP absolutely requires it. Even then, limit it to directories and files that PHP needs to write to, and if it's not an ongoing need (past configuration stage), consider resetting permissions back to normal (644/755). In general, you want to give the least permissions to your users that the application still functions correctly with.

You can always tell that something is from the Stone Age, or was written by an ignorant idiot, if it blithely tells you to "chmod 777" everything. That's exactly the wrong thing to do!

Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm
Who is online

Users browsing this forum: No registered users and 19 guests