Author Topic: Unable to add a resource  (Read 7798 times)

Offline ezdiscount

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Unable to add a resource
« on: June 05, 2016, 02:16:21 PM »
I am trying to add a resource for a downloadable product, and every time I try to add a zip file, I get the following error: App Error: AbanteCart core v.1.2.7 Error: Cannot get image size of file /home/ezwebsitestore/public_html/resources/image/18/73/3.png. File not found or it's not an image! in /home/ezwebsitestore/public_html/core/helper/utils.php on line 1116.

I checked, and the file "resources/image/18/73/3.png" is there.

I am at a loss. Any help would be appreciated.

Brad

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +274/-2
    • View Profile
Re: Unable to add a resource
« Reply #1 on: June 06, 2016, 01:52:24 AM »
Hello.

Please check file permissions to resources/image/ files

Offline ezdiscount

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Unable to add a resource
« Reply #2 on: June 08, 2016, 12:21:53 AM »
Permissions are set to 755.

I performed a clean install of AbanteCart cart and still can not add a resource. This error pops up while uploading: "File MANUALS.zip (error_Some problem happen with file upload. Check error log for more information)"

I check the error log and there is nothing in the log.
« Last Edit: June 08, 2016, 12:28:06 AM by ezdiscount »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +274/-2
    • View Profile
Re: Unable to add a resource
« Reply #3 on: June 08, 2016, 01:13:26 AM »
Hello.

For the non-images files check permissions for folder and files in the resources/download/ folder
If you cart is 1.2.7 try to enable System Check in Admin > Settings after some time it will message you in admin about wrong file permissions.

Offline alvirtuoso

  • Newbie
  • *
  • Posts: 6
  • Karma: +2/-0
    • View Profile
Re: Unable to add a resource
« Reply #4 on: October 14, 2016, 12:24:42 AM »
I had the same problem and solved by making all files and subfolders under resources folder as 777. I used Filezilla to change file permissions.

Offline ecomi

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Unable to add a resource
« Reply #5 on: December 05, 2016, 11:03:39 PM »
I just updated to v1.2.8 and I don't get the side bar where images can be added anymore.  It's literally just not there.
I am no longer able to upload resources from any admin panel: Media Manager, Product, Categories or Manufacturers.

Suggestions?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +274/-2
    • View Profile
Re: Unable to add a resource
« Reply #6 on: December 06, 2016, 01:06:15 AM »
I just updated to v1.2.8 and I don't get the side bar where images can be added anymore.  It's literally just not there.
I am no longer able to upload resources from any admin panel: Media Manager, Product, Categories or Manufacturers.

Suggestions?
Can you please provide screenshot? Good point is to enable System check in the AbanteCart setting. After 5-10 minutes new messages will appear in admin if something found.
Also check for errors in the AbanteCart error log

Offline ecomi

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Unable to add a resource
« Reply #7 on: December 06, 2016, 01:18:29 AM »
See the attached screen shot of the media manager screen.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +274/-2
    • View Profile
Re: Unable to add a resource
« Reply #8 on: December 06, 2016, 01:22:59 AM »
Thank you.

Clear browser cache and try to check again. If issue still there possibly not all files were upgraded

Offline ecomi

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Unable to add a resource
« Reply #9 on: December 06, 2016, 01:48:54 AM »
I did have to do a manual upgrade.
I'm not sure why it wouldn't upgrade automatically.

I tried errors only level 0 for admin but no Error log data is collected at that level when going to the media manager.
The cpanel error log shows a memory allocation issue.
I've checked my PHP.ini and my memory limit looks correct.

System resource folders where all 755 but I change all resource files and subfolders to 777 to test but made no difference.

PHP Version 5.6.25
max_execution_time   30   30
max_file_uploads   20   20
max_input_nesting_level   64   64
max_input_time   60   60
max_input_vars   1000   1000
memory_limit   128M   128M
open_basedir   no value   no value
output_buffering   no value   no value
output_encoding   no value   no value
output_handler   no value   no value
post_max_size   64M   64M
precision   12   12
realpath_cache_size   16K   16K
realpath_cache_ttl   120   120

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Unable to add a resource
« Reply #10 on: December 07, 2016, 04:25:33 AM »
try to enable system check in settings->system , then logout-login and look into messages
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline ecomi

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Unable to add a resource
« Reply #11 on: December 08, 2016, 06:14:41 PM »
This is all I get.
2016-12-08 18:10:03 -
2016-12-08 18:10:09 -
2016-12-08 18:10:19 -

 

Powered by SMFPacks Social Login Mod