indude

Topic: Installation Probelm

Hello,

Today i downloaded the latest version of jobberbase and tried to install it on my server. I'm getting some database errors.
1. I have uploaded the demo .sql file using phpmyadmin.
2. I have edited the configuration file.
3. I want to use jobberbase on website like www.icbse.com/jobs/app/

Errors:

Warning: mysqli::mysqli() expects parameter 5 to be long, string given in /home/icbsecom/public_html/jobs/app/_includes/class.Db.php on line 20

Warning: mysqli::query() [mysqli.query]: Couldn't fetch Db in /home/icbsecom/public_html/jobs/app/_includes/class.Db.php on line 72

Warning: mysqli_error() [function.mysqli-error]: Couldn't fetch Db in /home/icbsecom/public_html/jobs/app/_includes/class.Db.php on line 73

Warning: mysqli::query() [mysqli.query]: Couldn't fetch Db in /home/icbsecom/public_html/jobs/app/_includes/class.Db.php on line 31

Warning: mysqli_error() [function.mysqli-error]: Couldn't fetch Db in /home/icbsecom/public_html/jobs/app/_includes/class.Db.php on line 32

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

Last edited by indude (2010-08-12 16:56:06)

putypuruty

Re: Installation Probelm

Hi,

I guess that you have a configuration problem. Please open config.envs.php and do the following:

- set the prefix to icbse.com
- set the app_url to http://www.icbse.com/jobs/app/

Please note that you should have unzipped the content on the app folder inside the jobs folder on your server so that you would access jobberbase via http://www.icbse.com/jobs/.

Also note that because you've installed jobberbase inside a subfolder, you will have to do the following:

- in the root .htaccess, add the line RewriteBase /jobs/app (or just RewriteBase /jobs if you will unzip it directly into the jobs folder)
- in the admin .htaccess add the line RewriteBase /jobs/app/admin (or just RewriteBase /jobs/admin)

Hope it helps!

indude

Re: Installation Probelm

Thanks a lot.
It worked.

indude

Re: Installation Probelm

After deleting the demo entries from the site, the jobs are still visible under "Seen Recently" in the sidebar. After clicking any of the job, i got an error,

Warning: Cannot modify header information - headers already sent by (output started at /home/com/public_html/jobs/app/_templates/default/_cache/%%F7^F7F^F7F34188%%header.tpl.php:4) in /home/com/public_html/jobs/app/_templates/default/_cache/%%F7^F7F^F7F34188%%header.tpl.php on line 4

Please help in removing the entries from everywhere.

indude

Re: Installation Probelm

Please reply me.

putypuruty

Re: Installation Probelm

Hi,

I visited your site and it seems to be fine now. Did you manage to fix it?

indude

Re: Installation Probelm

No, I didn't.

If you visit this page http://www.icbse.com/jobs/app/job-unavailable/ you will be able to see the error.

putypuruty

Re: Installation Probelm

OK, I see.

The fix is pretty simple: open _templates/default/header.tpl and replace the lines at the top

Code:

{if $CURRENT_PAGE == 'page-unavailable' || $CURRENT_PAGE == 'job-unavailable'}
    {php}header("HTTP/1.0 404 Not Found");{/php}
{/if}

with the following line

Code:

{if $CURRENT_PAGE == 'page-unavailable' || $CURRENT_PAGE == 'job-unavailable'}{php}header("HTTP/1.0 404 Not Found");{/php}{/if}

FYI, I just removed the white space characters.

indude

Re: Installation Probelm

DONE...
you guys rock!