On Install: Fatal error: Class 'Misc' not found in...

Ask your questions regarding TimeTrex installation here.
Locked
kb
Posts: 3
Joined: Thu Jul 26, 2007 7:38 pm

On Install: Fatal error: Class 'Misc' not found in...

Post by kb »

When try installing I receive the error: Fatal error: Class 'Misc' not found in .. Line 48

It occurs in License.php right after install.php. I do not see any tables yet created in the DB.

I am running PHP 5.0.14 with mysql 5.? on Linux. It's a virtual shared hosting arrangement.

Any help would be appreciated. Thanks, KB

Here is my config:

;
;
; TimeTrex Configuration File
; *Linux* Example
;
; /home/content/R/a/g/[edited]/html
; /var/tmp/timetrex
; /var/log/timetrex
; /var/timetrex/storage
;

;
; System paths. NO TRAILING SLASHES!
;
[path]
;URL to TimeTrex web root directory. ie: http://your.domain.com/<*BASE_URL*>
;DO NOT INCLUDE http://your.domain.com, just the directory AFTER your domain
base_url = /interface

;
;log directory
;
;Linux
log = /home/content/R/a/g/[edited]/html/var/log/timetrex

;
;Misc storage, for attachments/images
;
;Linux
storage = /home/content/R/a/g/[edited]/html/var/timetrex/storage

;
;Full path and name to the PHP CLI Binary
;
;Linux
php_cli = /usr/bin/php



;
; Database connection settings. These can be set from the installer.
;
[database]
type = mysqlt
;type = postgres8

host = p50mysql25.secureserver.net
database_name =
user =
password =



;
; Cache settings
;
[cache]
enable = TRUE
;Linux
dir = /home/content/R/a/g/[edited]/html/var/tmp/timetrex



[debug]
;Set to false if you're debugging
production = FALSE

enable = TRUE
enable_display = TRUE
buffer_output = TRUE
enable_log = TRUE
verbosity = 10



[other]
; Force all clients to use SSL.
force_ssl = FALSE
installer_enabled = TRUE
primary_company_id = 0

;WARNING: DO NOT CHANGE THIS AFTER YOU HAVE INSTALLED TIMETREX.
;If you do it will cause all your passwords to become invalid,
;and you may lose access to some encrypted data.
salt = 0


































;<? if (; //Cause parse error to hide from prying eyes, just in case. DO NOT REMOVE?>
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

I am running PHP 5.0.14
Do you mean PHP v5.1.4?

I would confirm that classes/modules/core/Misc.class.php exists for you, and if it does, then for some reason PHP can't find it. Do you have any sort of open_basedir restrictions in place?
kb
Posts: 3
Joined: Thu Jul 26, 2007 7:38 pm

Post by kb »

Thanks, that fixed the issue. I guess one of the files had an error on the FTP transfer.
Locked