In your WA_Globals file, make sure to not leave those variables blank:
$WAGLOBAL_localRoot = "/CMS/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/CMS/"; //relative path to your PowerCMS files on your remote server.
If you are not using one of these variables, just leave the default value or set it to something random.