Donation Form Attachment Missing After Changing Hosting Provider
Summary
This guide helps you troubleshoot and resolve: Donation Form Attachment Missing After Changing Hosting Provider. Follow the steps below to fix the issue.
Quick Tip: Need immediate assistance? 💻 Open a Ticket
Common Causes
When a community organisation migrates its web hosting to a new provider, donation receipts and supporting documents uploaded through the website donation form can go missing. This usually happens because the files were stored on the previous server and did not transfer automatically during the DNS switch. This guide explains how to recover those attachments using cPanel backups and how to verify your upload directory permissions on the new server.
Quick Fix Steps
- Log in to your cPanel account on the new hosting provider.
- Open File Manager and navigate to your donation form upload directory.
- Check whether the
wp-content/uploadsor equivalent folder exists and contains recent files. - Use Backup or JetBackup to restore files from before the migration date.
- Verify directory permissions are set to
755for folders and644for files. - Test the donation form end-to-end to confirm new attachments upload successfully.
Detailed Instructions
Step 1: Locate the upload directory
- Log in to cPanel using the credentials provided by your hosting provider.
- In the Files section, click File Manager.
- Open the
public_htmlfolder. - Navigate to your website's upload folder. Common paths include:
public_html/wp-content/uploads/for WordPress sitespublic_html/uploads/for custom PHP applicationspublic_html/media/for some content management systems
- Look for donation receipt files, typically named with dates or reference numbers, and file types such as
.pdf,.jpg, or.png.
Note: If you cannot see hidden files, click Settings in File Manager and enable Show Hidden Files (dotfiles).
Step 2: Restore from cPanel backup
- Return to the cPanel home screen.
- In the Files section, click Backup or JetBackup, depending on what your provider offers.
- Select a backup date from before your hosting migration or DNS switch. If multiple backups exist, choose the most recent backup created prior to the nameserver change. Avoid backups created after the migration, as they may not contain the missing uploads.
- Choose to restore either the full account or specific files from the upload directory. Restoring only the upload directory minimises the risk of overwriting recent website changes.
- Confirm the restoration and wait for the process to complete.
- Return to File Manager and verify the donated files have reappeared in the upload folder.
Warning: Restoring a full account backup may overwrite recent changes to your website. If you are unsure, restore only the specific upload directory rather than the entire account.
Step 3: Verify upload directory permissions
- In cPanel File Manager, right-click your upload folder (for example,
public_html/wp-content/uploads/). - Select Change Permissions.
- Set folder permissions to
755. This allows the owner to read, write, and execute, while others can read and execute. - Click Change Permissions to save.
- For individual files inside the folder, set permissions to
644so they are readable by the web server but not writable by the public. - Test the donation form on your live website to confirm new attachments upload successfully.
Note: Incorrect permissions are a common cause of upload failures after migration. If the web server cannot write to the upload directory, new donation receipts will not save.
Step 4: Verify SSL certificate installation
- In cPanel, navigate to the Security section and open SSL/TLS Status or Manage SSL/TLS.
- Confirm that your domain displays a valid, active SSL certificate with no expiry warnings.
- Visit your donation form using
https://and check for the padlock icon in the browser address bar. - Submit a test donation to ensure the form processes correctly over a secure connection.
Note: An missing or incorrectly installed SSL certificate on the new server can cause donation form submissions to fail or trigger browser security warnings, which may prevent donors from completing their contribution.
Documentation tip: Not-for-profit organisations should record the recovery steps taken, including backup dates selected, permission changes made, and test results. This documentation supports audit and compliance requirements and helps streamline future migrations.
Troubleshooting
Files still missing after backup restoration
- Confirm you selected a backup created before the DNS propagation completed. Files uploaded after the nameserver change may exist only on the old server.
- If your previous hosting provider is unreachable or has purged data, check whether your organisation retains local copies of donation receipts, email confirmations, or third-party payment processor records that can be re-uploaded.
- Check whether the donation form plugin or application is pointing to the correct file path on the new server.
New uploads failing after permission changes
- Ensure the folder is owned by the correct cPanel user, not
rootor another system account. - Verify that
755is applied to folders and644to files, not the reverse. - Clear any caching plugins or server-level cache before testing the form again.
DNS still pointing to the old host
- Use a DNS lookup tool to confirm your domain resolves to the new hosting provider's IP address.
- If DNS has not fully propagated, users may still be accessing the old server where the files remain.
- Wait 24–48 hours for global DNS propagation after any nameserver changes.
Still Having Issues?
Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.
💻 Open a Ticket
💻 Open a Ticket