Should you be testing the wall as a mesh? Most walls don't fit into an ellipsoid very well.
Try code layout like this:
type_null = 1
type_walls = 2
StartCollisionPRO()
StartCollisionDebugPRO()
SetCollisionsPRO(type_null,type_walls,ELLIP_2_POLY,RESP_SLIDE, DYN_NO_RESP)
CollisionTypePRO( fieldOBJ, type_walls )
if mouseclick() = 1
rhit = RayIntersectObjectPRO(fieldOBJ,TYPE_NGC_MESH,1.5, 10, 1.2, 1.5, -10, 1.2)
if rhit=1 then cls:print "YAY":
Notice the use of number 2 (or TYPE_NGC_MESH) as the second parameter of the RayIntersectObjPRO() command. This matches the setting in our SetCollisionsPRO() statement because the 2nd type (type_walls) is defined as a mesh.
You probably just missed one of those setup steps for your wall. If you prefer the wall to be tested as an ellipsoid, then change the SetCollisionsPRO() statement to ellip_2_ellip and the raycast command to TYPE_NGC_ELLIP.