InvoicePlane on Windows Plesk Server


#1

First thank you for you grate work!!!

I have used 1.4.10 with grate succes and there was no problem installing it - Now i try to install 1.5.0 but i get some PHP errors - I tried installing in sub dir http://mydomain.com/invoice and on different domains and PHP version 5.6.30, 7.0.18, 7.1.4

Here is the log

2017-04-26 21:37:55			PHP Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\TEMP' is not writable by the PHP process. in C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\libraries\Session\drivers\Session_files_driver.php:143
Stack trace:
#0 [internal function]: CI_Session_files_driver->open('C:\\Windows\\TEMP', 'ip_session')
#1 C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\libraries\Session\Session.php(143): session_start()
#2 C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\core\Loader.php(1281): CI_Session->__construct()
#3 C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\core\Loader.php(1174): CI_Loader->_ci_init_library('Session', 'CI_', NULL, 'session')
#4 C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\core\Loader.php(1037): CI_Loader->_ci_load_stock_library('Session', 'Session/', NULL, NULL)
#5 C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\core\Loade in C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\libraries\Session\drivers\Session_files_driver.php on line 143				php_error
2017-04-26 21:37:55			PHP Fatal error: session_start(): Failed to initialize storage module: user (path: C:\Windows\TEMP) in C:\Inetpub\vhosts\mydomain.com\httpdocs\vendor\codeigniter\framework\system\libraries\Session\Session.php on line 143

Any idea

Regards John


Installation issue: C:\Windows\TEMP is not writable by the PHP process
#2

Hi Again.

Oki i have found a solution myself - I just had to # out a command in vendor/codeigniter/framework/system/libraries/session/drivers/session_drivers.php line 143

 # throw new Exception("Session: Configured save path '".$this->_config['save_path']."' is not writable by the PHP process.");

After that i can install the program :slight_smile:

Regards John


#3

Hey @keymaster can you guide me installing Invoice Plane on Plesk Windows Server?