Setup Problem. Wont even get past languages. .HTACCESS?

Hi there.

First of all .htaccess work perfect on my server it is enabled and all that.

here is the issue.

when i run the root of where i want to install InvoicePlane this comes up
----Unable to connect to your database server using the provided settings.
----Filename: /home/mydomainname/public_html/demo/third_party/MX/Loader.php
----Line Number: 99

When i go tomydomain.com/demo/setup/ i get
– The requested URL /index.php was not found on this server.

i tried typingmydomain.com/demo/index.php/setup
that takes me back to mydomain.com/demo/setup/language and this error
-The requested URL /index.php was not found on this server.
-Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument
-to handle the request.

i tried typing mydomain.com/demo/index.php/setup/language
that brings up the language selector for the install but if i click Continue it takes me to this page and error -> http://mydomain.com/demo/setup/language and this error
-The requested URL /index.php was not found on this server.
-Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument
-to handle the request.

Please help running out of ideas !

Thank you
Sam

Hi and welcome,

are you using https:// ?
Can you please post the .htacces file?
Have you access to the error logs of your server? Can you post it with the lines that matter?

It seems that you didn’t set the correct RewriteBase in the .htaccess file.
You run IP in the “demo” folder right? Then change RewriteBase / to RewriteBase /demo

But that MySQL error is weird as it implies that wrong credentials were entered for the database. Did you entered any inormation in the"/application/config/database.php manually?

Thank you…

The .htaccess file-

Remove index.php

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

No not using https…

and third ? herewith the error log
[Thu Mar 19 09:14:47 2015] [error] [client 105.210.132.221] File does not exist: /home/mydomainco/public_html/404.shtml
[Thu Mar 19 09:14:47 2015] [error] [client 105.210.132.221] File does not exist: /home/mydomainco/public_html/favicon.ico
[Thu Mar 19 09:04:51 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/404.shtml, referer: h tt p://mydomain.co.za/demolite/index.php/setup/language
[Thu Mar 19 09:04:51 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/index.php, referer: h t tp://mydomain.co.za/demolite/index.php/setup/language
[Thu Mar 19 09:04:13 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/404.shtml, referer: h ttp://mydomain.co.za/demolite/assets/default/css/welcome.css
[Thu Mar 19 09:04:13 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/assets, referer: h ttp://mydomain.co.za/demolite/assets/default/css/welcome.css
[Thu Mar 19 09:03:14 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/404.shtml
[Thu Mar 19 09:03:14 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/index.php
[Thu Mar 19 09:03:08 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/404.shtml, referer: h ttp://mydomain.co.za/demolite/assets/default/css/welcome.css
[Thu Mar 19 09:03:08 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/assets, referer: h ttp://mydomain.co.za/demolite/assets/default/css/welcome.css
[Thu Mar 19 09:02:06 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/404.shtml
[Thu Mar 19 09:02:06 2015] [error] [client 105.237.203.15] File does not exist: /home/mydomainco/public_html/index.php

Hi,

as @Kovah mentioned. Change the RewriteBase / to RewriteBase /demolite (or /demo)

Yipppeeeeeee

Thank you… Learned something today !

Regards
Sam

1 Like

Was the database problem solved too?

Yes it was . thank you

This topic was automatically closed after 24 hours. New replies are no longer allowed.