Thanks for the swift respose!
On installation we ask in the first step the mysql database info for both the forum and the photopost databases. On the next to last step we ask the mysql table prefix is any of vbulletin.
The database info and prefix's are well known to me as follows;
Forum is: mydomain_com_-_forum
Gallery is: mydomain_com_-_forum
My forum prefix is df_
I installed a few php scripts on our website with only minor problems occasionly. I believe i entered the databases and prefix correctley and followed the manual step by step slowly. It could be a typo error on my part.
I did get abit mixed up with the paths and subdomains which may be the problem;
For the forum I input /var/www/forum
and for the the gallery /var/www/gallery
my sub-domain urls are as follows;
for the Gallery http://gallery.mydomain.com
for the forum http://forum.mydomain.com
Thanks in advance