Delicious      Technorati      Blinklist      Furl      Reddit

TimeTrex Time and Attendance

TimeTrex Time and Attendance


* FAQ    * Search
* Login   * Register

All times are UTC - 8 hours [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Class Not Found Error
PostPosted: Mon Dec 11, 2006 7:49 am 
Offline

Joined: Mon Dec 11, 2006 7:38 am
Posts: 5
I am having problems with the windows install. I did not want to go the apache mysql route because I prefer PostgreSQL. So, I downloaded php 5.1.6, installed the ISAPI plugin to IIS, changed the directory permissions.

I do the setup URL, and I get an error from the Smarty.class about a missing class (I forget the full message, it happened on Saturday).

My theory is that I have something screwed up in PHP. I tried modifying php.ini. However, when I did that it would make it to a blank license page. So I reverted it back without the php.ini.

It would be helpful if you documented a full windows out of the box installation.

BTW, it only took me 15minutes to set it up on my MacBook Pro (My Client prefers windows).

TIA
Garry


Top
 Profile  
 
PostPosted: Mon Dec 11, 2006 10:02 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 6340
garry wrote:
I am having problems with the windows install. I did not want to go the apache mysql route because I prefer PostgreSQL. So, I downloaded php 5.1.6, installed the ISAPI plugin to IIS, changed the directory permissions.

I do the setup URL, and I get an error from the Smarty.class about a missing class (I forget the full message, it happened on Saturday).

My theory is that I have something screwed up in PHP. I tried modifying php.ini. However, when I did that it would make it to a blank license page. So I reverted it back without the php.ini.

It would be helpful if you documented a full windows out of the box installation.

BTW, it only took me 15minutes to set it up on my MacBook Pro (My Client prefers windows).

TIA
Garry


We can try to give you a hand with this, but first please have a look at:

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


Top
 Profile  
 
 Post subject: More Information
PostPosted: Mon Dec 11, 2006 11:54 am 
Offline

Joined: Mon Dec 11, 2006 7:38 am
Posts: 5
1. Clearly state what is happening, or what isn't happening that you feel should. If there are any error messages include the FULL EXACT error message.

Warning: Smarty::include(c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\templates_c\\%%7D^7DD^7DDF92DF%%License.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\timetrex\classes\smarty\libs\Smarty.class.php on line 1258

Warning: Smarty::include() [function.include]: Failed opening 'c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\templates_c\\%%7D^7DD^7DDF92DF%%License.tpl.php' for inclusion (include_path='c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\core;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\company;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\users;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\punch;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\schedule;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\department;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\help;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\client;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modules\document;c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\classes\modul in c:\Inetpub\wwwroot\timetrex\classes\smarty\libs\Smarty.class.php on line 1258

2. Clearly state the EXACT steps you took before the issue occurred, or steps to reproduce the issue.

--- installed php and ran install script

3. What version of TimeTrex you are running.

---I am using the v1.3.1 of timetrex.

4. What version of PHP you are using.

--- 5.1.6 downloaded from PHP.net

5. What operating system you are running.

--- Windows 2003 SP1 with all of the latest securtity fixes

6. What web server you are using.

--- IIS 6.0

7. Have you configured PHP to log errors to a file, and what errors are showing up in this file?
("error_log = <filename>" in PHP.INI)

8. In your TimeTrex.ini.php file, set the following under the [debug] section:
enable = TRUE
enable_display = TRUE
buffer_output = TRUE
enable_log = TRUE
verbosity = 11


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 1:13 pm 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 6340
The problem has to do with a missing directory or permission issues, not that TimeTrex can't find Smarty.

Ensure this directory exists and that your web server has write permissions to it:

c:\Inetpub\wwwroot\timetrex\classes\modules\core\..\..\..\templates_c\


This FAQ entry may help you as well:
http://forums.timetrex.com/viewtopic.php?t=66


Top
 Profile  
 
PostPosted: Mon Dec 11, 2006 3:31 pm 
Offline

Joined: Mon Dec 11, 2006 7:38 am
Posts: 5
It is showing stuff, but it will not allow me past that. Could it be that I don't have the Postgres Libraries in the path?


Top
 Profile  
 
PostPosted: Mon Dec 11, 2006 4:17 pm 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 6340
garry wrote:
It is showing stuff, but it will not allow me past that. Could it be that I don't have the Postgres Libraries in the path?


Please be more specific. What is it showing? What can't you get "past"?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 6:52 pm 
Offline

Joined: Mon Dec 11, 2006 7:38 am
Posts: 5
It is showing the License Screen now. I click in the accept field then submit, and then it goes back to the license field.

Thanks
Garry


Top
 Profile  
 
 Post subject: Next Problem
PostPosted: Mon Dec 11, 2006 7:03 pm 
Offline

Joined: Mon Dec 11, 2006 7:38 am
Posts: 5
I found the other thread where it was supposed to redirect to the next page (Requirements.php), so here are the results.

PHP Version: OK (v5.1.6)
Database Engine: Invalid
PHP BCMATH Enabled: OK
PHP SOAP Enabled: Warning: Not Installed. (SOAP extension must be enabled)
PEAR: Warning: Not Installed. (try running: "go-pear.bat")
Writable TimeTrex-Debug Configuration File (timetrex.ini.php): OK
Writable Cache Directory: OK
Writable Storage Directory: OK
Writable Log Directory: Warning: Not writable (c:\timetrex\log)
PHP Safe Mode Turned Off: OK
PHP Memory Limit: OK

How do I get it to recognize postgres?
I will research on how to install pear.

Thanks
Garry


Top
 Profile  
 
 Post subject: Re: Next Problem
PostPosted: Mon Dec 11, 2006 7:32 pm 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 6340
garry wrote:
I found the other thread where it was supposed to redirect to the next page (Requirements.php), so here are the results.

PHP Version: OK (v5.1.6)
Database Engine: Invalid
PHP BCMATH Enabled: OK
PHP SOAP Enabled: Warning: Not Installed. (SOAP extension must be enabled)
PEAR: Warning: Not Installed. (try running: "go-pear.bat")
Writable TimeTrex-Debug Configuration File (timetrex.ini.php): OK
Writable Cache Directory: OK
Writable Storage Directory: OK
Writable Log Directory: Warning: Not writable (c:\timetrex\log)
PHP Safe Mode Turned Off: OK
PHP Memory Limit: OK

How do I get it to recognize postgres?
I will research on how to install pear.

Thanks
Garry


You need to install and enable the PostgreSQL extension. How to do that really depends on how you installed PHP in the first place. Usually its just a matter of adding a "extension = pgsql.so" to you're php.ini file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Time and Attendance




Powered by phpBB® Forum Software © phpBB Group