January 23, 2016 at 1:10 am #2092
I have my own shared host but after I extracted the files from the invoice ninja onto my site, I get a list of files and no prompt to set up the app and database etc.
Am I missing a step?
Thanks!January 23, 2016 at 5:47 pm #2094
By default you can access the site using the /public folder.
The best practice is to configure the site by mapping your webroot to the public folder but you may also be able to change it using the .htaccess file.January 23, 2016 at 7:15 pm #2096
Thanks for the reply.. I tried that with this in my .htaccess file:
RewriteRule ^(.*)$ public/$1 [L]
# RewriteRule “^.env” – [F,L]
RewriteRule “^storage” – [F,L]
# RewriteRule ^(.*)$ public/$1 [L]
Here is the URL I’m using with this but I get 500 Internal Server error still…I’m surprised this isn’t straight forward with a simple hostgator server?January 23, 2016 at 7:18 pm #2097
I didn’t notice that you’re using a subdomain. In that case you should map you server’s web root to the /public folder use the default .htaccess file.January 24, 2016 at 1:12 pm #2098
Ah ok. So I should go to the main domain and add. Htaccess code in there just like above?January 24, 2016 at 1:18 pm #2099
You shouldn’t need to change the .htaccess file at all, you need to map the webroot to /public.January 24, 2016 at 1:20 pm #2100
How would I do that? Sorry, I’m a newbie to web configsJanuary 24, 2016 at 1:23 pm #2101
It varies, I’d suggest either searching for ‘hostgator laravel’ or contacting your webhost for help.January 24, 2016 at 5:05 pm #2103
So would I need to install Laravel on my shared hostgator account? Not sure why..
http://laravel.io/forum/02-13-2014-how-to-install-laravel-on-a-hostgator-shared-serverJanuary 24, 2016 at 5:48 pm #2104
Our app is a Laravel app so the similar steps should apply, for example making sure you have PHP >= 5.4.January 24, 2016 at 7:07 pm #2106
Oh boy, yeah it looks like that Laravel.io documentation is good until it gets to this part
“Anyway, open the ‘laravel/bootstrap/paths.php’ file and correct the bootstrap path like this:”
There isn’t any ‘paths.php’ in the bootstrap directory…stumped…January 24, 2016 at 8:52 pm #2107January 25, 2016 at 2:40 pm #2108
Was able to update my public_html/index.php it but still getting a 500 Internal Server error when trying to access the ninja invoices page. Any ideas?January 25, 2016 at 2:41 pm #2109
Have you checked your web server error logs for details on the error.January 25, 2016 at 2:44 pm #2110
Here is the error I got..
[Mon Jan 25 08:38:38 2016] [error] [client 220.127.116.11] SoftException in Application.cpp:313: File “/home3/papanic/public_html/invoices.com/public/index.php” is writeable by group
[Mon Jan 25 08:35:09 2016] [error] [client 18.104.22.168] SoftException in Application.cpp:313: File “/home3/papanic/public_html/invoices.com/public/index.php” is writeable by groupJanuary 25, 2016 at 2:47 pm #2111
Maybe this will help…January 25, 2016 at 4:06 pm #2112
Ok that helped…getting somewhere now..but got this error..
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home3/papanic/public_html/invoices.com/public/index.php on line 52 Parse error: syntax error, unexpected T_STRING in /home3/papanic/public_html/invoices.com/public/index.php on line 52
I checked index.php line 52 and it shows this…
51 $response = $kernel->handle(
52 $request = Illuminate\Http\Request::capture()
53 );January 25, 2016 at 4:18 pm #2113
That looks like a PHP version issue, can you check which version you’re running.January 25, 2016 at 4:22 pm #2114
I’m on PHP 5.5January 25, 2016 at 4:25 pm #2115
All post I’ve found for this error are related to the PHP version. Is it possible you’re running two separate versions of PHP. It can be helpful to add a phpinfo page to double check the server (vs CLI) version.
http://stackoverflow.com/questions/13125007/unexpected-character-in-input-ascii-92-state-1-in-a-silex-applicationJanuary 25, 2016 at 4:41 pm #2116
Looks like it worked! I was able to go to Cpanel and go to php config and choose PHP 5.4. Went back to my invoices sub-domain and got access!
Hi 5!January 25, 2016 at 4:52 pm #2117
Awesome, thanks for sticking with it.
Let me know if you run into any other problems.January 25, 2016 at 9:45 pm #2118
Thanks Hillel! Hope someone else will benefit from our thread!January 25, 2016 at 9:53 pm #2119
I’m having trouble setting up the email setting at the startup screen. I couldn’t get the emails to come through with my Gmail SMTP and TCL settings and I just went ahead with the set up. Now I’m getting errors when I try to ‘recover’ the forgotten password.
“Whoops, looks like something went wrong.
Swift_TransportException in AbstractSmtpTransport.php line 383:
Expected response code 220 but got code “”, with message “”January 25, 2016 at 9:58 pm #2120
I’d suggest checking your email credentials in the .env file in the root of the folder, if possible try with a different email account.
There’s an outstanding issue where testing email on the setup screen always shows success.January 26, 2016 at 3:51 pm #2124
Ok, I see I got to the .env file and got the original credentials that I set. Yeah it seems that the email test shows a success when I first did the set up.April 9, 2016 at 9:53 am #2647
Hi Anonymous and Hillel Coren,
I can see Anonymous has successfully installed Invoice Ninja on his/her shared hosting. I am facing the same problem. My domain is billing.mydomain.com. I have uploaded all the files. I have also created the database.
Now what should I do?
Please….April 9, 2016 at 11:14 am #2648
I am able to see the setup page. I just have to change the permission of the folder “public” to 755 and now I can see the setup page.
After providing all the information, now I see this error:
ErrorException in /home/ogrlega1/public_html/billing/vendor/symfony/process/ProcessUtils.php line 74:
escapeshellarg() has been disabled for security reasons
Can you help me guys?
ThanksApril 9, 2016 at 7:23 pm #2649
There’s more info here: https://github.com/invoiceninja/invoiceninja/issues/784
I believe you’ll either need to temporarily enable escapeshellarg or setup the app from the command line
You must be logged in to reply to this topic.