Upgrade from V. 3.0.0

Through this explanation, you will be able to upgrade Dimofinf CMS from Version 3.0.0 to Version 4.0.0 on your website in a few simple and easy steps.

First steps:

1. Turn off your website through the Dimofinf CMS settings using the program control panel.  

2. Create a new database through the hosting control panel (cPanel).

3. Create a backup of your main database and place this backup on the database you created in the previous step.

Preparation steps:

To get your Dimofinf copy, please log in to your control panel on our website, then, follow the next steps:

1. Log in to the client area on Dimofinf website using your email and password.

2. The Client Area homepage will appear to you, click on 'Activated services' and a list of all your services will appear.

3. Click on the 'View details' button next to your 'Dimofinf CMS' license.

A new window will appear with the product details including these most important details:

License key: you'll need to copy and paste that to the 'config.php' file before starting the setup in step 7 of the setup steps.

Licensed domain: the domain licensed to have Dimofinf installed on it.

Download Dimofinf CMS.

4. Download Dimofinf CMS to your device.

5. Unzip the downloaded file.

6. Open 'Include' folder and you'll find 'config.php.new' file inside it. Change the file name to 'config.php' (delete the '.new' part from the file name).

7. Open 'config.php' file using any text editor and add the following data to the mentioned lines:

- License key: this can be retrieved from your services page on the client area page, as mentioned before.  



- Save changes.

8. Upload the program unzipped folder to your website where you would like to set Dimofinf up (or upload the zipped file then unzip it through the cPanel).

9. Grant the following folders and files '777' permissions through the cPanel:

Folder: contents

Folder: styles

Folder: contents/datastore

Folder: contents/datastore/layout

File: contents/datastore/datastore_default.php

File: contents/datastore/rout.data.php

File: contents/datastore/l.dat

10. Move the contents of the 'contents' folder of Dimofinf CMS 3.0.0 to the new version's 'contents' folder.

Setup steps:

- Call the 'upgrade.php' file through the browser according to the folder you uploaded Dimofinf to, for example:


But make sure you replace 'DOMAIN.TLD' with your website domain

1. This welcome message will appear before starting the Dimofinf CMS upgrade steps and it is the transfer of the database encoding to UTF-8, click 'Proceed' as in the following image:

* This step might take longer depending on your database size; so, do not be alarmed of the delay.
2. The second step and it is the start of the Version 4.0.0 upgrade process, click 'Proceed' as shown in the next image:

3. The third step is activating / enabling the plugins uploaded to the '/include/plugins' folder as shown here:

Choose the modules and plugins you would like to activate / enable. You can press the 'Ctrl' button on the keyboard for multiple selection. After you finish selecting, click the 'Proceed' button as shown above noting that activated modules and plugins in the previous Version 3.0.0 will be found by the system automatically. 
4. After that, a message will appear where you will be asked to fill in some details as shown here:

- Site title: your site title (for example, alriyadh, sabq, ... etc). 
- URL of your Dimofinf: Dimofinf CMS link on your website. 
- Your domain: your website domain. 
- Site mail: your website mail. This will be used for outgoing emails from your website. 
After filling out this form, click the 'Proceed' button as shown in the previous image. 
5. After the system performs some setup procedures, a new form will appear asking for your website administrator details as shown below:

- Select current administrator: choose the main program administrator from the previous administrators on the website.
- Password: the administrator account password for the program. 
- Confirm Password: a confirmation of the previously entered password. 
After filling out this form, click the 'Proceed' button as shown in the previous image. 
6. After that, the system will ask you for the user whose name will be assigned all the website data as shown below:

Choose the desired user then click 'Proceed' as in the image above.
7. After the upgrade process is done, the following image will appear asking you to delete the 'install' folder for security purposes; so, please delete it then click the 'Proceed' button as shown below:

After clicking the 'Proceed' button in the last step, you will be logged in to the program control panel using the details you entered in step 5 (the username and password). 
8. After logging in to the program control panel, a new window will appear; this window is very important and it includes the FTP data and your Dimofinf store data as shown in the next picture:

Form explanation:

- FTP Host: the server name of your FTP account.
- FTP User: your FTP account username.
- FTP Password: your FTP account password.
- FTP Port: your FTP account port.
- CMS FTP Folder: the folder that contains Dimofinf CMS files.
- Store Username: your Dimofinf store username.
- Store password: your Dimofinf store password.
- Use SSL FTP: allows you to activate the SSL protocol for your FTP connection.

With this final step, the program will have been installed on your website and you can now easily manage it.
Was this answer helpful? 9 Users Found This Useful (43 Votes)