Hi. I decided to upgrade from my current Projectbench version .1 to .4
Not finding any information on doing an upgrade, I backed up my current files, copied the new version over top of my current one, then updated the config.php file to match my previous settings.
I started getting an "error 500: Internal Server Error" message whenever I tried to open projectbench. Based on a suggestion from my host, I changed all the permissions on the files to allow execute (for some reason they were all set to read/write access, but 'execute' wasn't checked) Unfortunately, I still get the same error.
Is there anything I missed? Are there any other steps I need to take in upgrading? I do see some files in the sql folder which seem to update the database for different versions of projectbench. Do these run automatically, or is there something I need to do?
Thanks!
-Mike Ethetton
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After further investigation, it appears my problem stem from the .htaccess file in the /projectbench folder which caused the web server to choke. Deleting this file allowed me to run the install.php program, which updated my databases.
Is there any other 'gotchas' we need to be aware of when upgrading?
Thanks for a great little program.
-Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Upgrading is as simple as running install.php.
Of course, backup of the old database is a must :)
The .htaccess file helps the project (in case you're running Apache) by setting a couple of php values. I see no reason why it would "choke" the webserver....
Could you please give me a little bit more details of your setup? (webserver, operating system, php version, file system, etc)
Thanks.
philip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have my web site hosted through 1&1 Internet (1and1.com)
The server is running Linux, though I don't know any details. They say they support php version 3 through 5. Here's some info I found. Maybe it will help?
System: Linux infong 2.4 #1 SMP Tue Nov 23 10:41:44 CET 2004 i686 unknown
Build Date: Dec 17 2004 10:53:06
Configuration File (php.ini) Path: /usr/local/lib/php.ini
PHP API: 20020918
PHP Extension: 20020429
Zend Extension: 20021010
As I said in the first message, the error I got was "error 500: Internal Server Error"
Deleting the .htacess file made everything work normally. Will I have a problem if this file is missing?
Thanks,
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not expect you would encounter any problems. The .htaccess is a great feature of the Apache server that allows the settings for a folder (and its subfolders) to be different than those of the webserver. Think of it as an "override" mechanism.
If you care to know, this is what the pb's .htaccess does:
DirectoryIndex index.php - set the "default" file to index.php
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag short_open_tag on
php_value output_buffering 4096
All these set different values that are normally set in php.ini files:no magic quotes, short open tag (<? in addition to <?php) and turns on output buffering. Should your webserver already be set up this way (and they usually are), you're not likely to have any problems.
I suspect the webserver might not have enabled support for .htaccess, but if the app works fine for you... I guess no harm done :)
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I just installed projectbench 0.4 and had the same installation issue. I'm running PHP 4.2.2 on Apache 2.0 (phpinfo reports Server API: Apache 2.0 Filter). The error log showed that the server did not understand the 'php_flag' directive in .htaccess. I commented out all the php_flags (and put them in my php.ini) and then it started working.
Well, it still couldn't display step 3 due to headers already being started, but that's another message. :-)
-- Gary Oberbrunner
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I decided to upgrade from my current Projectbench version .1 to .4
Not finding any information on doing an upgrade, I backed up my current files, copied the new version over top of my current one, then updated the config.php file to match my previous settings.
I started getting an "error 500: Internal Server Error" message whenever I tried to open projectbench. Based on a suggestion from my host, I changed all the permissions on the files to allow execute (for some reason they were all set to read/write access, but 'execute' wasn't checked) Unfortunately, I still get the same error.
Is there anything I missed? Are there any other steps I need to take in upgrading? I do see some files in the sql folder which seem to update the database for different versions of projectbench. Do these run automatically, or is there something I need to do?
Thanks!
-Mike Ethetton
After further investigation, it appears my problem stem from the .htaccess file in the /projectbench folder which caused the web server to choke. Deleting this file allowed me to run the install.php program, which updated my databases.
Is there any other 'gotchas' we need to be aware of when upgrading?
Thanks for a great little program.
-Mike
Mike,
Upgrading is as simple as running install.php.
Of course, backup of the old database is a must :)
The .htaccess file helps the project (in case you're running Apache) by setting a couple of php values. I see no reason why it would "choke" the webserver....
Could you please give me a little bit more details of your setup? (webserver, operating system, php version, file system, etc)
Thanks.
philip
Phillip,
I have my web site hosted through 1&1 Internet (1and1.com)
The server is running Linux, though I don't know any details. They say they support php version 3 through 5. Here's some info I found. Maybe it will help?
System: Linux infong 2.4 #1 SMP Tue Nov 23 10:41:44 CET 2004 i686 unknown
Build Date: Dec 17 2004 10:53:06
Configuration File (php.ini) Path: /usr/local/lib/php.ini
PHP API: 20020918
PHP Extension: 20020429
Zend Extension: 20021010
As I said in the first message, the error I got was "error 500: Internal Server Error"
Deleting the .htacess file made everything work normally. Will I have a problem if this file is missing?
Thanks,
Mike
I do not expect you would encounter any problems. The .htaccess is a great feature of the Apache server that allows the settings for a folder (and its subfolders) to be different than those of the webserver. Think of it as an "override" mechanism.
If you care to know, this is what the pb's .htaccess does:
DirectoryIndex index.php - set the "default" file to index.php
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag short_open_tag on
php_value output_buffering 4096
All these set different values that are normally set in php.ini files:no magic quotes, short open tag (<? in addition to <?php) and turns on output buffering. Should your webserver already be set up this way (and they usually are), you're not likely to have any problems.
I suspect the webserver might not have enabled support for .htaccess, but if the app works fine for you... I guess no harm done :)
Thanks.
Hi, I just installed projectbench 0.4 and had the same installation issue. I'm running PHP 4.2.2 on Apache 2.0 (phpinfo reports Server API: Apache 2.0 Filter). The error log showed that the server did not understand the 'php_flag' directive in .htaccess. I commented out all the php_flags (and put them in my php.ini) and then it started working.
Well, it still couldn't display step 3 due to headers already being started, but that's another message. :-)
-- Gary Oberbrunner
make sure you install all the patches that apply and that your configuration matches the requirements laid out in the install docs.
thanks.