Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with simple implementation #57

Closed
AmaroDelCapo opened this issue Dec 21, 2014 · 3 comments
Closed

problem with simple implementation #57

AmaroDelCapo opened this issue Dec 21, 2014 · 3 comments

Comments

@AmaroDelCapo
Copy link

I recive this error:

Uncaught SyntaxError: Unexpected token <

I have replicated the example in http://www.croppic.net/

Thank you for you appreciated support,
best regards
Amaro

@AmaroDelCapo
Copy link
Author

the problem was related to undiscoverable directory: I resolved putting $_SERVER['DOCUMENT_ROOT'] on the php recived file and changing the json response with the absolute path

@sconsult
Copy link
Owner

thank you for sharing both, the problem and your solution

@sconsult
Copy link
Owner

In the update from today, error handling has been implemented and the sample scripts updated with checks for write permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants