Install error - I get absolutely nothing?

Ask your questions regarding TimeTrex installation here.
Locked
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Install error - I get absolutely nothing?

Post by chucknb »

Hi,

I am running Centos 4.3 and I have just upgraded tp php 5.04 and when I got to the install.php (http://localserver/timetrex/interface/i ... nstall.php) in a browser nothing happens. Is there and error log that is generated by the install. I have nothing in /var/log/timetrex.

Thanks
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Install error - I get absolutely nothing?

Post by mikeb »

chucknb wrote:Hi,

I am running Centos 4.3 and I have just upgraded tp php 5.04 and when I got to the install.php (http://localserver/timetrex/interface/i ... nstall.php) in a browser nothing happens. Is there and error log that is generated by the install. I have nothing in /var/log/timetrex.

Thanks
It looks like your having the same issues as Diggy. Please check this forum topic: http://forums.timetrex.com/viewtopic.php?t=4, specifically the last couple posts.

Thanks.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Post by chucknb »

Hi,

Okay getting closer. I installed php-bcmath and php-soap (didn't need the other 2). Finally got a WEB page to come up. Set everything writeable and php mem limits. Installed several additional pear routines but got hung up on the following:

In order for your TimeTrex installation to function properly, please ensure all of the system check items listed below are marked as "OK". If any are red, please take the necessary steps to fix them.
PHP Version: OK (ver 5.0.4)
Database Engine: OK (postgresql)
PHP SOAP Enabled: OK
PEAR HTML_Progress: Warning: Not Installed. (try running: "pear install --alldeps HTML_Progress")
PEAR HTTP_Download: Warning: Not Installed. (try running: "pear install --alldeps HTTP_Download")
PEAR AJAX (v0.4.1+): OK
PEAR Mail: OK
PEAR Mail_Mime: 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 (20M)
Note: Your TimeTrex configuration file (timetrex.ini.php) is located at:
/var/www/html/timetrex/includes/../timetrex.ini.php

Note: Your PHP configuration file (php.ini) is located at:
/etc/php.ini

When I try to do "pear install --alldeps HTML_Progress" I get an error that says "Release for 'html_progress' dependency 'HTML_Page2' has state 'beta', requires 'stable'
install failed


When I do the "pear install --alldeps HTTP_Download" I get back "No releases found for package 'HTML_Download'".

Thanks
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

chucknb wrote:Hi,

Okay getting closer. I installed php-bcmath and php-soap (didn't need the other 2). Finally got a WEB page to come up. Set everything writeable and php mem limits. Installed several additional pear routines but got hung up on the following:

In order for your TimeTrex installation to function properly, please ensure all of the system check items listed below are marked as "OK". If any are red, please take the necessary steps to fix them.
PHP Version: OK (ver 5.0.4)
Database Engine: OK (postgresql)
PHP SOAP Enabled: OK
PEAR HTML_Progress: Warning: Not Installed. (try running: "pear install --alldeps HTML_Progress")
PEAR HTTP_Download: Warning: Not Installed. (try running: "pear install --alldeps HTTP_Download")
PEAR AJAX (v0.4.1+): OK
PEAR Mail: OK
PEAR Mail_Mime: 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 (20M)
Note: Your TimeTrex configuration file (timetrex.ini.php) is located at:
/var/www/html/timetrex/includes/../timetrex.ini.php

Note: Your PHP configuration file (php.ini) is located at:
/etc/php.ini

When I try to do "pear install --alldeps HTML_Progress" I get an error that says "Release for 'html_progress' dependency 'HTML_Page2' has state 'beta', requires 'stable'
install failed


When I do the "pear install --alldeps HTTP_Download" I get back "No releases found for package 'HTML_Download'".

Thanks
Try these commands:

pear install -f --alldeps HTML_Progress
pear install -f --alldeps HTTP_Download
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Post by chucknb »

Hi,

Thanks for replying. No go - I get the same error messages as above...

Thanks
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

chucknb wrote:Hi,

Thanks for replying. No go - I get the same error messages as above...

Thanks
Both commands failed still? Try this command first, then those other commands:

pear config-set preferred_state beta
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Post by chucknb »

Hi,

Okay that sort of worked. I got them both to install (I had mis typed the second one as HTML_Download instead of HTTP_Download). But when I run the recheck is still shows the packages as missing:

PEAR HTML_Progress: Warning: Not Installed. (try running: "pear install --alldeps HTML_Progress")
PEAR HTTP_Download: Warning: Not Installed. (try running: "pear install --alldeps HTTP_Download")

Thanks
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Post by chucknb »

Hi,

Sorry I forgot to attach what was in my HTTPD log:

Wed Aug 16 16:54:47 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.css.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 16:54:50 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/minmax.js, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.js.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 16:54:50 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check

After I try a recheck

Thanks
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

chucknb wrote:Hi,

Okay that sort of worked. I got them both to install (I had mis typed the second one as HTML_Download instead of HTTP_Download). But when I run the recheck is still shows the packages as missing:

PEAR HTML_Progress: Warning: Not Installed. (try running: "pear install --alldeps HTML_Progress")
PEAR HTTP_Download: Warning: Not Installed. (try running: "pear install --alldeps HTTP_Download")

Thanks
Are other PEAR modules reporting as being installed correctly? I wonder if your pear installer installed them to the wrong directory or something. Sometimes this can happen if you mix PEAR RPMs with the installer itself. Run:

pear config-show

and show me the output of that. Then show me your "include_path" line from your php.ini file.

Thanks.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Post by chucknb »

Hi,

Okay here is the info...

[root@javelin ~]# pear config-show
Configuration:
==============
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/pear/doc
PHP extension directory ext_dir /usr/lib/php/modules
PEAR directory php_dir /usr/share/pear
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/share/pear/data
PHP CLI/CGI binary php_bin /usr/bin/php
PEAR test directory test_dir /usr/share/pear/test
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state beta
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy <not set>
PEAR server master_server pear.php.net
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)


include path from php.ini is:


;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"


odd but the php path is commentd out. Does this need to be enabled?

Thanks
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

chucknb wrote:Hi,

Okay here is the info...

[root@javelin ~]# pear config-show
Configuration:
==============
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/pear/doc
PHP extension directory ext_dir /usr/lib/php/modules
PEAR directory php_dir /usr/share/pear
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/share/pear/data
PHP CLI/CGI binary php_bin /usr/bin/php
PEAR test directory test_dir /usr/share/pear/test
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state beta
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy <not set>
PEAR server master_server pear.php.net
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)


include path from php.ini is:


;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"


odd but the php path is commentd out. Does this need to be enabled?

Thanks
Assuming that is the php.ini that Apache is actually using, yes, your include_path should look like this:

include_path = ".:/usr/share/pear"
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Post by chucknb »

Hi,

Still did not work. Here is my apache error log:

[client 10.0.10.32] script '/var/www/html/timetrex/global.js.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 17:57:18 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check


Thanks
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

chucknb wrote:Hi,

Still did not work. Here is my apache error log:

[client 10.0.10.32] script '/var/www/html/timetrex/global.js.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 17:57:18 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check


Thanks
Unfortunately the Apache error log isn't giving us much information right now. Try looking for this line in classes/modules/install/Install.class.php

@include_once('HTTP/Download.php');

and remove the "@" from the beginning of the line. This will enable error reporting for that specific line. Then try re-checking the requirements, and see if anything shows up in your Apache and/or PHP error log. You should see something along the lines of failed to find file: HTTP/Download.php.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
chucknb
Posts: 14
Joined: Wed Aug 16, 2006 10:19 am
Location: Albuquerque, NM
Contact:

Post by chucknb »

Hi,

Yep there is an error:

[Wed Aug 16 17:57:18 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/minmax.js, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.js.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 17:57:18 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.css.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 18:25:58 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/minmax.js, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.js.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 18:25:58 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check


Thanks
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Post by mikeb »

chucknb wrote:Hi,

Yep there is an error:

[Wed Aug 16 17:57:18 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/minmax.js, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.js.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 17:57:18 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download(HTTP/Download.php) [<a href='function.checkPEARHTTP-Download'>function.checkPEARHTTP-Download</a>]: failed to open stream: No such file or directory in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.css.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 18:25:58 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/minmax.js, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[client 10.0.10.32] script '/var/www/html/timetrex/global.js.php' not found or unable to stat, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check
[Wed Aug 16 18:25:58 2006] [error] [client 10.0.10.32] File does not exist: /var/www/html/timetrex/images, referer: http://10.0.10.7/timetrex/interface/ins ... n=Re-Check


Thanks
[client 10.0.10.32] PHP Warning: Install::checkPEARHTTP_Download() [<a href='function.include'>function.include</a>]: Failed opening 'HTTP/Download.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/timetrex/classes/modules/install/Install.class.php on line 532, referer:

It looks like HTTP_Download is not installed, or /usr/share/pear is not our PEAR directory. You should have a /usr/share/pear/HTTP/Download.php file, if not, search your HD for Download.php and see where it exists. If it doesn't exist, then it wasn't installed.

I would confirm that PEAR did infact install HTTP_Download by trying to install it again. It should say that package is already installed if it is.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Locked