Glenn

Topic: localhost install help

hi,

could someone in the know please help me with my install. i have followed the guide to the letter, and any suggested help in the forums isn't working. i've got the index page loading with the db content & css styles, but every link leads to a 404 error.

my setup is:
Apache 2.0
PHP 5.2.5
directory is /jobs

the config.envs.php file is setup as follows:

Code:

// local (http://localhost/jobberbase/public)
$__instances['local'] = array(
    // should be a unique part of the url (or the entire url if you wish)
    'prefix' => 'localhost',
    // mysql credentials
    'db_host' => 'localhost',
    'db_port' => 3306,
    'db_user' => 'root',
    'db_password' => '',
    'db_name' => 'jobberbase',
    'db_prefix' => '',
    'app_url' => 'http://localhost/jobs/',
    'ini_error_reporting' => E_ALL,
    'ini_display_errors' => 'On',
    'location' => 'local',
    'environment' => 'dev',
    'rewrite_mode' => 'apache_mod_rewrite'
);

the .htaccess file is as follows:

Code:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteBase /jobs

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

ErrorDocument 404 /page-unavailable/

<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>

i have mod_rewrite enabled, checked through phpinfo() and i have also set the permissions to the folders as per the guide.

i've also restarted apache after any change

Any help is appreciated

Thanks

Last edited by Glenn (2011-02-08 23:34:16)

jobsbulletin

Re: localhost install help

Hi,

try to remove

Code:
RewriteBase /jobs

on your htaccess

thanks.

http://www.jobsbulletin.ph - Jobs Bulletin Philippines :: Where jobs and skills meet!

Glenn

Re: localhost install help

jobsbulletin wrote:

Hi,

try to remove

Code:
RewriteBase /jobs

on your htaccess

thanks.

i tried that one but no luck, and tried removing
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

with no success

putypuruty

Re: localhost install help

FYI, Glenn's problem is now solved. See http://www.jobberbase.com/forum/post11575.html#p11575

AsiaAleandri

Re: localhost install help

I presume you mean the url http://localhost/install

If it can't find an index file of some kind like index.php index.htm index.shtml index.shtml etc then it will give you that error message.

Can you check on your hard drive to make sure there is a file named one of the above in your <drive>:\xampp\htdocs\install

Have you copied/created the appropriate file and put it into the \xampp\htdocs\install folder?