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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!