Hello,
i've install projeqtor in the latest version with apache2 and Mariadb.
I work on enterprise network with a proxy who need authentification. If i launch projeqtor on a webpage and i want to create item, the page stuck because app have a failed return of proxy for $currrentVersion or $json, the log file say "error cause = Trying to get property 'items' of non-object".
So, i think it's go to add a proxy variable maybe directly in the app or just in a conf.php file.
For exemple (and it's working) i've added this lines for auth me on proxy and allow app can check his variables :
$ emacs ../projeqtor/tool/projeqtor.php
[...](Line 4357) function checkVersion
$auth = base64_encode('USER:PASSWORD');
$aContext = array(
'http' => array(
'proxy' => 'tcp://proxy:3128',
'request_fulluri' => true,
'header' => "Proxy-Authorization: Basic $auth",
),
);
$cxContext = stream_context_create($aContext);
[...]
[...] (Line 4382)
$currentVersion=file_get_contents($checkUrl, False, $cxContext);
[...]
$ emacs ...projeqtor/view/menuNewGuiLeft.php
[...] (Line 370)
$auth = base64_encode('USER:PASSWORD');
$aContext = array(
'http' => array(
'proxy' => 'tcp://proxy:3128',
'request_fulluri' => true,
'header' => "Proxy-Authorization: Basic $auth",
),
);
$cxContext = stream_context_create($aContext);
[...]
[...](Line 389)
$currentVersion=file_get_contents($urlPlugins, False, $cxContext);
$json = file_get_contents($urlPlugins, False, $cxContext);
[...]
$ /etc/init.d/apache2 restart
and after all it work. it's possible to add this variable ?
Thank for all (it's a good product) !