After clean install of 3.4.2, I get the "He's dead, Jim!" error.
Can't figure this one out.
mod-rewrite is enabled, htaccess.txt is now .htaccess
when I click on 'login' or 'register' I get 'He's dead, Jim' error.
I get 'He's dead, Jim' error also when I try to login at '/username/traq/admin'
error: "He's dead, Jim The requested page '/username/traq/login' couldn't be found."
I expect this is a mod-rewrite issue. But, I can't be sure.
I've been tweaking the .htaccess
any advice?
Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
- jeronimo
- Newbie
- Posts: 9
- Joined: Sun Feb 09, 2014 11:06 am
- Location: Japan
Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
Last edited by jeronimo on Sun Feb 09, 2014 11:59 am, edited 1 time in total.
- Jack
- Advanced Member
- Posts: 668
- Joined: Fri Mar 27, 2009 7:37 pm
- Location: Australia
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
What software, including the version, is the server running?
- jeronimo
- Newbie
- Posts: 9
- Joined: Sun Feb 09, 2014 11:06 am
- Location: Japan
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
Hi Jack,
Thanks for the reply.
Apache/2.2.3 (Red Hat)
PHP 5.3.
MySQL 5.0.95
Thanks for the reply.
Apache/2.2.3 (Red Hat)
PHP 5.3.
MySQL 5.0.95
- jeronimo
- Newbie
- Posts: 9
- Joined: Sun Feb 09, 2014 11:06 am
- Location: Japan
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
all running on Red Hat Enterprise Linux Server release 5.8 (Tikanga)
- Jack
- Advanced Member
- Posts: 668
- Joined: Fri Mar 27, 2009 7:37 pm
- Location: Australia
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
Would you mind running this in the same directory as Traq's "index.php" with the original ".htaccess" and either posting or private messaging me the output?
What this code will do is output some information about the request such as the request path, script path, query string and a few other things.
Code: Select all
<pre>
<?php
foreach ($_SERVER as $key => $value) {
if (!preg_match("/^(HTTP_|SERVER_|REQUEST_TIME|REMOTE_PORT|REMOTE_ADDR|PATH)/", $key)) {
echo "{$key} => {$value}" . PHP_EOL;
}
}
Last edited by Jack on Sun Feb 09, 2014 3:33 pm, edited 1 time in total.
- jeronimo
- Newbie
- Posts: 9
- Joined: Sun Feb 09, 2014 11:06 am
- Location: Japan
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
Code: Select all
Here's the output
DOCUMENT_ROOT => /var/www/html
SCRIPT_FILENAME => /var/www/html/username/traq/test_traq.php
GATEWAY_INTERFACE => CGI/1.1
REQUEST_METHOD => GET
QUERY_STRING =>
REQUEST_URI => /username/traq/test_traq.php
SCRIPT_NAME => /username/traq/test_traq.php
PHP_SELF => /username/traq/test_traq.php
- Jack
- Advanced Member
- Posts: 668
- Joined: Fri Mar 27, 2009 7:37 pm
- Location: Australia
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
Looks good. Does Apache's "httpd.conf" have "AllowOverride" set to "All" or "None" for the document root?
- jeronimo
- Newbie
- Posts: 9
- Joined: Sun Feb 09, 2014 11:06 am
- Location: Japan
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
It appears to be set to "All"
DOCUMENT_ROOT => /var/www/html
Here's a snippet from httpd.conf
DOCUMENT_ROOT => /var/www/html
Here's a snippet from httpd.conf
Code: Select all
<Directory "/var/www/html">
. . .
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
. . .
</Directory>
- Jack
- Advanced Member
- Posts: 668
- Joined: Fri Mar 27, 2009 7:37 pm
- Location: Australia
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
What variants of the ".htaccess" file have you tried so far?
- jeronimo
- Newbie
- Posts: 9
- Joined: Sun Feb 09, 2014 11:06 am
- Location: Japan
Re: Post-Install Error: He's dead, Jim! The requested page '/username/traq/register' couldn't be found.
I don't recall what I tried. I'm not really familiar with apache mod_rewrite scripts. I'm reading up about it, using this as a possible learning experience, a trial and error approach. I've also been manually changing the paths in bootstrap.php
again, just a trial and error... I could be bark up the wrong tree here.
I've double checked to see that mod_rewrite is actually working correctly on the server. A simple example worked as expected. So, it's functioning...
At this point all I can think of is a clean install of Traq. In the next few days I'll be installing a PHP framework "CakePHP". Cake also uses mod_rewrite for 'routes' etc. I'll see how that goes.
Thanks again Jack, for the assistance.
again, just a trial and error... I could be bark up the wrong tree here.
Code: Select all
// Define the paths needed
define("SYSPATH", dirname(__FILE__) . '/avalon');
define("APPPATH", dirname(__FILE__) . '/traq');
define("DOCROOT", dirname(dirname(__FILE__)));
At this point all I can think of is a clean install of Traq. In the next few days I'll be installing a PHP framework "CakePHP". Cake also uses mod_rewrite for 'routes' etc. I'll see how that goes.
Thanks again Jack, for the assistance.
Who is online
Users browsing this forum: No registered users and 7 guests