Having fixed that, I've got another problem...
Similar sort of deal - a client login page which takes username and password then allows successful logins to go to a clients results page.
I've added in the error reporting code from earlier at line 1 on the results page, because once you put in the username and password on the login page, the results page comes up blank.
What I got after adding the error code was:
Warning: main() [function.main]: open_basedir restriction in effect. File(/HelperGroupsRulesPHP.php) is not within the allowed path(s): (/var/www/vhosts/wealthadvisoryservices.co.uk/httpdocs:/tmp) in /var/www/vhosts/wealthadvisoryservices.co.uk/httpdocs/WA_SecurityAssist/Helper_PHP.php on line 1
Warning: main(HelperGroupsRulesPHP.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/wealthadvisoryservices.co.uk/httpdocs/WA_SecurityAssist/Helper_PHP.php on line 1
Fatal error: main() [function.require]: Failed opening required 'HelperGroupsRulesPHP.php' (include_path='.:') in /var/www/vhosts/wealthadvisoryservices.co.uk/httpdocs/WA_SecurityAssist/Helper_PHP.php on line 1
which means absolutely nothing to me, but seems to indicate that something's not allowed, which is why it's not displaying the results page correctly. Any ideas?