The error is caused by a problem configuring PHPBB 2, most likely by changing the domain for which PHPBB was initially configured. To solve the problem go to cPanel >> PHPMyadmin and run the following MYSQL command:
UPDATE phpbb_config SET server_name = "new-domain.ro" WHERE server_name = "olddomain.ro";
