The requested URL was not found on this server

Not Found

The requested URL was not found on this server.


Hello, I get a white window with this message if I don’t open the page for more than X hours (I would say 8 hours).

For this to work, I have to go to the hosting and turn on or off(works for both) https redirection. It doesn’t matter if from http to https or vice versa. Then the site will start working.

Hi, could you tell us what is what is set as REMOVE_INDEXPHP value in your configuration file? Did you configure your IP_URL?

REMOVE_INDEXPHP=false

I just changed it to true, but after refreshing the page it still says previous message.

(I have InvoicePlane on 3rd level domain)

Could you provide the following information:

  • what uri are you trying to access?
  • does the following uri work: http:/yourdomain.tld/index.php/sessions/login ?
  • did you configure the IP_URL parameter?

What and where should I change for 3rd level domain?

Thanks for helping me

in your server, where the invoiceplane files are stored, you should have a file called ipconfig.php. At the top, you should set your IP_URL to https://invoiceplane.mydomain.tld. If InvoicePlane is in a subfolder on the server (different from the web root) then you should also indicate it i.e. https://invoiceplane.mydomain.tld/myfolder

<?php exit('No direct script access allowed'); ?>
# InvoicePlane Configuration File

### START HERE
# Set your URL without trailing slash here, e.g. http://your-domain.com
# If you use a subdomain, use http://subdomain.your-domain.com
# If you use a subfolder, use http://your-domain.com/subfolder
IP_URL=https://invoiceplane.mydomain.cz

# Having problems? Enable debug by changing the value to 'true' to enable advanced logging
ENABLE_DEBUG=false

# Set this setting to 'true' if you want to disable the setup for security purposes
DISABLE_SETUP=true

# To remove index.php from the URL, set this setting to 'true'.
# Please notice the additional instructions in the htaccess file!
REMOVE_INDEXPHP=false

# These database settings are set during the initial setup
DB_HOSTNAME=*****
DB_USERNAME=*****
DB_PASSWORD=*****
DB_DATABASE=*****
DB_PORT=*****

# If you want to be logged out after closing your browser window, set this setting to 0 (ZERO).
# The number represents the amount of minutes after that IP will automatically log out users,
# the default is 10 days.
SESS_EXPIRATION=864000

# Enable the deletion of invoices
ENABLE_INVOICE_DELETION=true

# Disable the read-only mode for invoices
DISABLE_READ_ONLY=true

##
## DO NOT CHANGE ANY CONFIGURATION VALUES BELOW THIS LINE!
## =======================================================
##

# This key is automatically set after the first setup. Do not change it manually!
ENCRYPTION_KEY=base64:0fVKGbjLMyPOon/sF6Rhh2ozOY+eEVsr92XZwoS2vcQ=
ENCRYPTION_CIPHER=AES-256

# Set to true after the initial setup
SETUP_COMPLETED=true

PHP 7.4
MariaDB 10.3