Posts

Showing posts with the label web-hosting

Why chown and chmod -R 777 /my directory does not work

Image
Clash Royale CLAN TAG #URR8PPP Why chown and chmod -R 777 /my directory does not work I have tried 2 below command's line: sudo chmod 755 -R mydirectory from root chmod -R o+w mydirectory from root/storage but none of them can change files and folders permission. they could but when the end-user upload a picture the site does not show that. and the admin(I) have to change permission manually. what can i do? thanks for reading and answering. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

MIME type checking failure when deploying the React App on the server

Image
Clash Royale CLAN TAG #URR8PPP MIME type checking failure when deploying the React App on the server I am deploying my React app on a public server but when I open it I just get the blank page. In order to deploy the app I did: 1) run "npm run build" to minify the code and putting into a build folder 2) replaced the local URL in the new index.html file with the correct server ones. still, when trying to open the website in the console I get these errors. Any ideas? can we see how you access these resources in your App? Maybe related to this and that. – v-gael Jul 26 at 6:16 i basically replaced the local URL, which pointed to the original React folder, to the new folder in the server. src="./public_html/static/js/main.f5239b39.js" – Enrico Jul 26 at 6:18 ...

Do I need remote login to can read and write from a MySQL database via a php script?

Image
Clash Royale CLAN TAG #URR8PPP Do I need remote login to can read and write from a MySQL database via a php script? I am practicing creating an authentication system using Java, PHP, and SQL. I have one entry in the MySQL database, but my application refuses to sign in. I also created a registered side of the application but it doesn't work either. So I was wondering if not having remote login access would affect it. Note: The PHP script and the MySQL database are hosted on the same web host. using Java or using JavaScript? – ThisGuyHasTwoThumbs 2 mins ago we also need to see your code for trying to connect to the db – ThisGuyHasTwoThumbs 2 mins ago ...