View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Projeqtor under Nginx - Page 7 - ProjeQtOr
 
 

Projeqtor under Nginx

More
04 Jul 2015 16:46 #37 by babynus
Replied by babynus on topic Projeqtor under Nginx
Hi,

If there is an issue with debugLog, then possibly you have access right issue to target folder.
Try and set access rights as wide as possible (777 would be good to test).

Then, all expected params are not all there.
At least is missing, what explains invalid connection.

I'll check all requested params and let you know what must be added in server and what can be provided through a patch

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
More
04 Jul 2015 17:18 #38 by babynus
Replied by babynus on topic Projeqtor under Nginx
Hi,

I found an issue : $_SERVER is empty.
Here is a workaround to configure Ngnix :
thehungrycoder.com/tutorial/php_self-is-empty.html

I'll try and add a patch to define PHP_SELF when it is not set.

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
More
04 Jul 2015 17:22 #39 by babynus
Replied by babynus on topic Projeqtor under Nginx
About debugLog() issue, it is just that this function must be called after
include_once "../tool/parameters.php";
where paraeters to log file are defined ;)

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
More
04 Jul 2015 17:35 #40 by babynus
Replied by babynus on topic Projeqtor under Nginx
Hi,

Here is a patch to avoid changing Nginx configuration :
just add these line about line 47 or /tool/projeqtor.php
// some servers provide empty PHP_SELF, fill it
if (! isset($_SERVER ['PHP_SELF']) or ! $_SERVER ['PHP_SELF']) { // PHP_SELF do not exist or is empty
  $_SERVER ['PHP_SELF']=$_SERVER ['SCRIPT_NAME'];
}

Tell me if this help.

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
More
04 Jul 2015 18:55 - 04 Jul 2015 19:06 #41 by Chri.s
Replied by Chri.s on topic Projeqtor under Nginx
thank you this helped but...wondering why...
2015-07-04 18:51:41.225 ===== TRACE ===== Migrating from version < V4.0.0 : previous errors are expected for Class 'User' on fields 'loginTry', 'salt' and 'crypto'
2015-07-04 18:51:41.235 ===== TRACE ===== Login error for user '9Z▒?b'
2015-07-04 18:52:11.437 ===== TRACE ===== Migrating from version < V4.0.0 : previous errors are expected for Class 'User' on fields 'loginTry', 'salt' and 'crypto'
2015-07-04 18:52:11.451 ===== TRACE ===== Login error for user '
                                                                ▒H▒'
2015-07-04 18:53:57.050 ===== TRACE ===== Migrating from version < V4.0.0 : previous errors are expected for Class 'User' on fields 'loginTry', 'salt' and 'crypto'
2015-07-04 18:53:57.060 ===== TRACE ===== Login error for user '▒q▒▒▒'

but now i am getting a bit angry...

which modules does the programm all in all need for running fine.


ok does not seem as the server would import the Databases. Tried it now within an hosted server under apache, therefore i had to comment lines 2528++ with replacing time limits before it runs. There it seems to have problems with UTF8/ German Special Chars (äöü and €)
array(39) { ["USER"]=> string(8) "www-data" ["HOME"]=> string(8) "/var/www" ["FCGI_ROLE"]=> string(9) "RESPONDER" ["PATH_INFO"]=> string(0) "" ["SCRIPT_FILENAME"]=> string(36) "/var/www/project/tool/loginCheck.php" ["QUERY_STRING"]=> string(55) "destinationWidth=300&destinationHeight=37.2727279663086" ["REQUEST_METHOD"]=> string(4) "POST" ["CONTENT_TYPE"]=> string(33) "application/x-www-form-urlencoded" ["CONTENT_LENGTH"]=> string(2) "81" ["SCRIPT_NAME"]=> string(20) "/tool/loginCheck.php" ["REQUEST_URI"]=> string(76) "/tool/loginCheck.php?destinationWidth=300&destinationHeight=37.2727279663086" ["DOCUMENT_URI"]=> string(20) "/tool/loginCheck.php" ["DOCUMENT_ROOT"]=> string(16) "/var/www/project" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["HTTPS"]=> string(2) "on" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_SOFTWARE"]=> string(11) "nginx/1.6.2" ["REMOTE_ADDR"]=> string(13) "" ["REMOTE_PORT"]=> string(5) "57070" ["SERVER_ADDR"]=> string(14) "" ["SERVER_PORT"]=> string(3) "443" ["SERVER_NAME"]=> string(23) "site" ["REDIRECT_STATUS"]=> string(3) "200" ["HTTP_HOST"]=> string(23) "site" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_CONTENT_LENGTH"]=> string(2) "81" ["HTTP_ORIGIN"]=> string(31) "https://site" ["HTTP_X_REQUESTED_WITH"]=> string(14) "XMLHttpRequest" ["HTTP_USER_AGENT"]=> string(110) "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36" ["HTTP_CONTENT_TYPE"]=> string(33) "application/x-www-form-urlencoded" ["HTTP_ACCEPT"]=> string(3) "*/*" ["HTTP_DNT"]=> string(1) "1" ["HTTP_REFERER"]=> string(45) "https://site/view/main.php" ["HTTP_ACCEPT_ENCODING"]=> string(13) "gzip, deflate" ["HTTP_ACCEPT_LANGUAGE"]=> string(35) "de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4" ["HTTP_COOKIE"]=> string(36) "PHPSESSID=s61rb043dk81cufdjco8f5c4o5" ["PHP_SELF"]=> string(0) "" ["REQUEST_TIME_FLOAT"]=> float(1436029539.6774) ["REQUEST_TIME"]=> int(1436029539) }
Last edit: 04 Jul 2015 19:06 by Chri.s.
The topic has been locked.
More
04 Jul 2015 19:54 #42 by babynus
Replied by babynus on topic Projeqtor under Nginx
Hi,
first log show normal "traces" : this show try to migrate from version < V4.0.0 and just points out that some errors may be displayed, without affecting correct execution.
You get connection error : only admin/admin is allowed during migration.
Maybe you should try brand new install from scratch with this configuration.


I don't understand why you had to comment function projeqtor_set_time_limit().
What was the error ?

About german characters, as many german users have contributed to the forum, I really thing it is a simple configuration issue.
Server must accept UTF8, and maybe you should play with ProjeQtOr parameter
$enforceUTF8 = '1';
This parameter has been introduced in V4.4 to fox some UTF8 transposition, maybe it is an issue in your case.
You can for instance try to set it to '0'.
Maybe you can ask climb4fun for hints.

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.064 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.