Page 1 of 1

License.php

Posted: Thu Oct 19, 2006 3:28 pm
by bsloan
When I agree and click start I am immediatly hit with a 403 permission error. I am able I was able to run some of the PHP setup files in the folder manually but when you click next and continue on the individual pages it may or may not work. For instance I can enter the company info but if I hit continue I get only a blank page. I can not add a user because it does not save the comany info. The setup files did update the settings files and build the database structure.

Re: License.php

Posted: Thu Oct 19, 2006 4:19 pm
by mikeb
bsloan wrote:When I agree and click start I am immediatly hit with a 403 permission error. I am able I was able to run some of the PHP setup files in the folder manually but when you click next and continue on the individual pages it may or may not work. For instance I can enter the company info but if I hit continue I get only a blank page. I can not add a user because it does not save the comany info. The setup files did update the settings files and build the database structure.
403 permission error is what Apache reports when it can't read the file. What operating system and TimeTrex version are you running? I would start by confirming that all your permissions are set correctly so Apache can infact read the files.

Posted: Thu Oct 19, 2006 7:32 pm
by bsloan
Windows XP Professional

The current free version of Timetrex.

Is it the permissions on the folder or the directory permissions in the Apache configuration file.

Posted: Thu Oct 19, 2006 9:37 pm
by mikeb
bsloan wrote:Windows XP Professional

The current free version of Timetrex.

Is it the permissions on the folder or the directory permissions in the Apache configuration file.
Could be either I suppose. Its odd that it would happen for just certain files though. I would maybe even try to unzip the TimeTrex files again to ensure that they all have the same permissions.

Posted: Fri Oct 20, 2006 8:10 am
by bsloan
The problem doesn't seem to be that it can't read the files. It seems to be when one files calls to next in line to continue with the setup.

Posted: Fri Oct 20, 2006 8:30 am
by mikeb
bsloan wrote:The problem doesn't seem to be that it can't read the files. It seems to be when one files calls to next in line to continue with the setup.
I don't think the issue is TimeTrex related at all. There have a been a couple reports of "permission denied", but they have all been easily fixed by setting the proper permissions. My only other suggestion would be to unzip and install TimeTrex while logged in as Administrator if you aren't already, maybe that will help?

Unfortunately without more information I can't help much.

Posted: Fri Oct 20, 2006 10:07 am
by bsloan
Here are the error I am seeing in the Apache logs.

[Fri Oct 20 12:55:59 2006] [error] [client 127.0.0.1] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\\www\\webroot\\timetrex\\classes\\modules\\core\\Debug.class.php on line 160, referer: http://localhost/timetrex/interface/install/License.php
[Fri Oct 20 12:55:59 2006] [error] [client 127.0.0.1] File does not exist: C:/www/webroot/interface, referer: http://localhost/timetrex/interface/install/License.php
[Fri Oct 20 12:56:02 2006] [error] [client 127.0.0.1] mod_security: Access denied with code 403. Pattern match "((alter|create|drop)[[:space:]]+(column|database|procedure|table)|delete[[:space:]]+from|update.+set.+=)" at POST_PAYLOAD [id "300015"] [rev "1"] [msg "Generic SQL injection protection"] [severity "CRITICAL"] [hostname "localhost"] [uri "/timetrex/interface/install/License.php"]

Posted: Fri Oct 20, 2006 10:58 am
by mikeb
bsloan wrote:Here are the error I am seeing in the Apache logs.

[Fri Oct 20 12:55:59 2006] [error] [client 127.0.0.1] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\\www\\webroot\\timetrex\\classes\\modules\\core\\Debug.class.php on line 160, referer: http://localhost/timetrex/interface/install/License.php
[Fri Oct 20 12:55:59 2006] [error] [client 127.0.0.1] File does not exist: C:/www/webroot/interface, referer: http://localhost/timetrex/interface/install/License.php
[Fri Oct 20 12:56:02 2006] [error] [client 127.0.0.1] mod_security: Access denied with code 403. Pattern match "((alter|create|drop)[[:space:]]+(column|database|procedure|table)|delete[[:space:]]+from|update.+set.+=)" at POST_PAYLOAD [id "300015"] [rev "1"] [msg "Generic SQL injection protection"] [severity "CRITICAL"] [hostname "localhost"] [uri "/timetrex/interface/install/License.php"]
Interesting, it looks like mod_security is causing the issue. I would try to disable mod_security in your apache configuration and see if that fixes the problem.