Common Issues
SocialEngine core upgrade file won’t upload
If you find that you can’t get the file to upload, it either keeps spinning or keeps saying you’ve not selected a file, you’ll want to have your host raise the PHP settings for upload_max_filesize and post_max_size as the upgrade file is large. Alternately, see the next step for where to FTP the upgrade .tar file in order to proceed with the upgrade.
Packages & Plugins has a white screen or error message
Mainly in Ubuntu servers, you may see a white screen or an error message about "cache_dir is not writable", set full permissions on temporary/cache.” This is resolved in the patch mentioned above. Please get the patch and upload it before trying to upgrade.
Server returned HTTP-Status #302
One way around this problem is to upload the file directly to SocialEngine using an FTP client. Log into your website over FTP and locate the "/temporary/package/archives/" directory in your SocialEngine path. Upload the tar file to this directory, and set the permissions of the file to 777. Then, proceed to the Manage > Packages & Plugins page. SocialEngine should be able to detect the file and extract its contents, allowing you to proceed with the rest of the installation.
Strange PHP errors after selecting more than 5 packages
Your server may not have sufficient memory allocated to PHP to upgrade all the packages selected. Try only checking 4 or 5 packages at a time until all packages have been upgraded.
Upgrading with Customizations
**Proceed with caution. You assume any and all risks and liability in customizing your SocialEngine files and in re-applying customizations. SocialEngine does not recommend altering the SocialEngine files. The following basic guide is provided as a general learning tool. SocialEngine assumes no liability for damages to your website as a result of following this guide.
This is a basic guide. It is recommended that those with advanced experience with the SocialEngine script continue with these steps. If you are a novice, or don’t know how to edit and/or compare files, you should seek Expert help for your upgrade.
Tools Needed
In addition to a copy of the SocialEngine files, we recommend that you have the following:
- SocialEngine Changelog open in a browser tab and/or a file compare program such as Beyond Compare.
- A list of files you’ve modified with modifications added(or copies of them saved on your computer) if you want to have edited files ready to load to your site after the upgrade. *Recommended as this saves time. If you don’t have a list of edited files, you can either wait to edit your files until you are in the Upgrade process where it will show you the modified files; or, you can use Beyond Compare and have it run a comparison of the SocialEngine files you downloaded and your SocialEngine backup files from your site.
- A good text editor such as NetBeans, Notepad++, Brackets.
Applying Customizations
Once you know which files need to be edited, follow the next steps.
- Apply your edits to the SocialEngine Upgrade files that you downloaded before. Make sure you save a copy of these so that you have it for the next time. It also helps in case you have issues on your site, you will know what to tell technicians if they ask.
- Perform the Upgrade steps above, skipping the modified files.
- Once the Upgrade is completed, upload the modified files you just made.
- Check the site. If you have errors, test by renaming one of your modified files on the server and loading the default SocialEngine file in its place. If the error goes away, you know it’s that modification. If it doesn’t go away, name the modified file back and try another until you find the culprit.
Note that your modifications may need to be updated. Be prepared to have to update your own code. Also note that deprecated functions, hooks, features may have been removed and your code might not work if it relies on those. You would need to either make new code or seek Expert help in cases like this.
Great work! Please feel free to contact us if you have any questions or need further tutorials.