I have a Laravel site which is running well on a localhost as well as Hostgator Linux shared server. The website allows users to make accounts and upload images and documents in following two directories:
Now I have moved it to Ubuntu at DigitalOcean. Here a user can upload a document in the directory “docs” but when he uploads an image in the directory “images”, there is an error “[object Object]”. Is this related to permissions.
A command “ls -l” gives me following information on permissions:
itsme@MyWebsite:/var/www/html/contents/individual/personal$ ls -l total 20 drwxrwxrwx 3 www-data www-data 4096 Aug 31 04:29 sounds drwxrwxrwx 2 www-data www-data 4096 Nov 27 01:22 docs drwxrwxrwx 3 www-data www-data 12288 Nov 27 01:23 images
Can someone help in resolving this issue. Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.