csgraduate

csgraduate does not currently provide support for this item.

Popular questions for this item

Customizations

For any custom requirements or work related to this script, please feel free to pm or send an email to ravi at finethemes.com Please note that customizations are done for a price.

Support

You can get help or support in variety of ways. Please follow these steps:
  1. Refer to the documentation shipped with the script. There’s a ‘Help’ folder in the script folder. Most of the topics pertaining to this script are explained there. You can refer to the same documentation here too.
  2. If this doesn’t help then you may refer to FAQs below.
  3. If you couldn’t find a solution to your problem through the above step, then please view the comments posted here. The comments section covers solutions and answers to most of the common issues.
  4. if you still couldn’t find your answer then you may contact me. I am usually online here as per the GMT +5:30 timezone.
  5. If none of the above works for you then please post your question in the comments section or send me a message through my profile page and I’ll reply as soon as I am available.

After installation, when I visit my site, it shows: “Could not connect. Please try again.”

Download your website’s site.inc.php and make sure that it isn’t empty. If it is, then enter the following information in it and replace with actual credentials:

<?php
$host="Database host, usually it is localhost";
$database="Database name";
$username="Database Username";
$password="Database Password"; 
?>

If the content of site.inc.php already looks like above, then make sure that your database password doesn’t have a $ sign in it. You can change your database password and enter the new password in site.inc.php.

Newly added brand. model, body type, fuel type or feature list isn’t visible in the search or add/edit listing form drop down.

You’ll have to add the keyword and translation of the newly added brand. model, body type, fuel type or feature under language tab if your default site language is not English.

Then your newly added item will be visible in the drop down.

For more information, refer to the help document here:

http://www.codiator.com/Auto-Trading-Made-Easy/Help/Brands.html

Images in listings and my profile are not showing up.

Make sure that following file/folders are fully writable: uploads, cache and index.html inside cache folder. The images won’t show up if they are not fully writable.

uploads folder is fully writable (linux command: chmod 777 uploads)

cache folder is writable (linux command: chmod 777 cache)

cache/index.html file is writable (linux command: chmod 777 cache/index.html)

If you use FileZilla client for FTP transfer then you can give 777 permission by right clicking on file/folder name and type 777 in ‘Numeric value’ box. While giving permissions to ‘uploads’ and ‘cache’ folder also select ‘recurse into subdirectories’ option.

Email system isn’t working i.e when someone tries to contact me through the contact page or through the listing contact form.

Make sure that you’ve specified correct values under ‘Email’ section of ‘Admin options’ page. It is recommended that you use gmail or google apps email and password and leave the authentication type to gmail.

If port 587 doesn’t work with your Gmail/Google apps email then try changing it to 465.

Please make sure that you enter your full email address and not just username.

If it still doesn’t work then in config.php, locate

$SMTPAuth=true;

and change it to:

$SMTPAuth=false;

and test again. You can also enable debug information i.e. it will print some detailed information on why it is not working. To turn on the email debug mode on, locate the following in config.php:

$SMTP_Debug=0;

and change it to:

$SMTP_Debug=1;

and check again.

I get a SMTP error when I try to use gmail as authentication type and my gmail/google apps email and password in admin options.

Please make sure that ssl module (for ex openssl) is enabled on your web server. If you don’t have access to your server configuration then ask your hosting provider to do it for you. This is required because Google smtp server only accepts secure/ssl connections.

Map isn’t showing the correct location.

allow_url_fopen or cURL module should be enabled in your PHP in order for Google geocoding to work. The geocoding won’t work if at least one of them is not enabled. Please contact your hosting provider and ask them to enable either one of those. If you’ve access to php.ini the edit it and add this line in the end

allow_url_fopen = on

or enable the cURL module in your php. Instruction for the same can be easily found on Google.

How to change the default # of pictures for a listing?

Open config.php and change

$reMaxPictures=15;

to whatever you want, for ex if you just want 5 pics by default then make it

$reMaxPictures=5;

In the search form, there’s a missing keyword between // i.e Keyword/Street//Postal code

Go to ‘language tags’ page and add a new translation for keyword ‘ID’

Keyword: ID Translation: ID

and it would show up as

Keyword/Street/ID/Postal code on your search form.

I get the following message while sending emails

Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' 

This is due to your php version. Open config.php in notepad etc and find this line

error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));

remove it and add this instead:

error_reporting(E_ALL & ~E_NOTICE);

or if you still get the message then add this instead:

error_reporting(0);

How to show the expanded listings by default on the home page?

In order to show the expanded listings, a minor change is required in functions.inc.php

Open functions.inc.php and find the following line:

style=”display:none” class=’resultChild

and remove

style=”display:none”

from it and save and upload it back to your website.

This would show the expanded listings by default on the home page.

My website still seems to be in demo mode.

Open config.php and find:

$isThisDemo="yes";

and change it to:

$isThisDemo="no";

Openssl is enabled but email isn’t still working. I am using Gmail/Google apps email in admin options.

Please confirm from your hosting provider that port 587 or 465 isn’t blocked. if they are blocked then email system won’t work, if you’re using a Gmail or Google apps email in admin options.

How to enable featured listings option and accept PayPal payments?

On ‘Admin Options’ page, make sure that you specify all the details under ‘PayPal Options’. Then in your PayPal account, enable the IPN (instant payment notification) and use the following URL as IPN url (replace yourwebsite.com with your actual domain name and root path i.e. where you installed the script):

http://www.YourWebsite.com/ipn.php

I see a message ‘Input error: k: Format of site key was invalid’ below contact form.

This error is due to invalid reCaptcha keys or you mistakenly used public key in place of private key in admin options. Please check and correct that to solve this issue.

Google Maps geocoding isn’t working and markers aren’t shown at correct location.

If you purchased prior to 16th-March-2013 then please download and upload the new functions.inc.php file to fix the issue with Google map geocoding as otherwise the markers may not show at the correct location.

How to add links in the listings as currently links appear as plain text.

Currently the script filters all html added in the description field so a link would be shown as normal text. You can try this, in addReListing.php and updateReListing.php, look for this:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription']));

and change it to:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription'],'<a>'));

And then try posting a link with <a href=’http://...'>Link</a> format in the description.

How to hide the login form from normal visitors?

In loginForm.php, locate:

if($ptype!="checklogin"){

and change it to:

if($ptype!="checklogin" && $_GET['admin']){

the login form won’t be visible to normal visitors and you can access it using ?admin=1 in your url. For ex:

http://yourwebsite/?admin=1

How to add extra menu items in the header?

To add custom menu links

In header.php, locate:

<li class=’favli’ id=’favli’ style=”display:none;”><a ><?php print __(“Favorite”);?></a></li>

and below it add:

<li><a href='http://LinkGoesHere'>Link Title</a></li>

How to hide/remove certain options from search form and add/edit listing form?

You can use html comment tag or css style to hide an entire option. For ex, if you want to hide the ‘Transmission’ type from the search form, locate the following in reSearchForm.php:

<tr><td ><br> <select name="transmission[]" multiple id="transmissionType"&
gt;
....
....
</td></tr>

and add style=”display:none;” to the tr, so it becomes:

<tr style="display:none;" ><td ><br> <select name="transmission[]" multiple id="transmissionType"&
gt;
....
....
</td></tr>

Similarly you can hide an option in add/edit listing form by editing submitReListing.php and editReListingForm.php files. For ex, located related div tag:

<div class="control-group">

and change it to:

<div class="control-group" style="display:none;" >

What kind of hosting is recommended?

It is better to have a VPS, as you’ll get guaranteed resources and a dedicated IP address. Whereas, shared hosting plans don’t guarantee resources so your website may become slow as you never know how many other websites are competing against the server resources such as RAM, CPU and network bandwidth.

Recommended VPS hosting providers are:
Digital Ocean
Linode

The demo which has 5000 listings, is hosted on a Linode VPS and with my other 10 high traffic websites but the performance is still very good.

When I try to login with Google or Yahoo account, it shows a message: “Forbidden You don’t have permission to access /glogin.php on this server.”

Your server probably have mod_security enabled so it is forbidding any request which has a URL in its query parameter. Please disable it or ask your hosting provider to do so as even timthumb i.e. the script that generates thumbs won’t work properly.

How to allow certain HTML tags in the description of a listing?

In addReListing.php and updateReListing.php locate:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription']));

It is recommended to allow only few html tags instead of completely removing the strip_tags function and allow all as then any member can break the formatting of your site by using incorrect html code. So to allow few html tags and remove all others. For ex, craigslist allows a set of html tags, lets say, <p>, <font>, <br>, <h2>, you can change the above mentioned line to:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription'],"<p><font><br><h2>"));

Facebook login on my website keeps redirecting back and forth and gives a redirect loop error.

Please make sure that cURL and openssl modules are enabled on your web server. Also make sure that following functions aren’t disabled: curl_exec and curl_multi_exec. As otherwise the curl session won’t be able to start and redirect loop would happen.

My website shows “404 Not Found error ” when I try to view a listing and friendly URLs are enabled on the ‘Admin Options’ page.

This error shows up if your web server doesn’t support rewrite rules i.e. either rewrite module (for ex mod rewrite) is not enabled and/or .htaccess is disabled by your server configuration by using a directive such as “Allowoverride none”.

To overcome this issue, you can enable rewrite module and make sure “Allowoverride” is set to “All”. Otherwise, you can simply disable firendly URL option on ‘Admin Options’ page.

Email SMTP settings are not working. How to use sendmail alternative?

In functions.inc.php, locate:

function sendReEmail

and change it to:

function sendReEmail1

then locate:

function sendReEmail2

and change it to:

function sendReEmail

It is taking too long for the page to load when a listing is being added or edited.

Hi, There’s an issue with sitemap submission when a listing is being added or edited so the page tends to hang. To fix this issue locate the following in addReListing.php and updateReListing.php:

pingSitemap();

and change it to:

//pingSitemap();

How to show satellite map by default? And how to add a map control to switch between satellite and road view?

Locate the following in js/v3map.js:

google.maps.MapTypeId.ROADMAP,

and change it to:

google.maps.MapTypeId.HYBRID,

and to show map control to switch between map types, locate:

mapTypeControl: false,

and change it to:

mapTypeControl: true,

How to change the date format, for ex to dd/mm/yy?

In functions.inc.php, locate:

list($listingDate,$listingTime)=explode(" ",$row['dttm']);

and just below it, add:

$listingDate= date('d/m/y', strtotime($listingDate));

then in viewFullListings.php, locate:

list($ldate,$ltime)=explode(" ",$row['dttm_modified']);

and just below it, add:

$ldate=date('d/m/y', strtotime($ldate));

I’ve a problem which I am unable to resolve.

Feel free to contact me through the comments page or email at ravi@codiator.com

Show more

by
by
by
by
by
by