avin89

Topic: Having installation problems

I think my database configuration is correct. But i am still getting these errors. What could be the possible reasons?

Warning: mysqli::mysqli() expects parameter 5 to be long, string given in /home/webcampu/public_html/vtualerts.com/jobs-internship/_includes/class.Db.php on line 21

Warning: mysqli::query() [mysqli.query]: Couldn't fetch Db in /home/webcampu/public_html/vtualerts.com/jobs-internship/_includes/class.Db.php on line 73

Warning: mysqli_error() [function.mysqli-error]: Couldn't fetch Db in /home/webcampu/public_html/vtualerts.com/jobs-internship/_includes/class.Db.php on line 74

Warning: mysqli::query() [mysqli.query]: Couldn't fetch Db in /home/webcampu/public_html/vtualerts.com/jobs-internship/_includes/class.Db.php on line 32

Warning: mysqli_error() [function.mysqli-error]: Couldn't fetch Db in /home/webcampu/public_html/vtualerts.com/jobs-internship/_includes/class.Db.php on line 33

Fatal error: Call to a member function fetch_assoc() on a non-object in /home/webcampu/public_html/vtualerts.com/jobs-internship/_includes/class.JobberSettings.php on line 23

avin89

Re: Having installation problems

Well, after removing all the .DB_PREFIX and replacing with $db_pre which i initialised seperately in each document. I managed to get the page page to load.

http://www.jobs.vtualerts.com

However as you can notice, i am unable to open any of the posts and also the APP_URL is not be initialized properly. This is how the the images are showing up

http://jobs.vtualerts.com/APP_URL_templ … bt-rss.png

Notice that "APP_URL" is part of that url, it shouldn't have been.

hhmm.. What do i do to fix this? and be able to open the posts

putypuruty

Re: Having installation problems

Can you please post here the $__instances['live'] part from your config.envs.php file? Also, the content of your root .htaccess file.

avin89

Re: Having installation problems

HTACCESS

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

RewriteEngine on
Options +FollowSymlinks

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>

The Live Instance

$__instances['live'] = array(
    'prefix' => 'vtualerts.com',
    'db_host' => 'localhost',
    'db_port' => 3306,
    'db_user' => '***',
    'db_password' => '***',
    'db_name' => 'dbname',
    'db_prefix' => 'jb_',
    'app_url' => 'http://www.jobs.vtualerts.com/',
    'ini_error_reporting' => E_ALL,
    'ini_display_errors' => 'On',
    'location' => 'online',
    'environment' => 'prod',
    'rewrite_mode' => 'apache_mod_rewrite'
);

putypuruty

Re: Having installation problems

I wrote you a private mail, I hope you've received it.

avin89

Re: Having installation problems

No. I have not received anything as of yet. I have sent you my email id via email to you. Could you please resend it with through that email?