Re: Problem after installing [ Started by willemjandevries in General support : 1 replies ]

Hi,

I think your problem is .htaccess related. If you don't already have it like this, you should add the following line to the .htaccess file from the app folder
[code]RewriteBase /app[/code]
You can add it after the RewriteEngine on line.

In the .htaccess file from the admin folder you should add the following line
[code]RewriteBase /app/admin[/code]

BTW, you can rename the app folder to something more meaningful for you (like jobs) - if you do this, be sure to update the .htaccess files so that the RewriteBase statement points to the correct folder.

Let us know if it works.

Re: Changing search examples & Disable location drop box on post page [ Started by bradenshaw in General support : 4 replies ]

Sorry, my bad.

You should put there @count == 1 instead of @count > 1

I tested the code on my computer but I have many cities and I had to twist the condition a little so that the combo is hidden. With the above change, it should be fine, though. Note that I've also edited the code in my first post.

Re: I can't log into the demo admin site [ Started by skhorosh in Bug reports : 3 replies ]

There seems to be a problem with the jobberbase demo, we'll try to fix it as soon as possible.

Re: Changing search examples & Disable location drop box on post page [ Started by bradenshaw in General support : 4 replies ]

Hi,

We're glad that you like it!

To change that text, open _includes/translations.ini and search for [b][search][/b]. Edit the text that you find 2 lines below it (example = "(e.g. ....")

As for your other issue: the simplest solution is to remove all the cities from inside the admin panel and leave only the city that you need. Then, open _templates/default/publish-write.tpl and find the following line
[code]<select name="city_id" id="city_id" tabindex="3"[/code]
Go up 3 lines and add replace
[code]<tr>[/code]
with
[code]<tr {if $cities|@count == 1}style="display: none;"{/if}>[/code]

This will hide the Location row from the post form.

Does this fit your needs?

Re: Post a new Job Button [ Started by wnw0031 in General support : 15 replies ]

Hi,

What do you mean by including it into your site? You can put a link to it on your front page, for example. Or do you want something more advanced?

About the error: I guess that in admin, you've set the 'Amount of most-applied-to jobs to show on the front page.' to 0. There was a bug in 1.8 regarding this but it's fixed in 1.9

To fix it, open _includes/class.Job.php and find this line
[code]public function GetMostAppliedToJobs($limit = false)[/code]
Replace it with
[code]public function GetMostAppliedToJobs($limit = 0)[/code]
Also, inside the function, replace
[code]
if ($limit > 0)
{
$sql_limit = 'LIMIT ' . $limit;
}
[/code]
with
[code]$sql_limit = 'LIMIT ' . $limit;[/code]

This should fix your problem.

Re: Deleting or editing jobs as site admin. [ Started by mholohan in General support : 1 replies ]

Hi!

When logged in as admin, you see the job categories. Clicking on one will show you all the jobs from that category. To the right of each job ad you will see 4 icons (if I'm not wrong). One of them is for editing the job and one is for deleting it. Pretty simple, you'll see ;)

Re: Need to fix time zone for JB site [ Started by bestempire in General support : 2 replies ]

More specifically, you'll have to change date_default_timezone_set('Europe/Bucharest'); to what you need (in config.php)

Re: jobber 1.8 Error again [ Started by wilburforce in General support : 4 replies ]

Hi,

Can you try again with the above .htaccess file but without the Options +FollowSymlinks line?

Re: email verification [ Started by kongmingmedia in General support : 2 replies ]

Hi,

Funny timing with your post ;) As we speak (or rather write) I'm integrating this feature into JB 1.9 - It will be a setting that can be turned on/off by the admin.

For JB 1.8, use this workaround so that your jobs are automatically approved:

- in page_publish.php, replace the following line
[code]$jobInfo['check_poster_email'] = $job->CheckPosterEmail();[/code]
with
[code]$jobInfo['check_poster_email'] = true;[/code]

- in _includes/class.Job.php, find [i]public function Publish()[/i] and replace
[code]
if ($this->CheckPosterEmail())
{
$sql = 'UPDATE '.DB_PREFIX.'jobs SET is_temp = 0, is_active = 1 WHERE id = ' . $this->mId;
}
else
{
$sql = 'UPDATE '.DB_PREFIX.'jobs SET is_temp = 0, is_active = 0 WHERE id = ' . $this->mId;
}
[/code]
with
[code]
$sql = 'UPDATE '.DB_PREFIX.'jobs SET is_temp = 0, is_active = 1 WHERE id = ' . $this->mId;
[/code]

This should do the trick. …

Re: Post a new Job Button [ Started by wnw0031 in General support : 15 replies ]

Hi!

Yes, this is easily possible. Just enter the admin panel, Settings -> Main Settings and there you have 'Enable Job Posting'. Set it to 'no' and save. That's all.

Re: Undefined variable: company in page_company.php file [ Started by guarez in Bug reports : 3 replies ]

Hi!

The only thing I can think of is that you have changed, via Admin, the URL for 'Jobs per City' and it is now the same as the one you have for 'Jobs per Company'. If this is the case, you need to change the URLs in such a way so that they become distinct.

Hope it helps.

Re: Line 20 error after install [ Started by ultraimports in General support : 2 replies ]

Hi!

It's saying Access denied for user 'jobber'@'10.0.0.25' - so either your host is not the correct one or your username/password combination is wrong. Have a look here http://www.000webhost.com/faq.php?ID=25 to see how you can find out your host.

Also, there are hostings where after creating a new database user, you have to explicitly grant him rights to each database that he should be allowed to access. I recommend that you check the Mysql section of your hosting's control panel.

I hope this helps.

Re: Cannot Access Admin Page or page unavailable [ Started by jefrey1983 in General support : 2 replies ]

Hi,

I think that you should remove the trailing slash from RewriteBase /careers/admin/ so that you have RewriteBase /careers/admin

Re: Need to edit contents of activation email, where? [ Started by bestempire in General support : 1 replies ]

Hi.

You can do this in _includes/class.Postman.php - you will find there the content for every mail that is sent by jobberbase.

Re: Blank Screen After Install [ Started by kilerb in General support : 7 replies ]

Out of curiosity, did you import the jobberbase.sql file in phpmyadmin? This error appears if you forgot to do this.

Also, if you did import it and you are still getting this error, then try to replace define('ENVIRONMENT', 'prod'); with define('ENVIRONMENT', 'dev'); (so just change prod to dev) and check if you don't get a more detailed error message.

Re: Blank Screen After Install [ Started by kilerb in General support : 7 replies ]

You have to set the DB configuration in the else branch, not in the if ($_SERVER['SERVER_NAME'] == 'localhost') branch as you did.

Re: Blank Screen After Install [ Started by kilerb in General support : 7 replies ]

Hi!

Try turning errors on in config.php, that might help.

Re: How do you install Apache [ Started by skyfoxbob in General support : 5 replies ]

Hi!

I assume that you have Windows and thus I recommend that you install XAMPP - this is a software suite that contains everything you need to run jobberbase: Apache, PHP, MySQL and phpmyadmin.

You can find it here: [url]http://www.apachefriends.org/en/xampp-windows.html[/url]. I recommend that you use the .exe version (http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe)

Good luck!

Re: SMTP Error: Could not connect to SMTP host [ Started by ppandey in General support : 10 replies ]

Hmm, strange.

If the upload folder has 777 permission, I don't see a reason why the apply mail is not sent. I don't know what to tell you, it's not a jobberbase issue in the end.

Re: SMTP Error: Could not connect to SMTP host [ Started by ppandey in General support : 10 replies ]

Hi!

I tried on your site to recommend a friend and I got now 'SMTP Error: Could not authenticate.'

If the email address has the same domain as the site, you should try using 'mail' as mailer and see if it works this way. Also, if you really want to use SMTP, please post here exactly how you configured it in the Mailer Settings panel (no need to give us the email address/password).

Re: SMTP Error: Could not connect to SMTP host [ Started by ppandey in General support : 10 replies ]

So, from what I understood, it was working fine so far but suddenly it stopped working, although you didn't change anything.

If it worked correctly so far on the web server, then maybe the hosting changed something that affected your jobberbase installation or they themselves are having some temporary problems. I don't have another logical explanation.

Re: SMTP Error: Could not connect to SMTP host [ Started by ppandey in General support : 10 replies ]

Hi!

Are you by any chance trying to send the mail through gmail? If yes, because it requires SSL, I noticed locally that I must install Apache with OpenSSL support. Maybe this info helps.

Re: Blank screen after site migration [ Started by chrifus in General support : 2 replies ]

Hi!

I recommend that you enable error reporting on the host where you want to migrate your files - this should help in debugging your problem. You have to set errors on in config.php - you can see in the install guide how to do this.

Re: Fatal error: Call to a member function fetch_assoc() on a non-object [ Started by lisandi in Bug reports : 3 replies ]

Hi!

See here for a link toward the install guide http://www.jobberbase.com/forum/topic2285-error-opening-install-guide.html

About your problem: did you import the jobberbase.sql in phpmyadmin? This error usually appears if you forget to do so.

Re: Blank screen after install [ Started by Stef in General support : 14 replies ]

Solved offline - the problem was caused by the config.php file being wrongly uploaded by the FTP client.