Many people experience this problem....the answer is you must use _full_ paths.
If you use stuff like /links/pages the script is going to be looking for /links/ in the root directory and not your domains root....so you need to specify the full path.
If you use stuff like /links/pages the script is going to be looking for /links/ in the root directory and not your domains root....so you need to specify the full path.