Notice (8): Undefined variable: agency [APP/views/api/profile.ctp, line 6]

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10015 is not allowed to access /var/www/vhosts/castingdb.eu/httpdocs/app/tmp/logs owned by uid 33 in /var/www/vhosts/castingdb.eu/httpdocs/cake/libs/folder.php on line 465
Warning (2): Invalid argument supplied for foreach() [APP/views/api/profile.ctp, line 6]

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10015 is not allowed to access /var/www/vhosts/castingdb.eu/httpdocs/app/tmp/logs owned by uid 33 in /var/www/vhosts/castingdb.eu/httpdocs/cake/libs/folder.php on line 465

Notice (8): Undefined variable: profile [APP/views/api/profile.ctp, line 32]

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10015 is not allowed to access /var/www/vhosts/castingdb.eu/httpdocs/app/tmp/logs owned by uid 33 in /var/www/vhosts/castingdb.eu/httpdocs/cake/libs/folder.php on line 465

Notice (8): Undefined variable: profile [APP/views/api/profile.ctp, line 33]

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10015 is not allowed to access /var/www/vhosts/castingdb.eu/httpdocs/app/tmp/logs owned by uid 33 in /var/www/vhosts/castingdb.eu/httpdocs/cake/libs/folder.php on line 465
Notice (8): Undefined variable: profile [APP/views/api/profile.ctp, line 34]

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10015 is not allowed to access /var/www/vhosts/castingdb.eu/httpdocs/app/tmp/logs owned by uid 33 in /var/www/vhosts/castingdb.eu/httpdocs/cake/libs/folder.php on line 465