I am also getting this error on creating a pet
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxxx/public_html/xxxx/RPG/ajaxcreate.php on line 8
Warning: require_once(/home/xxxx/public_html/xxxx/RPGajaxcreate.php/global.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxx/public_html/xxxx/RPG/ajaxcreate.php on line 9
Fatal error: require_once() [function.require]: Failed opening required '/home/xxxx/public_html/xxxx/RPGajaxcreate.php/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/xxx/RPG/ajaxcreate.php on line 9
I open up the ajaxcreate.php and this is line 7 8 and 9
PHP Code:
$vwd = str_replace("/RPG/ajaxcreate.php","",$_SERVER['SCRIPT_FILENAME']);
chdir($vwd);
require_once($vwd."/global.php");