How to check API script error log

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
189
code: http://files.directadmin.com/services/all/httpsocket/examples/example.create_user.php

file path: public_html/apiclass/code/da_create_user.php

run step: https://website.com/apiclass/code/da_create_user.php

When I run script from above URL then everything working fine. "Creating user...." "Success! User created".

Now I try to implement this script code to our app.

What I do:
I have copy all code from da_create_user.php to our application content script in:
public_html/application/view/lessons/general_course_body_content.php

Of course this url path I cannot run from url like: https://website.com/application/view/lessons/general_course_body_content.php because is forbidden.

But Now I see form in my website content. In the same way I fill form and try run create user. I get only "Creating user...." and nothing happens. No result. What could it be and how to check for an error or how to solve?
 
Back
Top