View Full Version : opencarsclassifieds
serdas
02-17-2006, 07:49 PM
can i please ask a question about opencarsclassifieds
the_sandking
02-17-2006, 07:53 PM
Sure, but you probably won't get any answers. This is the Open-Realty support forum.
serdas
02-17-2006, 08:02 PM
it runs perfectly fine
but one problem is that i wanna dublicated that in the same data base but difrent prefix
i have that in my ftp in two different location
but they are using same database
how would i be able to fix that?
here is my common.php file
<?php
//common include file
//mysql database setup
$user = "database_user";
$password = "database_password";
$db = "openautoclassifieds";
$server = "localhost";
//OPENREALTY ADMIN PASS AND LOGIN
//DEFAULTS TO MYSQL DATABASE USER/PASS
$openadmin = "$user";
$openpassword = "$password";
//SITE INFORMATION
//use city and state? 'Y' or 'N'
global $use_city_state;
$use_city_state = "Y";
//used mostly for the email a friend function...
//but may come in handy elsewhere.
$baseurl = "http://www.yoursite.com/openautoclassifieds";
$yourname = "Your Name";
$youremail = "you@yoursite.com";
//number of listings to list at once:
$listings_per_page = 10;
//AGENT ADMINISTRATION
//use linefeed in description fields 'Y' or 'N'
$linefeeds = "Y";
//maximum number of imges for a given listing
$max_agent_images =1;
//how large can an agent image be? (n bytes)
$max_agent_upload = 1000000;
//INDIVIDUAL VEHICLE LISTING OPTIONS
//use email-a-friend option? 'Y' or 'N'
$friendmail = "Y";
//maximum numer of images for one vehicle
$max_images = 6;
//max size of vehicle images (in bytes)
$max_prop_upload = 1000000;
//available options for vehicles
//each option separated by a ||
//currently supports up to 10 options
$vehiclefeatureoptions = "Cruise Control||Air Conditioning||Power Steering||Power Brakes||Power Windows||Power Locks||Power Seats||Security Remote";
//the master list of states
$stateslist = "Alabama||Alaska||Arizona||Arkansas||California||Co lorado||Connecticut||Delaware||District of Columbia||Florida||Georgia||Hawaii||Idaho||Illinoi s||Indiana||Iowa||Kansas||Kentucky||Louisiana||Mai ne||Maryland||Massachusetts||Michigan||Minnesota|| Mississippi||Missouri||Montana||Nebraska||Nevada|| New Hampshire||New Jersey||New Mexico||New York||North Carolina||North Dakota||Ohio||Oklahoma||Oregon||Pennsylvania||Rhod e Island||South Carolina||South Dakota||Tennessee||Texas||Utah||Vermont||Virginia| |Washington||West Virginia||Wisconsin||Wyoming";
//the master list of car types
$cartypeslist = "Sports||Sedan||4x4||SUV||Family||Van||Truck||Picku p||Motorcycle||Station Wagon";
//the master list of car makes
$carmakeslist = "Acura||Alfa Romeo||Audi||BMW||Bentley||Buick||Cadillac||Chevro let||Chrysler||Daewoo||Daihatsu||Daimler||Datsun|| DeLorean||DeSoto||Dodge||Eagle||Ferrari||Fiat||For d||Geo||Honda||Hyundai||Infiniti||Isuzu||Jaguar||J eep||Kia||Lamborghini||Lexus||Lincoln||Lotus||MG|| Maserati||Mazda||Mercedes-Benz||Mercury||Mitsubishi||Nissan||Oldsmobile||Ply mouth||Pontiac||Porsche||Renault||Rolls Royce||Saab||Saturn||Singer||Sterling||Studebaker| |Subaru||Suzuki||Toyota||Triumph||Volkswagen||Volv o||Yugo||-----||Other";
?>
serdas
02-17-2006, 08:06 PM
i did this but did not work
//mysql database setup
$user = "sxxxx";
$password = "ixx";
$db = "isxx";
$server = "xxx";
$dbprefix = 'rexxl_';
and
$prefix = "xxx__";
or this
$CONFIG['TABLE_PREFIX'] = 'cxx_';
none worked
any idea
thanks
pbflash
02-17-2006, 10:41 PM
You would probably be better off asking the question to the support area for the script you are running. It looks like it may be a fork of the original open-realty project. You need to get in touch with the people that created the fork you are running.
serdas
02-18-2006, 12:00 AM
thanks for your time anyways
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.