Can you show the code (formatted properly) that is giving you trouble.
Laravel 6 : data inserting into db when i deploy projet on apache2 not working
hello , when i have use artisan command data is inserting but when i deploy project on Apache record did not inserting into database . the problem there no errors is showing laravel show success , i have already test mysql connectioon auto commit is set to 1 but not work
any idea ??
Was you using tinker. And go over https://laravel.com/docs/7.x/eloquent#mass-assignment and make sure your model is set up correctly.
In development was you on Windows, if so remember linux is case sensitive.
SomeClass equals someclass in Windows.
SomeClass does not equal someclass in Linux.
Check other logs, like apache log also.
Use your browser developer tools to help troubleshoot.
Please or to participate in this conversation.