Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

GOOCREDIT VTU SCRIPT INSTALLATION ON CPANEL

—------------------------------
VTU means Virtual Top Up. A GooCredit VTU website is an online platform that allows users to
buy cheap data and do other transactions. There are so many VTU platforms available on the
internet that you can use to make various payments online. GooCredit is one of the cheapest
and its API is easy to integrate.

SERVER REQUIREMENTS
PHP 7.3
allow_url_fopen

INSTALLATION

1. Log into your cPanel account and navigate to Files section >> File Manager menu:

For quick access to the File Manager, use our cPanel Shortcuts.

2. You will be taken /home/user directory by default. Feel free change the default directory in
Settings menu:
Here you can also enable Show Hidden Files (dotfiles) option. In this way system files, like
.htaccess, will be displayed in File Manager as well:

The public_html folder is the web root for your primary domain name. This means that
public_html is the folder where you put all website files which you want to appear when
someone types your main domain (the one you provided when you signed up for hosting).

If you wish to upload files for your addon domain, you will need to move to
home/user/youraddondomain.com directory. This directory is created automatically on adding an
addon domain to the cPanel account.

3. The interface of File Manager is divided into 4 sections:

#1 The file manager toolbar


#2 The file window
#3 The navigation toolbar
#4 Current location window

In the first section, you can find a toolbar with all the basic functions for managing files like
create a new folder, delete a file, upload/download and much more.

The second is the file listing section, it displays the content of the selected directory. If no files or
folders are created, the following message will be displayed in the file window This directory is
an empty message.

The navigation toolbar section allows navigating between folders in the file window.

The location section shows the directory you are currently located in.
4. To Upload a file:

● Go to File Manager
● Navigate to the folder you wish to upload the file(s) to
● Click on Upload icon
● Click Select File and locate the file on your local machine
● Select the file and click on Open/Choose
● Or simply drag and drop the needed file from your local machine to the upload window.

Now Extract GooCredit Script from the menu


Or
This are all the files and folders

DATABASE CREATION & CONNECTION


How to create a MySQL database in cPanel

This demo assumes you've already logged in to cPanel


Now let's learn how to create a MySQL database

1) Click MySQL Database Wizard


2) Enter a name for the new database

3. Click Next Step

4) Now we have to create a user for this database... enter a username here

5) Then enter and confirm a password


6) When ready, click Create User

7) Check here to assign All Privileges to the user…

Now copy your database details.


● database: data_vtu
● database username: data_vtu
● database user password: Ab345678&^_

That's it! The MySQL database has been created, and the new user added to the database. The
database name, username and password will all be needed for scripts that need to connect to
the database.

IMPORT DATABASE
To import your database, first open it via phpMyAdmin and check the current content.

It’s highly recommended to make sure that your database is empty before importing a new
database backup

Next, since your database will be selected by default, click on Import:

Choose a file in .sql or .sql.zip format:

😊
Proceed further without making any other changes to the import settings and click Go. In a few
moments, your database will be imported

If you encounter any issues, check the following section.

Common Errors
Here you will find the most common issues when importing a database:

The Database is Too Big


Max size for a database that can be uploaded via phpMyAdmin is 256 MB. If your database file
is bigger, you can easily import it via SSH instead.

Incorrect Format Parameter


Make sure that your file format is .sql. Alternatively, you can import a compressed database with
the following formats: gzip, bzip2, and zip (for example, database.sql.zip).

If you have checked and the file format is correct, this error might also indicate a corrupted
database file.

CONNECT DATABASE TO SCRIPT


Connecting database to script after you are done with uploading of GooCredit Script and
database.
Then open this file: /domain.com/core/Models/Model.php

public static $host="localhost";


public static $dbName="mwbdotng_vtu"; //Database Name
public static $username="mwbdotng_vtu"; // Database Username
public static $password="Mul-@pass@ti."; //Database Password

public static $dbh;

public $emailUsername="vtu@mwb.ng"; //Support Email Address


public $emailPassword="Mul-@pass@ti."; //Support Email Password
CHECK FRONT-END
Enter your website and check your installation.
https://domain.com or https://vtu.domain.com or https://domain.com/vtu

LOGIN TO ADMIN
Username: goocredit
Password: 08160288814

CONNECT GOOCREDIT API


Login to your GooCredit account

Request an apiKey for your vtu business


Once that is done, Goback to check if the API key of it is ready. It usually takes 1 to 24-hours
before activation.
To check, Goback and Profile
Copy your API key to all your Configuration settings.

CUSTOMIZATION FILES
Edit Home Page Template: /domain.com/index.html
Edit Dashboard: /mobile/home/homepages
Configuration: /domain.com/core/Models/Model.php
Register: /domain.com/mobile/register
Login: /domain.com/mobile/login
Footer: /domain.com/mobile/menu/menu-footer.php
Site: /core/helpers/vendor/site.php

SOME ERRORS

PHP Error - Ensure you are using PHP 7.3


Ensure allow_url_fopen is on - you can either Enable it in;

Select PHP Version

or
MultiPHP INI Editor

CONTACT DETAILS
Whatsapp Only: 08101820177 (Free support)
WeGoChat ID: https://w.mwb.ng/Henry
Hire A Developer
● Installation: ₦5,000 for Installation
● Configuration & Design: ₦8,000

You might also like