wont leave License.php page

Ask your questions regarding TimeTrex installation here.
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

wont leave License.php page

Post by cbrenchley »

I've set all pages and directorys to writable just to solve a permisions problem. Here is my error_log:

[Sat Dec 02 12:51:32 2006] [notice] caught SIGTERM, shutting down
[Sat Dec 02 12:54:27 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Dec 02 12:54:28 2006] [notice] Digest: generating secret for digest authentication ...
[Sat Dec 02 12:54:28 2006] [notice] Digest: done
[Sat Dec 02 12:54:29 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Dec 02 12:54:29 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
Here is my versios
Fedora Core 5

PHP 5.1.2 (cli) (built: Feb 28 2006 06:21:15)
MySql Ver 14.12 Distrib 5.0.18, for redhat-linux-gnu (i386) using readline 5.0
Just throw me a bone Please.
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: wont leave License.php page

Post by mikeb »

cbrenchley wrote:I've set all pages and directorys to writable just to solve a permisions problem. Here is my error_log:

[Sat Dec 02 12:51:32 2006] [notice] caught SIGTERM, shutting down
[Sat Dec 02 12:54:27 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Dec 02 12:54:28 2006] [notice] Digest: generating secret for digest authentication ...
[Sat Dec 02 12:54:28 2006] [notice] Digest: done
[Sat Dec 02 12:54:29 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Dec 02 12:54:29 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
Here is my versios
Fedora Core 5

PHP 5.1.2 (cli) (built: Feb 28 2006 06:21:15)
MySql Ver 14.12 Distrib 5.0.18, for redhat-linux-gnu (i386) using readline 5.0
Just throw me a bone Please.
Your log doesn't show anything out of the ordinary. What is the actual problem? You agree to the license page and... You get an error? You get a blank page? I'm not sure what the actual problem is.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Goes no where

Post by cbrenchley »

After I check the box to agree and click next, it reloads the same page and clears the check box.
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Goes no where

Post by mikeb »

cbrenchley wrote:After I check the box to agree and click next, it reloads the same page and clears the check box.
Try enabling debug mode with verbosity level 11 and try it again, this FAQ entry explains how to do that:

http://forums.timetrex.com/viewtopic.php?t=89

With verbosity level set to 11, TimeTrex won't actually redirect you to the next page, but it should print that it is at least trying to. Thats what we need to find out, is if TimeTrex is actually trying to redirect you to the next page or not.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Here is some of the errors that now started showing at the

Post by cbrenchley »

Here is some of the errors that now started showing at the footer of the Liscense.php

DEBUG [135]: [Function](): URI: /time/interface/install/License.php
DEBUG [137]: [Function](): Production: 1
DEBUG [92]: DateTime::setTimeZone(): Setting TimeZone: PST8PDT
DEBUG [49]: [Function](): Bypassing Authentication
DEBUG [53]: [Function](): Start
DEBUG [98]: URLBuilder::getURL(): URL: Requirements.php
DEBUG [35]: Redirect::page(): Redirect URL: Requirements.php
DEBUG [98]: URLBuilder::getURL(): URL: pre_install.php?v=1.3.1S&page=license
DEBUG [67]: Install::isInstallMode(): Install Mode is ON
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Here is some of the errors that now started showing at t

Post by mikeb »

cbrenchley wrote:Here is some of the errors that now started showing at the footer of the Liscense.php

DEBUG [135]: [Function](): URI: /time/interface/install/License.php
DEBUG [137]: [Function](): Production: 1
DEBUG [92]: DateTime::setTimeZone(): Setting TimeZone: PST8PDT
DEBUG [49]: [Function](): Bypassing Authentication
DEBUG [53]: [Function](): Start
DEBUG [98]: URLBuilder::getURL(): URL: Requirements.php
DEBUG [35]: Redirect::page(): Redirect URL: Requirements.php
DEBUG [98]: URLBuilder::getURL(): URL: pre_install.php?v=1.3.1S&page=license
DEBUG [67]: Install::isInstallMode(): Install Mode is ON
Okay, so that tells us that TimeTrex IS redirecting you to the next page (Requirements.php) and install mode is on. So the question now is what happens when you go directly to install/Requirements.php in your browser? Does it redirect you back to the License page? With verbosity = 11, it won't actually carry out the redirect, but it should tell you in the debug text at the bottom of page of course.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Lost in Cyber Space

Post by cbrenchley »

Here is the Requirment.php page. How do I turn on BCMATh and SOAP, They are not listed in my php.ini file. If I have to recompile php how do I add these two extensions. Thanks for the great help.
PHP Version: OK (v5.1.2)
Database Engine: OK
PHP BCMATH Enabled: Warning: Not Installed. (BCMATH extension must be enabled)
PHP SOAP Enabled: Warning: Not Installed. (SOAP extension must be enabled)
PEAR: OK
Writable TimeTrex Configuration File (timetrex.ini.php): OK
Writable Cache Directory: OK
Writable Storage Directory: OK
Writable Log Directory: OK
PHP Safe Mode Turned Off: OK
PHP Memory Limit: OK (21M)
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Lost in Cyber Space

Post by mikeb »

cbrenchley wrote:Here is the Requirment.php page. How do I turn on BCMATh and SOAP, They are not listed in my php.ini file. If I have to recompile php how do I add these two extensions. Thanks for the great help.
PHP Version: OK (v5.1.2)
Database Engine: OK
PHP BCMATH Enabled: Warning: Not Installed. (BCMATH extension must be enabled)
PHP SOAP Enabled: Warning: Not Installed. (SOAP extension must be enabled)
PEAR: OK
Writable TimeTrex Configuration File (timetrex.ini.php): OK
Writable Cache Directory: OK
Writable Storage Directory: OK
Writable Log Directory: OK
PHP Safe Mode Turned Off: OK
PHP Memory Limit: OK (21M)
What distribution are you running? You need to make sure the extensions are installed first of all. Once they are installed usually there is a file like: /etc/php.d/soap.ini that you can enable the soap extension in. Otherwise you just need to add the soap.so file to your php.ini.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Fedora Core 5

Post by cbrenchley »

Fedora Core 5
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Fedora Core 5

Post by mikeb »

cbrenchley wrote:Fedora Core 5
Its probably just a matter of installing the PHP-SOAP and PHP-BCMATH RPMS, then enabling them in their respective .ini files under /etc/php.d or similar.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

I see my problem

Post by cbrenchley »

I can see my problem but I've search hi and low on the web and can't find much info on how to enable bcmath and soap. What is the easiest path to take? I've tryed this:
./configure –with-soap --enable-soap --with-libxml-dir=DIR --enable-bcmath

With the correct DIR
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: I see my problem

Post by mikeb »

cbrenchley wrote:I can see my problem but I've search hi and low on the web and can't find much info on how to enable bcmath and soap. What is the easiest path to take? I've tryed this:
./configure –with-soap --enable-soap --with-libxml-dir=DIR --enable-bcmath

With the correct DIR
If you are using Fedora it should just be a matter of installing the proper RPM. Assuming you haven't compiled PHP to start with.
Something along the lines of:

yum install php-soap
yum install php-bcmath

Your best bet is to ask in a Fedora forum or chatroom.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Hey!!!!!!!!

Post by cbrenchley »

Hay, That was it! It was reallly simple when you gave me the yum commands. I owe you dinner and thanks for the great help
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

OPPs!!!

Post by cbrenchley »

Thought I had it but still can't get it to move forward off the page. Alll requirments are met but here are the bugs that are printed below:
Debug Buffer
============================================================================
Memory Usage: 2345680
----------------------------------------------------------------------------
DEBUG [135]: [Function](): URI: /time/interface/install/Requirements.php
DEBUG [137]: [Function](): Production: 1
DEBUG [92]: DateTime::setTimeZone(): Setting TimeZone: PST8PDT
DEBUG [49]: [Function](): Bypassing Authentication
DEBUG [67]: Install::isInstallMode(): Install Mode is ON
DEBUG [429]: Install::checkPHPVersion(): Comparing with Version: 5.1.6
DEBUG [463]: Install::checkPHPVersion(): RetVal: 0
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [804] Array: Install::checkAllRequirements(): RetArr:

array(3) {
[0]=>
int(11)
[1]=>
int(0)
[2]=>
int(0)
}


DEBUG [429]: Install::checkPHPVersion(): Comparing with Version: 5.1.6
DEBUG [463]: Install::checkPHPVersion(): RetVal: 0
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [98]: URLBuilder::getURL(): URL: pre_install.php?v=1.3.1S&page=require&0=Require
DEBUG [429]: Install::checkPHPVersion(): Comparing with Version: 5.1.6
DEBUG [463]: Install::checkPHPVersion(): RetVal: 0
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [804] Array: Install::checkAllRequirements(): RetArr:

array(3) {
[0]=>
int(11)
[1]=>
int(0)
[2]=>
int(0)
}


DEBUG [429]: Install::checkPHPVersion(): Comparing with Version: 5.1.6
DEBUG [463]: Install::checkPHPVersion(): RetVal: 0
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [429]: Install::checkPHPVersion(): Comparing with Version: 5.1.6
DEBUG [463]: Install::checkPHPVersion(): RetVal: 0
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [491]: Install::getMemoryLimit(): RAW Limit: 21M
DEBUG [493]: Install::getMemoryLimit(): Limit: 21
DEBUG [804] Array: Install::checkAllRequirements(): RetArr:

array(3) {
[0]=>
int(11)
[1]=>
int(0)
[2]=>
int(0)
}


============================================================================

============================================================================
PROFILER OUTPUT
============================================================================
Calls Time Routine
-----------------------------------------------------------------------------
1 0.0000 ms (0.00 %) unprofiled

375.0939 ms (100.00 %) Missed
============================================================================
375.0939 ms (100.00 %) OVERALL TIME
====================================================
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

How is it not moving past the requirements page?

Did you disable the debugging and change the verbosity back to 10 or less?
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

HELP!!

Post by cbrenchley »

When I Click on the next button, on either the License.php page or the Requirments.php page, it acts like it is going to next page but it will just reload the same page. I did not disable the debug or change the verbosity, it is set to 11.
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: HELP!!

Post by mikeb »

cbrenchley wrote:When I Click on the next button, on either the License.php page or the Requirments.php page, it acts like it is going to next page but it will just reload the same page. I did not disable the debug or change the verbosity, it is set to 11.
With verbosity set to 11 it will never redirect you to other pages by design. Its purpose is to show you debug information before the redirect occurs.

Please change it to 10 or less then try again.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

NEXT!!

Post by cbrenchley »

OK, That worked too. I was getting really excited about it working and then:
WARNING: TimeTrex was unable to set your time zone. Please contact your TimeTrex administrator immediately.
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: NEXT!!

Post by mikeb »

cbrenchley wrote:OK, That worked too. I was getting really excited about it working and then:
WARNING: TimeTrex was unable to set your time zone. Please contact your TimeTrex administrator immediately.
http://forums.timetrex.com/viewtopic.php?t=40
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Another problem

Post by cbrenchley »

Now I'm getting these warnings. Starting to go crazy!!

Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list in /var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/DateTime.class.php on line 97

Warning: main() [function.main]: open_basedir restriction in effect. File(/Cache.inc.php) is not within the allowed path(s): (/var/www/vhosts/MYDOMAIN.org/httpdocs:/tmp) in /var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/includes/global.inc.php on line 170

Warning: main(Cache.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/includes/global.inc.php on line 170

Fatal error: main() [function.require]: Failed opening required 'Cache.inc.php' (include_path='/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/core:/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/company:/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/users:/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/punch:/var/www/vhostsMYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/schedule:/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/department:/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/help:/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/classes/modules/core/../../../classes/modules/client:/var/www/vhosts/MYDOMAIN.org/httpdocs/admin/time/ in /var/www/vhosts/MYDOMAIN/httpdocs/admin/time/includes/global.inc.php on line 170
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

Looks like your PHP.INI file changed since the installation.

Somehow you managed to enable safe mode. Try going to the Installers Requirements page and see if it complains about anything. Chances are other issues will arise too.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Ignore my last brain Fart

Post by cbrenchley »

Please ignore my last error post, The only problem that i'm having now is gettning the dates to show in the drop down list. I've ran this:
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
on my system but still cannot get my dates to show up. Help!!
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Ignore my last brain Fart

Post by mikeb »

cbrenchley wrote:Please ignore my last error post, The only problem that i'm having now is gettning the dates to show in the drop down list. I've ran this:
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
on my system but still cannot get my dates to show up. Help!!
You're going to give us more details than that. What dates are you referring to exactly?

Importing time zones has nothing to do with which dates show up in drop down lists.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
cbrenchley
Posts: 28
Joined: Sat Dec 02, 2006 3:09 pm

Post by cbrenchley »

When I goto this page:
http://localhost/time/interface/users/E ... complete=1
and try to edit the info, Pay Period Schedule: , Policy Group: , Title , Default Branch and Default Department only have a "-" in the drop down list.
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

cbrenchley wrote:When I goto this page:
http://localhost/time/interface/users/E ... complete=1
and try to edit the info, Pay Period Schedule: , Policy Group: , Title , Default Branch and Default Department only have a "-" in the drop down list.
You need to add a Pay Period schedule, Policy Group, Titles, Branches, and Departments for them to show up in the drop downs. Please go to Help -> Administrator Guide and it will walk you through doing most of this.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Locked