AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: chrisoft on June 02, 2018, 11:02:27 AM

Title: resourse html not working
Post by: chrisoft 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.
Title: Re: resourse html not working
Post by: abantecart 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.
Title: Re: resourse html not working
Post by: Basara 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
Title: Re: resourse html not working
Post by: chrisoft 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

 :(
Title: Re: resourse html not working
Post by: chrisoft on June 11, 2018, 12:22:53 PM
Is there any way to fix this?
Title: Re: resourse html not working
Post by: Basara 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
Title: Re: resourse html not working
Post by: chrisoft 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).
Title: Re: resourse html not working
Post by: Basara 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