Author Topic: resourse html not working  (Read 4043 times)

Offline chrisoft

  • Newbie
  • *
  • Posts: 47
  • Karma: +7/-0
    • View Profile
resourse html not working
« on: June 02, 2018, 11:02:27 AM »
Hi team,

I am trying to add images, icons, videos, through "Add Resource HTML" on media library but does not work for anything.
I write the html code but when I click safe all fields are Null, incuding file location, resource url, name e.t.c.

How can I fixed this? Any suggestions?
There is no error on error log about it.

p.s
For uploading local images from PC its working fine.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: resourse html not working
« Reply #1 on: June 02, 2018, 01:59:30 PM »
How do you add image? Within admin or programmatically?

Sound like some write permission issue if you do not see anything in the error log.

Make sure that your system/logs directory has write permission for web user.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: resourse html not working
« Reply #2 on: June 04, 2018, 02:03:17 AM »
It is much more possible that MOD-secure block saving the resource
https://abantecart.atlassian.net/wiki/spaces/AD/pages/3604484/Mod+security+403+406+error

Offline chrisoft

  • Newbie
  • *
  • Posts: 47
  • Karma: +7/-0
    • View Profile
Re: resourse html not working
« Reply #3 on: June 04, 2018, 01:07:21 PM »
Hi both,

@abantecart I can only upload images with normal procedure from media library

I went to my public html folder and found 2 files
.htaccess & .htaccess_disabled both with permisions 0644
Also there is a .htaccess in admin folder same permisions

@Basara i write the code you said on .htaccess

Retry still same issue

 :(

Offline chrisoft

  • Newbie
  • *
  • Posts: 47
  • Karma: +7/-0
    • View Profile
Re: resourse html not working
« Reply #4 on: June 11, 2018, 12:22:53 PM »
Is there any way to fix this?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: resourse html not working
« Reply #5 on: June 12, 2018, 01:01:19 AM »
Is there any way to fix this?
Yes. Contact your hosting support to modify mod_secure rules
It is much more possible that MOD-secure block saving the resource
https://abantecart.atlassian.net/wiki/spaces/AD/pages/3604484/Mod+security+403+406+error

Offline chrisoft

  • Newbie
  • *
  • Posts: 47
  • Karma: +7/-0
    • View Profile
Re: resourse html not working
« Reply #6 on: June 12, 2018, 08:46:48 AM »
Hi, I already did, the ModSecurity is already disable.

Perhaps is something else? I think the problem occurred on 1 of the updates (I don't remember which one).

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: resourse html not working
« Reply #7 on: June 12, 2018, 08:50:44 AM »
Hi, I already did, the ModSecurity is already disable.

Is it disabled or you think it is disabled? Most of the hosting providers do not allow to disable it.
Check also the browser console for javascript errors when issue occur

 

Powered by SMFPacks Social Login Mod