Solving Upload Size Error While Installing Purpletree OpenCart Multi-Vendor

Resolving Upload Size Error for Purpletree OpenCart Multi-Vendor Installation

When setting up the feature-rich Purpletree OpenCart Multi-Vendor extension, encountering upload size limitations during installation is not uncommon. Thankfully, overcoming this hurdle is quite manageable, especially when using tools like cPanel or FTP. Below, we'll explore how to adjust PHP configuration settings using these platforms to ensure a seamless installation process.

Using cPanel

Locating the php.ini File:

  1. Log in to your cPanel dashboard.
  2. Navigate to the "File Manager" tool under the "Files" section.
  3. Locate the root directory of your website (usually public_html or www).
  4. Look for the php.ini file. If it doesn't exist, you may need to create one. This can be done by clicking on the "+ File" button and naming it php.ini.

file manager

Editing php.ini:

  1. Right-click on the php.ini file and select "Edit" or simply click on it and choose the "Edit" option from the toolbar.
  2. Add or modify the following lines to adjust the upload size limits:

upload_max_filesize = 20M
post_max_size = 30M

  • Ensure that the "post_max_size" value is larger than "upload_max_filesize".
  • Save the changes and close the editor.

    Using FTP

    Locating the php.ini File:

    1. Connect to your website using an FTP client (e.g., FileZilla).
    2. Navigate to the root directory of your website.
    3. Look for the php.ini file. If it's not there, you may need to create one. Simply create a new text file and name it php.ini.

    Editing php.ini:

    1. Download the php.ini file to your local machine.
    2. Open it using a text editor like Notepad or Sublime Text.
    3. Add or modify the following lines to adjust the upload size limits:

upload_max_filesize = 20M
post_max_size = 30M

  1. Ensure that the "post_max_size" value is larger than "upload_max_filesize".
  2. Save the changes to the php.ini file.

Uploading Changes:

  1. Upload the modified php.ini file back to the root directory of your website using your FTP client. Overwrite the existing file if prompted.

Conclusion

By adjusting the upload size limits in the php.ini file through either cPanel or FTP, you can effectively resolve the upload size error encountered during the installation of Purpletree OpenCart Multi-Vendor. With these simple steps, you'll ensure a smooth installation process, allowing you to unlock the full potential of this extension for your OpenCart store. If you encounter any issues or require further assistance, don't hesitate to reach out to Purpletree's support team for guidance.