I'm trying to deploy my local host laravel project to a live Cloudways Digitalocean server. I have done a SSH transfer from bitbucket to deploy the app but am getting the following error when I try to view the live app. Stripe is not causing any issues on the local host.
"Class 'Laravel\Cashier\CashierServiceProvider' not found"
I've also created a seperate .env file and uploaded it to the server using the server database variables. Can anyone advise if this is the correct procedure?
I've found it really difficult to find any tutorials on how to deploy a Laravel app to a live environment. If anyone has encountered this issue or could point me in the right direction to fix this error it would be much appreciated.
Related
I'm trying to deploy PHP code with Websocket in in a Azure Web App environment.
It works fine on a Virtual server but it does not run as a Web App.
I find some older articles that this might not work.
I like to avoid useing Virtual servers, so any insight on how to solve this?
The solution was to deploy a Docker container image - this was the only way we could find that solved the problem.
A client askmed me to write RESTful API using CodeIgniter. Maybe codeigniter-restserver can make my task easier. So I downloaded the package, extract it, and upload it to both servers: my development server (123.100.77.10/ci-server), and the production server (99.40.143.100/ci-server). The only difference is the $config['base_url'] value (in application/config/config.php)
I had no problem running the tests on my development server. All test cases passed succesfully. But on the production server, each of them gives 404.
Anyone ever encountered this issue? How to solve this?
I was developing Symfony2 website on my local machine and after i finished, i uploaded it to our company's remote test server via FTP.
When I try to access it by typing either:
www.project_name.company_website.cz/
www.project_name.company_website.cz/web/
www.project_name.company_website.cz/web/app.php
I get error 500.
This app runs well on my local machine but I don't know what is wrong on remote server. My thought is that there is no index file in project's root or .htaccess but I am new to web development so I don't have enough information about this.
I'm writing application in Cakephp-3. I have got local server (Xampp) and external (Apache).
In my local server, all redirect works fine, but when I upload my Cakephp project into external server, I have got error while invoking links.
Error: The view for OnasController::index() was not found.
such a view, of course, exist there!!
I think that's the fault of an external server configuration: path, webroot etc.
I will be very grateful for any solution that help solve my problem.
This is my screen where is project localization.
Ok sorry !! Edited !!!
I am getting "Not Found" error for the php app in spite of deploying it successfully in Opsworks. Other php apps are working fine. Also, i am able to run the app in my local environment using Xampp.
Can anybody throw some light on this please ?
Well..i was deploying it repeatedly on the same ec2 instance and getting the 404 error on accessing it. I started a fresh instance, deployed the app on it and it's working fine now. Thanks everybody who looked into this for me. Cheers !!