Post by Kemo2018 » Thu Dec 13, 2018 6:46 am

Hello

Why I can't go to modifications page which contain refresh button, every time it shows me " 403 Forbidden nginx/1.14.0", Chmod is 644

this page worked perfectly but since 2 months I can't open it, I'm on a freehost server, I think the server admin didn't ban this page.

also I tried to re-upload the file public_html/admin/controller/marketplace/modification.php, but still shows the 403 error, I also tried a fresh install copy.
I'm using 3.0.2.0 (Arabic codlance)

the page url is like : http://www.mysite.com/admin/index.php?r ... _token=xyz

please help

Newbie

Posts

Joined
Thu Mar 29, 2018 6:30 am

Post by xxvirusxx » Thu Dec 13, 2018 4:49 pm

Maybe storage folder doesn't have 0777 permision.

My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed.


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by Kemo2018 » Thu Dec 13, 2018 9:24 pm

xxvirusxx wrote:
Thu Dec 13, 2018 4:49 pm
Maybe storage folder doesn't have 0777 permision.
Yes, I found that storage folder chmod is 0755, so I set it to 0777 but the 403 error still appears on that page.

is there any other solution?

Newbie

Posts

Joined
Thu Mar 29, 2018 6:30 am

Post by OSWorX » Sat Dec 22, 2018 4:38 pm

One of the must stupid advices in the whole Internet and especially here, is to set permissions on folders to 0777

Why?
Because these permissions opens every door any scriptkiddy and hacker wants!

What are the correct permissions?
Folders: 0755 (or 0750)
Files: 0644 (or 0640)
(or depends on the provider, some of them require that).

Regarding the response code 403 here: I would assume that you are not the owner of that file.
What is that?
Simply read here more about permissions and ownership:
https://nginxlibrary.com/403-forbidden-error/

Forum Rules [en]: viewtopic.php?f=176&t=200480
Forumregeln [de]: viewtopic.php?f=37&t=114208
Commercial Request: viewforum.php?f=88

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Kemo2018 » Tue Jan 15, 2019 3:47 am

OSWorX wrote:
Sat Dec 22, 2018 4:38 pm
One of the must stupid advices in the whole Internet and especially here, is to set permissions on folders to 0777

Why?
Because these permissions opens every door any scriptkiddy and hacker wants!

What are the correct permissions?
Folders: 0755 (or 0750)
Files: 0644 (or 0640)
(or depends on the provider, some of them require that).

Regarding the response code 403 here: I would assume that you are not the owner of that file.
What is that?
Simply read here more about permissions and ownership:
https://nginxlibrary.com/403-forbidden-error/
So, for which file should I check the permissions to solve the modifications page 403 error??

Newbie

Posts

Joined
Thu Mar 29, 2018 6:30 am

Post by Kemo2018 » Tue Jan 15, 2019 4:18 am

Hello,

I've found that my server blocks this path "marketplace/modification", is there any way to rename the modification page in Admin control panel? or run the refresh cash with codes?

I've tried a lot of refresh extensions but failed

Thank you

Newbie

Posts

Joined
Thu Mar 29, 2018 6:30 am

Post by xxvirusxx » Wed Jan 16, 2019 6:21 pm

OSWorX wrote:
Sat Dec 22, 2018 4:38 pm
One of the must stupid advices in the whole Internet and especially here, is to set permissions on folders to 0777

Why?
Because these permissions opens every door any scriptkiddy and hacker wants!
If you see the function....
image, download, upload,cache,logs,modification will have 0777 chmod...

Code: Select all

function dir_permissions() {
	$dirs = array(
		DIR_OPENCART . 'image/',
		DIR_OPENCART . 'system/storage/download/',
		DIR_OPENCART . 'system/storage/upload/',
		DIR_OPENCART . 'system/storage/cache/',
		DIR_OPENCART . 'system/storage/logs/',
		DIR_OPENCART . 'system/storage/modification/',
	);
	exec('chmod o+w -R ' . implode(' ', $dirs));
}
And modification folder does'n mean all folders as you said...

My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed.


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by Kemo2018 » Mon Jan 28, 2019 6:14 am

is there any solution please?

Newbie

Posts

Joined
Thu Mar 29, 2018 6:30 am

Post by IP_CAM » Mon Jan 28, 2019 11:18 am


For Sale: Turnkey URLs with Opencart installed
My latest Opencart LIGHT Testsite: http://www.velomech.ch
Attacker IP Blocks are denied from further access to my Sites!
Just contact me for more Information at: jti@jacob.ch
760 FREE OC Extension-Repositories - from OC v.1.5.x up
on the largest Opencart-Mod Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

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

Post by Kemo2018 » Wed Jan 30, 2019 1:58 am

I've installed extension Auto Refresh Modifications Cache, but it also need a manual refresh at first use, and I can't do that, is there any other idea?

Newbie

Posts

Joined
Thu Mar 29, 2018 6:30 am

Post by straightlight » Wed Jan 30, 2019 9:52 pm

Monitor your error / server access logs with ID: 403. It should provide the source of the issue on how, where and why.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Kemo2018 » Mon Feb 04, 2019 6:22 am

I've found the file named modification.twig in this path /public_html/admin/view/template/marketplace/, and I succeed to rename it to another admin page, to "extension.twig", However the modification page shows in the new renamed page but refresh button won't work, it hasn't any hyperlink and just takes me to login admin page, is there any solution to fix the refresh button, modification.twig uploadfiles.io/ypzi8 –

Newbie

Posts

Joined
Thu Mar 29, 2018 6:30 am

Post by straightlight » Mon Feb 04, 2019 8:56 am

Kemo2018 wrote:
Mon Feb 04, 2019 6:22 am
I've found the file named modification.twig in this path /public_html/admin/view/template/marketplace/, and I succeed to rename it to another admin page, to "extension.twig", However the modification page shows in the new renamed page but refresh button won't work, it hasn't any hyperlink and just takes me to login admin page, is there any solution to fix the refresh button, modification.twig uploadfiles.io/ypzi8 –
FAQ: viewtopic.php?f=176&p=739789#p717782

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by saffamansoor » Mon Feb 18, 2019 3:06 pm

i have the same issue with contact page, i am using the default theme, solution plz.

Newbie

Posts

Joined
Wed Feb 13, 2019 3:16 pm
Who is online

Users browsing this forum: No registered users and 0 guests