Thanks for this code, I included environment checks in dbinstall.php file in version 1.9.25.3501.peter wrote:You can save the content below in a file named environment_check.php and put it the installation directory...
Time Tracker install in HOSTING ENVIRONMENTS
Re: Time Tracker install in HOSTING ENVIRONMENTS
Re: Time Tracker install in HOSTING ENVIRONMENTS
Hey peter,
Thanks so much for this code. I tested it out and got the second result. All is good, except: Error: connection to database failed. MDB2 Error: unknown error
I'm wondering if I have the DSN incorrect?... Any more advice on this?
Thanks so much for this code. I tested it out and got the second result. All is good, except: Error: connection to database failed. MDB2 Error: unknown error
I'm wondering if I have the DSN incorrect?... Any more advice on this?
Re: Time Tracker install in HOSTING ENVIRONMENTS
Oops... I figured it out...
Instead of using "localhost" in the config.php file, I was using the actual domain of my installation. I changed the value to "localhost" and bingo...it worked!
Thanks for your help on this!
Instead of using "localhost" in the config.php file, I was using the actual domain of my installation. I changed the value to "localhost" and bingo...it worked!
Thanks for your help on this!
Re: Time Tracker install in HOSTING ENVIRONMENTS
I had a situation with Hostmonster. Their web server will produce Error 500 if you just unpack the available Time Tracker download archive and try to access it.
It is a file permission issue (group write on files). They do not like 664 on files, and 775 on directories, apparently.
Make sure to downgrade permissions to 644 on files (especially the ones that are accessed directly in root and mobile directories). Make directories 755. This fixed the problem for me.
This is how they explain it:
It is a file permission issue (group write on files). They do not like 664 on files, and 775 on directories, apparently.
Make sure to downgrade permissions to 644 on files (especially the ones that are accessed directly in root and mobile directories). Make directories 755. This fixed the problem for me.
This is how they explain it:
Example of Server 500 Error
Bad permissions, Writable by group
A bad permissions error may look something like this:
[Sun Jun 05 12:03:22 2012] [error] [client 66.249.72.82] SoftException in Application.cpp:601: Directory "/home/exampleuser/public_html" is writeable by group
In this instance the folder had permissions for a folder set too high. To correct this, the permissions need to be changed from "777" to "755".
Directories and folders should be 755. Executable scripts within the cgi-bin folder must be 755. Images, media, and text files like HTML should be 644.
Files - 644
CGI Scripts - 755
Directories - 755
You can modify permissions with the File Manager, located in the "Files" category of the cPanel, an FTP client, or using the chmod command in SSH/Bash.
Re: Time Tracker install in HOSTING ENVIRONMENTS
I have adjusted file (to 644) and directory (to 755) permissions in Time Tracker downloads, Hopefully, it is no longer an issue.wrc wrote:I had a situation with Hostmonster. Their web server will produce Error 500 if you just unpack the available Time Tracker download archive and try to access it.
It is a file permission issue (group write on files). They do not like 664 on files, and 775 on directories, apparently.