Check that both your base_url and site_url system (or context) settings are set correctly and have a trailing slash ’/’ at the end.
That solved it for me, once I cleared cache.
Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86