XZeroscript Classifieds Detailed Installation Guide
873 days agoYup guys, it is yet another one of those installation guides. I am hoping to create even more such guides to help beginners install scripts without the major headaches associated with script installation. But in all seriousness, nowadays scripts are more user friendly and installation is a breeze for most. We no longer need to spend hours and hours figuring out how to install complicated scripts anymore. Thank goodness for that. I really hate spending so much time installing stuff. And with a detailed installation guide, beginners will no longer worry about being stuck halfway during installation.
Anyway, I just purchased this XZeroscript to use as the base for my latest web venture. No, I won’t tell you guys what it is yet. But come back in a few weeks time and I will be more than willing to share it with you. XZeroscript is a classifieds script, a script to build something along the lines of Craigslist. Yes, the place where you post and read ads. This script helps you manage all the ads you have in your classifieds site. From what I read, XZeroscript is supposed to be a very low resource script, making it suitable for high volume classifieds sites and for those (like me) who don’t have a dedicated server. Furthermore, it is value for money. As compared to other classifieds scripts, this is at the lower range of the spectrum and comes with a impressive array of features. In addition, their support is supposed to be top-notch, unlike most other script developers where you need to pay another huge amount just for support.
Okay, enough of the nonsense. It is now time to start the installation guide. First of all, I would assume that the user has some knowledge of Windows commands and usage. In addition, a little knowledge of webhosting is needed. Since XZeroscript requires PHP and MySQL, users should ensure that their webhost supports these. However, most webhost should support these features. If not, time to change your webhosting company.

After purchasing the script, you will receive an email attachment. You should save the zipped file somewhere you can remember as you will need to access it. As you can see, I save mine on my desktop. The latest version at the time of writing is v5.1. After saving the file, it is time to extract the contents out. For this tutorial, I am using IZArc as my unzipping utility. You can use any other software to do the unpacking. You can even use Window’s own extracting software. The steps should be about the same. As usual refer to your software documentation for help.

It is now time to extract the files. Click on Extract to extract out the archived files.

Remember where you extract out the files to. You will need to access them. Make sure you extract out ALL the files.

There I have extracted them out into a folder on my desktop. Since we will need to do some modifications to the files, let’s get into the folder and find out which files do we need to make changes to.

In this folder, you will need to make some changes to some of the files.

Let’s locate the “config.inc.php” file. It shouldn’t be too tough. We need to make some changes to this file. Open the file with your text editor. I am using PSPad to edit my files. However, you can use any text editor you want. Don’t worry, the following steps are very easy to follow. All you have to do is to change some wordings in some files. No biggie.

Once you have opened the “config.inc.php” file, at the top of the you will need to make some changes. First you will need to edit the MySQL connection settings as indicated above. You will need your database hostname (which is usually “localhost”), database username, database password and the database name. You can ask your webhost to create one for you. Or if your webhost supports it, you can create the database yourself. I have done some tutorials on creating MySQL databases, so if your webhost uses cpanel as their webhost console, please take a look at creating MySQL databases on Cpanel. Or if your webhost uses DirectAdmin as their webhost console, please take a look at creating MySQL databases on DirectAdmin. Again, don’t worry the steps are easy to follow. So once you have created the databases, you should have all the necessary information.
After you have keyed in the MySQL connection settings, you will need to make a few more changes. Just below is the Name of the site, the site owner’s email address and the URL of the site. Note that if you are planning to setup your classifieds site in a subdirectory, you should reflect it here in the URL setting ($script_url=). Oh, remember friends, you should keep the quotes.

Now let’s scroll all the way down to the “Admin password” section. You will need to change the password to access the XZeroscript Admin Panel. It is important to have a strong password for security reasons. You don’t want others to hack into your site! And keep the password in a safe place. After you have done, remember to save the file.

Okay, after you have edited the “config.inc.php” file and saved it, you will need to make changes to the “.htaccess” file. However, if you are planning to setup your site on the root domain, you don’t have to do anything. But if you are planning to place your site at a subdirectory, then you will have to edit the “.htaccess” file. For example, if your site is be located at “www.example.com/classifieds/”, then you will have to make changes to the all the instances of “index.php”. Add the subdirectory “classifieds”. Looking at the above picture, you will need to change “/index.pgp?view=showad@adid=$7&cityid=$1 [QSA]” to “/classifieds/index.pgp?view=showad@adid=$7&cityid=$1 [QSA]“. Do the same for ALL instances. Yes, it is a bit tedious but good things will come from it! Remember to save the file.
For some users, you might find that you cannot save the file back to “.htaccess”. It would require you to save it in another name. But don’t worry, save it as “htaccess” or in any other name. You can rename it later after you have uploaded the files.

The next step is to upload the files to your webhost. For this, you will need a FTP client or a FTP software. This software allows you to transfer files from your computer to the webserver. I am using Filezilla. The main reason why I use this software is that it is stable, seems bug free enough and open source. You can of course use any other FTP client and the following steps should be about the same. Please refer to your software documentation if you face any problems. I really don’t expect there to be more problems. You will need information from your webhost in order to access to FTP files to your webserver. All these information should be provided by your webhost.
After you have connected to your webserver, your next step would be to transfer all the files from the extracted folder to your webserver. Please note that you should transfer the contents of the folder and not the folder itself. If you were to transfer the folder, your URL to your classifieds site will be wrong (ie in another directory).

It might take a while to complete, so go and have a beer and come back after a few minutes.

There, all uploaded to your webserver. You should be proud of yourself.

Now, we will need to change the file permissions of some folders and files. With your FTP Client, you will need to CHMOD some of the folders and files. To do that, locate the folder “adpics” in the server and choose File permissions. If you are using some other FTP Client, please refer to your software documentation on how to change file permissions.

Yes, here we CHMOD 777 the folder. In other words, we give all read, write and execute permissions.

Now locate the folder “userimgs” in the server. You will need to do the same thing to this folder.

Same thing. CHMOD 777 this folder.

Now let’s enter into the “userimgs” folder in the server. You will be greeted with 2 files. We will need to change the file permission of the “index.htm” file.

CHMOD 644 this file instead. If it is already CHMOD 644, don’t worry. Just leave it be.
You will have to do the same thing (CHMOD 644) for the “index.htm” file in the “adpics” folder. I will not be showing this in this example. The steps are the same.

Now, let’s locate the “data” folder in the server. You will need to change the file permissions for ALL the files in that folder. So enter into the folder and you will be greeted with 2 files – “badwords.dat” and “spamfilter.dat“. Now’s let change the file permission for both of them.

For these files, you will need to CHMOD 777.
Okay, after you have done that, you will need to do the same thing (CHMOD 777) to the files in the “lang“, “log” and”mailtemplates” folders in the server. Yes, ALL the files in those folders. Since the steps are the same as above, there won’t be any screenshots. Don’t worry, you can do it!

For those who have edited their “.htaccess” file earlier, you might have to rename your “.htaccess” file back. So locate the file which is the original “.htaccess” file. In this example, my file is “htaccess” and I will need to rename it to “.htaccess”.

There you go, it is now “.htaccess”. This file is important because the file helps you do all those URL rewriting to get those pretty SEO friendly URLs.

There, start your web browser and check whether your settings is correct or not. If you website is at “www.example.com”, then you should browse to “www.example.com/setup”. Then hit the Setup button to continue. You are about done!

If everything is correct, you will be greeted with this screen. All green means good! Your database has been setup successfully.

However, before we conclude our tutorial, you will need to do some security maintenance. Go back to your FTP and delete off the “setup” folder in the server. It is a very big security risk if you don’t do that.

Okay, the installation is finally complete. Now it is time for you to login to your XZeroscript Classifieds admin console and do the hard part – adding the cities and categories. The admin console is located at the admin directory of your site. So for example, if your site is “www.example.com” then browse to “www.example.com/admin”. Good luck! And remember to change your Paypal account in the “config.inc.php” file if you are charging for ads.
Hope you have enjoyed reading this guide as much as I have enjoyed writing it. Please leave some comments.













Very Nice Tutorial I Like Very much Thanks
To whom it may concern,
When I purchased the script I was told it was easy to install and use. After spending days trying to execute the script in my website, I am extremely dissatisfied. You mislead the customers by stating that this script may be installed by someone that does not have experience in web design. I demand a refund and will not accept nothing less. Please contact me by email as listed above.
Thank you,
Wilfredo Candelaria
very detailed guide,, installation was a cake with ur guide
thanks a lot
Very easy installation as long as you have decent programing and website knowledge. Only one problem. No country’s in the country table. My only problem.
hey nice i install the program as you said.i can access to admin panel but not to home page,it say launguage file not found.i am ready to donate you for your efforts.but you should install xzeroscript in my site.i also tried with the all possible permissions on lang file and its extensions.so tell me how much should i donnate
Thanks for the tutorial. My only problem now is that my ads wont/dont show up unless they are featured ads
any ideas?
can you please hlep me.
i have sent so many request to support no one answers.
do you think you can help and tell me why when i click on the cities or countries i get an error page error
You should post in the official forums. But you will need to pay for technical support.
Hi there,
. I know its not a lot but that’s all I can offer. Thanks, Ahmed @ ghxkbs@gmail.com
Great tips. However, I need someone to please do this configuration for me. I’ll pay 50 bucks
Thank you for the tutorial !…as a beginer it took me most of the day working with my hosting company setting up but the site is finally running….
I haven’t tried this software before but because of your illustrations and tutorials I think I will give it a try. Thanks a lot for the post and great screenshots. That really helped in the tutorial.
I wish I had read your post before. Now I am struggling with the after instalation. Specifically I am having problems when posting an ad because it says that it cannot send the emai. Do you have any idea on how to fix it?
thanhs for sharing this great information.
hey thanks for ur installation guide . i had sucessfully install chillyads.us on my domain
NICE JOB…you installation guide had help many
I tried it once and it didn’t work. So, I started all over again the next day thinking I wouldn’t be able to do it, but VOILA, it worked. Thanks!
i could kiss you. Thanks for this tutorial!
Having these install instructions open on the net may prove to be more harm than good and a security hazard. Showing file names and file permissions along with the site folder layout is NOT a good idea. It’s an open invitation to hackers.
lol, “hackers” don’t usually use file permissions and file names to do their hacking. They use exploits to gain entry.Anyway, install instructions are openly available from the developers already.
yeah nice tutorial
Very good tutorial
Thanks for the tutorial. My only problem now is that my ads wont/dont show up unless they are featured ads
any ideas? and I posted the same question a year ago and never got a response?
I am having trouble with the installation.
I have followed the installation to this part where there is an error:
There, start your web browser and check whether your settings is correct or not. If you website is at “www.example.com”, then you should browse to “www.example.com/setup”. Then hit the Setup button to continue. You are about done!
After i have done the above, this comes up:
Not Found
The requested URL /admin was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
please please help.
Thanks
Dau
GOD BLESS YOU YOU ARE A GENTELMAN THANKS
Very Well dono bro…Successful Installed