Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Custom Controller working in dev but not in stage and live (1 Comment)

$
0
0

Topic by David Ritchie

Content

Hi,

I have created a custom controller and custom model to create an incident and update a custom object I have created.  I have this working in the dev environment but when I promote it to Stage and Prod it fails and I get a modal pop up with the text:

There was an error with the request and the action could not be completed.

I have plenty of logMessage() in my code and I used this to debug my dev version, but this does not put anything out in stage and live.  I have double, triple and quadruple checked that all the files are in the right places.  I based my controller on the code example in the Connect PHP API Developer manual where the procedure is create a new model object, assign the data and then save:

  1. $rma=newRNCPHP\CO\RMA();
  2. $rma->RMANumber="10218120";
  3. $rma->save();

As I said, this works perfectly in dev but not in stage.  Has anyone got any ideas how I can see the logging in Stage and Live (I've raised a call with Oracle but they are just not getting back to me)?

Or has anyone got any idea what is different in Stage and Live from Dev?

Thanks,

Dave

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles