once correct PHP on liveserver the issues were resolved