AdFox Installation Guide - Step-by-Step Setup for Classified Ads Platform

Installation

Prerequisites

Before initiating the installation of AdFox, ensure your server meets the following requirements:

  • PHP 8.1 or later
  • MySQL 5.7 or later
  • Essential PHP Extensions:
    • BCMath, Ctype, cURL, DOM, Exif, Fileinfo, GD, Intl, JSON, Mbstring, OpenSSL, PCRE, PDO, Tokenizer, XML

🔸 Follow the instructions below to see how to install AdFox on your server:

  1. Uploading Source Code:

    • After you download AdFox from CodeCanyon, Upload the source-code file to your server's public_html directory or the domain root directory where AdFox will be installed.
  2. Database Creation:

    • Create a new MySQL database and a database user on your server. Make sure to assign this user to the newly created database.
  3. Initiating the Installation:

    • Navigate to your site URL. It will automatically redirect you to the AdFox installation page. Click on 'Start Installation Process.'
  4. Pre-installation Check:

    • You will land on the 'Checking Pre-installation' page, where file permissions are verified. If necessary, set the permission of the specified files to 777. If everything checks out, click 'Go to the Next Step.'
  5. Follow On-Screen Steps:

    • AdFox provides an interactive setup. Simply follow the on-screen instructions which will guide you through database setup, Mail configuration, and other essential settings.
    • After the setup, access the Admin Dashboard at https://your-website.com/admin for administrative tasks and settings. Visit the Marketplace Home at https://your-website.com to view and post classified ads.
  6. Login Credentials (Optional if Demo Data is Enabled):

    • For Marketplace User:
    • For Admin Panel: Use the same login details that you configured during the On-Screen Steps.

⚠️ Important: Once the setup is complete, it is crucial to proceed to the Configuration section. Even if you've enabled demo data, going through the configuration process is mandatory for the application to function correctly. Failure to do so may result in the app not working as intended.

🔸 Note on Demo Data: While the demo images utilized on our platform are sourced from reputable free image providers, they are strictly for demonstration purposes only. When enabling the demo, these images are not included in the package. This is done to respect the terms of the image providers and to prevent any potential misuse by users.

Troubleshooting & Support:

.htaccess Configuration for Shared Hosting

Standard Configuration (Included in the Script)

This is the default .htaccess setting that comes pre-configured with the script. It works for most hosting environments.

<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On

# Redirect Trailing Slashes...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

Alternative Configuration for 404 Error Resolution

Use this configuration if you encounter 404 errors with the standard setup in shared hosting environments.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
  • Should you encounter any issues or need technical support during installation, consult our detailed support documentation.
  • For more personalized assistance, send an email to support@saasforest.com. Additionally, you can reach out via our live chat support, and our dedicated team will be at your service.

⚠️ Note: If you encounter any errors during the installation of AdFox, ensure that you've met all the prerequisites listed above.

    • Related Articles

    • Selling on AdFox

      Introduction Selling on AdFox is designed to be a straightforward process that allows sellers to list their products efficiently, manage ads, interact with potential buyers, and successfully close deals. Steps for Listing Products 1. Posting an Ad: ...
    • Introduction to AdFox

      Elevate Your Classified Ads Experience with AdFox Welcome to AdFox, a comprehensive platform for hosting, managing, and promoting classified ads. AdFox is designed to provide a user-friendly and efficient platform for both buyers and sellers in the ...
    • SMTP Setup

      SMTP Configuration Guide This guide provides detailed steps on how to obtain SMTP details from your cPanel and how to configure these settings in your AdFox Admin Panel. Step 1: Obtain SMTP Details from cPanel Log into cPanel: Access cPanel: Navigate ...
    • Buying on AdFox

      Introduction Buying on AdFox is a streamlined process designed for a seamless user experience. The platform provides various features to help users find exactly what they're looking for, communicate effectively with sellers, and make informed ...
    • Google Location

      Google Location Addon for AdFox ⚠️ Important: Compatibility Note The Google Location addon is compatible with AdFox version 1.3 or higher. Make sure your AdFox platform is updated to the latest version before integrating this addon. For instructions ...