AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: smithy on January 04, 2013, 06:42:07 AM

Title: Images Not Showing
Post by: smithy on January 04, 2013, 06:42:07 AM
Hi all,
Thanks for the cool script. Just having a little problem. When i upload a image i get a error message.
main.JPG    43.62 KB    Error: Resource not added. Please check error log for more info  but when i check the recources/image folder the image is there. First time i tried i got a permissions error so i set permission correctly but image still dont show. Any idea what could be the problem. Not sure where the error log is located :( I have even uped the kb size in the admin system/system area but images still not working.

Thanks
Title: Re: Images Not Showing
Post by: abolabo on January 04, 2013, 06:53:05 AM
http://forum.abantecart.com/index.php?topic=558.new;topicseen#new
Title: Re: Images Not Showing
Post by: smithy on January 04, 2013, 09:19:11 AM
Hello,
Still not working :( Uploaded new resource_manager.php but still the same problem.

Thanks
Title: Re: Images Not Showing
Post by: abolabo on January 04, 2013, 10:18:53 AM
Hello,
Still not working :( Uploaded new resource_manager.php but still the same problem.

Thanks

what about error log?
Title: Re: Images Not Showing
Post by: smithy on January 04, 2013, 11:52:51 AM
Heres error log


2013-01-04 16:00:30 - warning:  AbanteCart core v.1.1.2 unlink(/home/username/domains/mydomain.com.com/public_html/resources/image/18/6b/4.jpg) [<a href='function.unlink'>function.unlink</a>]: Permission denied in <b>/home/username/domains/mydomain.com/public_html/core/lib/resource_manager.php</b> on line <b>107</b>
2013-01-04 16:00:30 - warning:  AbanteCart core v.1.1.2 rename(/home/username/domains/mydomain.com/public_html/resources/image/Watch-Mobile-W968_2.jpg,/home/username/domains/mydomain.com/public_html/resources/image/18/6b/4.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied in <b>/home/username/domains/mydomain.com/public_html/core/lib/resource_manager.php</b> on line <b>109</b>
2013-01-04 16:00:30 - App Error:  AbanteCart core v.1.1.2 Error: Cannot move resource to resources directory. in /home/username/domains/mydomain.com/public_html/core/lib/resource_manager.php on line 111
2013-01-04 16:01:57 - warning:  AbanteCart core v.1.1.2 unlink(/home/username/domains/mydomain.com/public_html/resources/image/18/6b/5.jpg) [<a href='function.unlink'>function.unlink</a>]: Permission denied in <b>/home/username/domains/mydomain.com/public_html/core/lib/resource_manager.php</b> on line <b>107</b>
2013-01-04 16:01:57 - warning:  AbanteCart core v.1.1.2 rename(/home/username/domains/mydomain.com/public_html/resources/image/Watch-Mobile-W968_5.jpg,/home/username/domains/mydomain.com/public_html/resources/image/18/6b/5.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied in <b>/home/username/domains/mydomain.com/public_html/core/lib/resource_manager.php</b> on line <b>109</b>
2013-01-04 16:01:57 - App Error:  AbanteCart core v.1.1.2 Error: Cannot move resource to resources directory. in /home/username/domains/mydomain.com/public_html/core/lib/resource_manager.php on line 111

Thanks
Title: Re: Images Not Showing
Post by: abolabo on January 04, 2013, 12:05:13 PM
You need to set write permission for apache on directories image and resources.
Set 777 for all of them include subdirectories and files.
Title: Re: Images Not Showing
Post by: smithy on January 04, 2013, 01:10:51 PM
Thank you. Working fine now :) I didnt realize i had to make permissions all subdirectories.

Cheers
smithy