tijoantony

Topic: Download Prompt after Installation

I installed the new version on Jobberbase, completed the process as per the guidance.
when i browse the domain, i am getting download prompt... application/x-httpd-php5 file to download.
Kindly guide me on this

tijoantony

Re: Download Prompt after Installation

reference url http://recruitment.econz.net

putypuruty

Re: Download Prompt after Installation

Hi,

Did you modify something in the root .htaccess file? If yes, please make sure that the following lines are commented out (they must have the # char in front of the line)

Code:

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

If you don't have the above lines, then please post here your root .htaccess file

tijoantony

Re: Download Prompt after Installation

After adding the code to .htaccess file, then following domain is showing blank screen
http://recruitment.econz.net/admin/

tijoantony

Re: Download Prompt after Installation

ROOT .HTAcess File
*********************************************

#AddType application/x-httpd-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ index.php?page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/$ index.php?page=$1&id=$2 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3&referer=$4 [L]

ErrorDocument 404 /page-unavailable/


ADMIN folder .HTAcees File
***********************************

# AddType application/x-httpd-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteBase /admin

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

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ index.php?page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/$ index.php?page=$1&id=$2 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3 [L]

ErrorDocument 404 /page-unavailable/

putypuruty

Re: Download Prompt after Installation

I see that your site works fine now.

deepak.goyal

Re: Download Prompt after Installation

I installed the new version on Jobberbase, completed the process as per the guidance.
when i browse the domain, i am getting download prompt... application/x-httpd-php5 file to download. and my htaccess files as follow i am install the jobberbase on my local like http://localhost/jobberbase

ROOT .HTAcess File
*********************************************

#AddType application/x-httpd-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ index.php?page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/$ index.php?page=$1&id=$2 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3&referer=$4 [L]

ErrorDocument 404 /page-unavailable/

ADMIN folder .HTAcees File
***********************************

# AddType application/x-httpd-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteBase /admin

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

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ index.php?page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/$ index.php?page=$1&id=$2 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3 [L]

ErrorDocument 404 /page-unavailable/


please tell how can i install it on my localhost

putypuruty

Re: Download Prompt after Installation

This might help you http://www.jobberbase.com/forum/post11575.html#p11575

Also, be sure that in Apache's httpd.conf file, you have index.php in list of files for DirectoryIndex directive.

deepak.goyal

Re: Download Prompt after Installation

HI i try all settings which is mention on that page and change the root htaccess file as follow

#AddType application/x-httpd-php5 .php

RewriteEngine on
Options +FollowSymlinks

#RewriteBase /jobberbase

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ index.php?page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/$ index.php?page=$1&id=$2 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ index.php?page=$1&id=$2&extra=$3&referer=$4 [L]

ErrorDocument 404 /page-unavailable/

but still when i run the script http://localhost/jobberbase/   then same result  am getting download prompt... application/x-httpd-php5 is open please tell me the complete intallation precess

Thanks

jagan

Re: Download Prompt after Installation

I have installed with godaddy hosting / windows / IIS
http://jobawk.com/jobbase/

Im able to see the default page and admin page. But unable to see other pages getting error page not found.

I tried changing the ROOT httaccess file to the following

RewriteEngine on
Options +FollowSymlinks

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

ErrorDocument 404 /page-unavailable/

config---------------------------------------------

// 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' => 'jobbaseadmin',
    'db_password' => '*****',
    'db_name' => 'jobbaseadmin',
    'db_prefix' => '',
    // your site's full url
    'app_url' => 'http://localhost/jobbase/',
    // error reporting
    'ini_error_reporting' => E_ALL,
    'ini_display_errors' => 'On',
    // environment setting 1 (use 'local' for localhost/testing OR 'online' for live, production environment)
    'location' => 'online',
    // environment setting 2 (use 'dev' together with 'local' in the previous setting OR 'prod' with 'online')
    'environment' => 'prod',
    //'apache_mod_rewrite', 'iis_url_rewrite' -microsoft URL Rewrite module, 'iis_isapi_rewrite'
    'rewrite_mode' => 'iis_url_rewrite'
);

// live (http://www.yourjobberbasedomain.com)
$__instances['live'] = array(
    'prefix' => 'jobawk.com',
    'db_host' => '182.50.131.41',
    'db_port' => 3306,
    'db_user' => 'jobbaseadmin',
    'db_password' => '*****',
    'db_name' => 'jobbaseadmin',
    'db_prefix' => '',
    'app_url' => 'http://jobawk.com/jobbase/',
    'ini_error_reporting' => E_ALL,
    'ini_display_errors' => 'On',
    'location' => 'online',
    'environment' => 'prod',
    'rewrite_mode' => 'iis_url_rewrite'

--
thanks

putypuruty

Re: Download Prompt after Installation

I think this post will help you fix the problem: http://www.jobberbase.com/forum/topic35 … ing-a.html