Ok so the issue seems to stem from two things, incorrect php/mysql version or a &$tmp flag in part of the includes scripts for FOG itself.
[B]Check your php version first with “php -v” in a terminal - if you’re running 5.1 or earlier you will need to update![/B]
I ran these instructions/commands to update from PHP 5.1 to 5.2 in Centos 5.5 and it got my FOG working again. Please try updating to php 5.2 first before you go to 5.3 - you never know what it’ll break.
Get the Atomic repo (for Centos)
[QUOTE]wget -q -O - [url]http://www.atomicorp.com/installers/atomic.sh[/url] | sh[/QUOTE]
Edit repo to exlude php 5.3 (we just want 5.2 for testing purposes, coz we’re updating from 5.1)
[QUOTE]nano /etc/yum.repos.d/atomic.repo[/QUOTE]
(and add in the line) [I]exclude = php5.3[/I]
Update php
[QUOTE]yum update php[/QUOTE]
Restart Apache
[QUOTE]/etc/init.d/httpd restart[/QUOTE]
After these steps, I went through the help provided here: [url]http://fogproject.org/forum/threads/solved-cant-upload-images.3652/#post-8628[/url]
[QUOTE]So you should be able to search the /var/www/fog/management/includes/tasks.confirm.include.php for all instances of “&$tmp” and replace them with just “$tmp” [/QUOTE]
Everything is now imaging again and working the way it should 😄