I added the URL of my subfolder in ipconfig.php just as indicated.
When I run http://your-domain.com/index.php/setup I get to the “Choose language” step, but when I choose my language I cannot go on any further. I get a “404 Page not found” error and a red background.
I also changed the htaccess as indicated but this didn’t help as well.
Mod_rewrite seems to be enabled on the server by the way.
I enabled debug-mode and had a look at the log files.
DEBUG - 2020-04-19 17:06:54 --> UTF-8 Support Enabled
DEBUG - 2020-04-19 17:06:54 --> Global POST, GET and COOKIE data sanitized
ERROR - 2020-04-19 17:06:54 --> 404 Page Not Found: ../modules/setup/controllers/Setup/<mydomain.tld>
DEBUG - 2020-04-19 17:06:55 --> UTF-8 Support Enabled
DEBUG - 2020-04-19 17:06:55 --> Global POST, GET and COOKIE data sanitized
ERROR - 2020-04-19 17:06:55 --> 404 Page Not Found: ../modules/setup/controllers/Setup/<mydomain.tld>
DEBUG - 2020-04-19 17:06:57 --> UTF-8 Support Enabled
DEBUG - 2020-04-19 17:06:57 --> Global POST, GET and COOKIE data sanitized
ERROR - 2020-04-19 17:06:57 --> 404 Page Not Found: ../modules/setup/controllers/Setup/<mydomain.tld>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /invoice
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
## Remove the hash in front of the following two lines if you want to force HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
ERROR - 2020-04-25 10:40:08 --> 404 Page Not Found: /index
DEBUG - 2020-04-25 10:40:46 --> UTF-8 Support Enabled
DEBUG - 2020-04-25 10:40:46 --> Global POST, GET and COOKIE data sanitized
ERROR - 2020-04-25 10:40:46 --> 404 Page Not Found: /index
DEBUG - 2020-04-25 10:40:48 --> UTF-8 Support Enabled
DEBUG - 2020-04-25 10:40:48 --> Global POST, GET and COOKIE data sanitized
ERROR - 2020-04-25 10:40:48 --> 404 Page Not Found: /index
Hm thats strange, it should not try to call “/index” but “index.php” but as already said I can not say for sure if the htaccess is still valid for subdirectorys but I will indeed test this the comming days.
Nop, still doesn’t work. I give up ut this point. I don’t really need Invoiceplane, was just looking for an alternative. Perhaps the next version will work better.
But I remember that I once tried an IP-version (1.4?) that worked fine in a subfolder…
Hello,
I also have big difficulties each time I want to upgrade invoice plane (which works great apart this hectic upgrade for my use by the way).
I don’t understand why htaccess is without the initial point “.” in the model as is the case usually on apache servers. I need to remove it to make the app working.
I can’t make it works now without the index.php addition.
so need to keep REMOVE_INDEXPHP=false in the ipconfig.php file
I’ve tried locally and on a remote server, in or out of a subfolder ; with the same result : I can’t make it works anymore with the htaccess file to have nice URLs
Because if you change the htaccess (which you should to fit your needs) it would get overwritten by the standard htaccess if it would have a leading dot.
By removing the dot in the installation file you are save to overwrite the existing files with the files from the new update.
This actually makes it much more easy to update.
When updating you dont need to change the htaccess (unless the original one changes).
If the original provided by the update changes you should adapt the changes.
If you provide me (via PM) some temporary access to your server I can have a look at it