Page 1 of 2

wont leave License.php page

Posted: Sat Dec 02, 2006 3:17 pm
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.

Re: wont leave License.php page

Posted: Sat Dec 02, 2006 4:50 pm
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.

Goes no where

Posted: Sat Dec 02, 2006 10:56 pm
by cbrenchley
After I check the box to agree and click next, it reloads the same page and clears the check box.

Re: Goes no where

Posted: Sun Dec 03, 2006 11:01 am
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.

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

Posted: Sun Dec 03, 2006 12:02 pm
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

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

Posted: Sun Dec 03, 2006 4:29 pm
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.

Lost in Cyber Space

Posted: Mon Dec 04, 2006 6:06 pm
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)

Re: Lost in Cyber Space

Posted: Mon Dec 04, 2006 6:16 pm
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.

Fedora Core 5

Posted: Mon Dec 04, 2006 7:06 pm
by cbrenchley
Fedora Core 5

Re: Fedora Core 5

Posted: Mon Dec 04, 2006 9:24 pm
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.

I see my problem

Posted: Tue Dec 05, 2006 10:21 pm
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

Re: I see my problem

Posted: Tue Dec 05, 2006 11:12 pm
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.

Hey!!!!!!!!

Posted: Wed Dec 06, 2006 6:57 pm
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

OPPs!!!

Posted: Wed Dec 06, 2006 7:14 pm
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
====================================================

Posted: Wed Dec 06, 2006 8:02 pm
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?

HELP!!

Posted: Thu Dec 07, 2006 6:30 am
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.

Re: HELP!!

Posted: Thu Dec 07, 2006 9:11 am
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.

NEXT!!

Posted: Thu Dec 07, 2006 12:39 pm
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.

Re: NEXT!!

Posted: Thu Dec 07, 2006 1:50 pm
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

Another problem

Posted: Thu Dec 07, 2006 3:49 pm
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

Posted: Thu Dec 07, 2006 4:05 pm
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.

Ignore my last brain Fart

Posted: Thu Dec 07, 2006 10:07 pm
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!!

Re: Ignore my last brain Fart

Posted: Fri Dec 08, 2006 10:35 am
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.

Posted: Fri Dec 08, 2006 1:45 pm
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.

Posted: Fri Dec 08, 2006 2:00 pm
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.