TimeTrex installation problems

Ask your questions regarding TimeTrex installation here.
Locked
kamal3965
Posts: 5
Joined: Tue Jul 31, 2007 4:06 am

TimeTrex installation problems

Post by kamal3965 »

I have installed wamp on my windows xp
I am getting the following message after running install.php

Warning: fopen(http://www.timetrex.com/pre_install.php ... ache/2.2.4 (Win32) PHP/5.2.3) [function.fopen]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\wamp\www\TimeTrex\interface\install\install.php on line 67

Warning: fclose(): supplied argument is not a valid stream resource in C:\wamp\www\TimeTrex\interface\install\install.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\TimeTrex\interface\install\install.php:67) in C:\wamp\www\TimeTrex\interface\install\install.php on line 71

kindly let me know what is the problem


thanks all for sparing their valuable time
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Please see this topic for instructions on how to work around this issue:

http://forums.timetrex.com/viewtopic.php?t=406
kamal3965
Posts: 5
Joined: Tue Jul 31, 2007 4:06 am

Post by kamal3965 »

Thanks buddy for the reply, but after doing as suggested i just get a blank page. seeing the log tells me that there is an error connecting to the database

kindly help

kamal
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Please post the complete and exact error message here.
kamal3965
Posts: 5
Joined: Tue Jul 31, 2007 4:06 am

Post by kamal3965 »

Dear All

i am posting part of the error log here (php_error.log)

[10-Aug-2007 17:39:02] PHP Warning: Cache_Lite::include_once() [<a href='function.include'>function.include</a>]: Failed opening 'PEAR.php' for inclusion (include_path='C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\core;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\company;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\users;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\punch;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\schedule;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\department;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\help;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\client;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\document;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\hierarchy;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\holiday;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\inv in C:\wamp\www\TimeTrex\classes\cache_lite\Lite.php on line 478

[10-Aug-2007 17:39:02] PHP Fatal error: Class 'PEAR' not found in C:\wamp\www\TimeTrex\classes\cache_lite\Lite.php on line 479


thanks all

srikamal
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

You don't have PEAR installed. Try running the go-pear.bat file in your PHP directory.
kamal3965
Posts: 5
Joined: Tue Jul 31, 2007 4:06 am

Post by kamal3965 »

I have installed pear as suggested

but am getting the following error

[13-Aug-2007 14:43:31] PHP Warning: fopen(http://www.timetrex.com/pre_install.php ... ge=license) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

in C:\wamp\www\TimeTrex\interface\install\License.php on line 64

[13-Aug-2007 14:43:31] PHP Warning: fclose(): supplied argument is not a valid stream resource in C:\wamp\www\TimeTrex\interface\install\License.php on line 65

[13-Aug-2007 14:43:32] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'timetrex'@'localhost' (using password: YES) in C:\wamp\www\TimeTrex\classes\adodb\drivers\adodb-mysql.inc.php on line 376

[13-Aug-2007 14:43:32] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: SMTP server response: 550 5.7.1 Unable to relay for root@localhost in C:\wamp\www\TimeTrex\classes\modules\core\Debug.class.php on line 166

[13-Aug-2007 14:43:32] PHP Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\TimeTrex\classes\modules\core\Exception.class.php:44) in C:\wamp\www\TimeTrex\classes\modules\core\Redirect.class.php on line 38

[13-Aug-2007 14:43:48] PHP Warning: opendir(c:\temp\timetrex\) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: Result too large in C:\wamp\www\TimeTrex\classes\cache_lite\Hashed_Cache_Lite.php on line 166

[13-Aug-2007 14:43:48] PHP Warning: Cache_Lite::include_once(PEAR.php) [<a href='function.Cache-Lite-include-once'>function.Cache-Lite-include-once</a>]: failed to open stream: No such file or directory in C:\wamp\www\TimeTrex\classes\cache_lite\Lite.php on line 478

[13-Aug-2007 14:43:48] PHP Warning: Cache_Lite::include_once() [<a href='function.include'>function.include</a>]: Failed opening 'PEAR.php' for inclusion (include_path='C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\core;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\company;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\users;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\punch;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\schedule;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\department;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\help;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\client;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\document;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\hierarchy;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\holiday;C:\wamp\www\TimeTrex\classes\modules\core\..\..\..\classes\modules\inv in C:\wamp\www\TimeTrex\classes\cache_lite\Lite.php on line 478

[13-Aug-2007 14:43:48] PHP Fatal error: Class 'PEAR' not found in C:\wamp\www\TimeTrex\classes\cache_lite\Lite.php on line 479

kindly help
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

[13-Aug-2007 14:43:48] PHP Warning: opendir(c:\temp\timetrex\) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: Result too large in C:\wamp\www\TimeTrex\classes\cache_lite\Hashed_Cache_Lite.php on line 166
This is a very strange error, how many files/directories are in c:\temp\timetrex?
[13-Aug-2007 14:43:48] PHP Fatal error: Class 'PEAR' not found in C:\wamp\www\TimeTrex\classes\cache_lite\Lite.php on line 479
It says it still can't find PEAR, are you sure it installed correctly?
kamal3965
Posts: 5
Joined: Tue Jul 31, 2007 4:06 am

Post by kamal3965 »

Hi

should pear be installed in c:\wamp\php or \wamp\www\timetrex

thanks
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

It depends, most likely c:\wamp\php, but you will also need to check your php.ini file to see where the include_path points to.
Locked