May 10, 2019 at 8:50 pm #20709
I’ve been unable to get our self-hosted installation working on HostGator, using the guide found here: http://blog.catsinja.com/2018/10/setup-invoice-ninja-on-hostgator-shared/
I was getting “Whoops, looks like something went wrong.” I adjusted the permissions on the folder at oursite.com/invoice/public and now navigating there gives the response: “Sorry, that didn’t work.
Please try again or come back later.
500 Error. Internal Server Error.”
I’m not a developer and have no experience with this type of installation or web server configuration. Can anyone point me in the right direction? Better yet, anyone want to get this running as a small side project for us?May 10, 2019 at 9:12 pm #20711
Are there any details in storage/logs/laravel-error.logMay 10, 2019 at 10:37 pm #20720
That folder exists, but is empty. There is no error log file.May 11, 2019 at 2:22 am #20721
Are there any errors in the web server error logs?May 11, 2019 at 10:59 pm #20723
Not that I can see, but I honestly am not even sure where to check. I went to the hostgator cPanel and opened “Errors” and it is blank.May 12, 2019 at 4:47 pm #20725
I’m not sure, you may want to ask your webhost for help tracking down the error logs.May 13, 2019 at 7:17 pm #20730
I was able to locate a file named error_log in the folders. I have the same error occurring repeatedly:
[13-May-2019 01:16:59 UTC] PHP Warning: Uncaught ErrorException: require(/home2/qjy5v2jj/public_html/invoice/vendor/jlapp/swaggervel/src/Jlapp/Swaggervel/../../config/swaggervel.php): failed to open stream: No such file or directory in /home2/qjy5v2jj/public_html/invoice/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:59
#0 /home2/qjy5v2jj/public_html/invoice/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(59): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, ‘require(/home2/…’, ‘/home2/qjy5v2jj…’, 59, Array)
#1 /home2/qjy5v2jj/public_html/invoice/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(59): require()
#2 /home2/qjy5v2jj/public_html/invoice/vendor/jlapp/swaggervel/src/Jlapp/Swaggervel/SwaggervelServiceProvider.php(43): Illuminate\Support\ServiceProvider->mergeConfigFrom(‘/home2/qjy5v2jj…’, ‘swaggervel’)
#3 /home2/qjy5v2jj/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(574): Jlapp\Swaggervel\SwaggervelServiceP in /home2/qjy5v2jj/public_html/invoice/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php on line 59May 13, 2019 at 9:19 pm #20731
I was able to track down these errors finally! For some reason, there were several files that just didn’t show in the web server, even though they transferred through FTP. I copied them over again manually, and it allowed me to complete the setup!May 14, 2019 at 4:08 pm #20738
Nice, glad to hear it’s working!
You must be logged in to reply to this topic.