Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Problem with initia...
 
Notifications
Clear all

Problem with initial config 4.0.0

4 Posts
2 Users
0 Reactions
4,612 Views
Jim Stalewski
(@jstalewski)
Posts: 5
Active Member
Topic starter
 
[#1445]

Installed 4.0.0
CentOS 6.4 64bit
PHP 5.3.3
PostgreSQL 8.4.13

After filling in the config form and clicking "OK" the screen just sits there. No error messages post on screen.

The Apache error log shows the following:

[Mon Nov 04 15:38:28 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/ 
[Mon Nov 04 15:38:28 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/ 
[Mon Nov 04 15:38:28 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/ 
[Mon Nov 04 15:38:28 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/ 
[Mon Nov 04 15:38:28 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/ 
[Mon Nov 04 15:38:28 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/ 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 297, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 298, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: version in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:38:29 2013] [error] [client 10.20.10.66] PHP Notice:  Undefined variable: build in /var/www/html/projeqtor/tool/config.php on line 299, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 
[Mon Nov 04 15:41:50 2013] [error] [client 10.20.10.66] File does not exist: /var/www/html/projeqtor/tool/i18n/nls/en-us, referer:  http://visaproject.visa.og.local/projeqtor/view/main.php 

The last error was an easy fix - just copied the "en" directory and named it "en-us", but the rest are where I am stuck.

Is there perhaps a missing or misplaced include in the ../tool/config.php script?


 
Posted : 05 Nov 2013 19H35
Jim Stalewski
(@jstalewski)
Posts: 5
Active Member
Topic starter
 

Not sure how much of this is the issue or just "an" issue, but...

1) I was trying to run this as a subdirectory of web root. I am going to try with the contents of the projecqtor directory at web root. I believe there are things trying to happen that expect paths beginning at web root not at /projeqtor.

2) I had selinux enabled. I don't think the permissions were all properly set. selinux is it's own creature and if you don't understand how it works you shouldn't try... Will try again with selinux policies disabled (and contents of projeqtor at web root)


 
Posted : 06 Nov 2013 0H06
Jim Stalewski
(@jstalewski)
Posts: 5
Active Member
Topic starter
 

It appears to have been a combination of the two.

So, it should be noted a) to make sure to put the contents of the projeqtor directory at web root and b) do not use selinux unless you know how to fix the permissions.

I now have the admin login issue noted in the other 4.0.0 topic, though.


 
Posted : 06 Nov 2013 1H38
(@babynus)
Posts: 14952
Member Admin
 

Hi,

1) No, you don't have to put content of the projeqtor directory at the web root.
This would limit to 1 only instance on a server.
I have several instances on same server : for instance, Demo and Track are on the same server, under subdirectories of web root.

2) Of course do not use selinux (or any other security tools) without knowing how it works.
To run any PHP web application, the user running PHP must at least have read rights to all the files in all the sub-directories.
During configuration, some write rights must also be set into /tool directory (to write parametersLocation.php file) and to the directory where you set parameters.php file.
And of cours, PH user must have write rights to directories used to store files :
- log file directory
- reports directory
- attachments directory
- documents directory
- cron directory
- import directory
- and /files/thumbs

3) the missing /tool/i18n/nls/en-us error is stange : is should not be needed as i18n is not directly base on browser locale (that can be en-us), but based on specific variable from user parameter.


 
Posted : 07 Nov 2013 21H10
Share:

Scroll to Top