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

New to Apigility, stuck in "Getting Started", help ....... #6

Open
weierophinney opened this issue Dec 31, 2019 · 5 comments
Open

New to Apigility, stuck in "Getting Started", help ....... #6

weierophinney opened this issue Dec 31, 2019 · 5 comments

Comments

@weierophinney
Copy link
Contributor

Hello guys,
I am new to Apigility and get stuck in first API in "Getting Started".

Created 'Status' API, created 'Ping' service. When creating field "ack", it told "Error saving field" and "Error during the API communication", I couldn't create a new field. I tried deleting "Status" API, but it told me "Error during the delete of the API" and "Unable to delete API".

Anyone has some ideas about the issue?

My platform: Win7+IIS7.5+PHP7.0.8, virtual host on the local machine.
Installing Apigility-skeleton 1.4.1 by Composer. Setup development mode; no opcode cache, disabled php display_error; full control to "config" and "module" folders.


Originally posted by @peopzen at zfcampus/zf-apigility-skeleton#156

@weierophinney
Copy link
Contributor Author

ok, I found a simple issue: Composer didn't properly download all necessary components. My installation is not complete. I used php command to download the full skeleton, it works now.
Be careful when using Composer command.


Originally posted by @peopzen at zfcampus/zf-apigility-skeleton#156 (comment)

@weierophinney
Copy link
Contributor Author

@HAOlle Can you provide here more information for further references?
What was the composer error? How did you resolve it?

If this issue is resolved please close it. Thanks!


Originally posted by @michalbundyra at zfcampus/zf-apigility-skeleton#156 (comment)

@weierophinney
Copy link
Contributor Author

I noticed it wasn't completely downloaded when using composer to get the package. Sorry, I didn't copy the error message.
I used php command to get the package again and ran the built-in server. It works fine. However, I copied it to IIS vhost folder and set up URL-rewrite and full control to "config" and "module" folders. It still doesn't work when adding Fields in a Service.
I think it is a IIS configuration and permission issue.
Anyone can help? Thanks in advance.


Originally posted by @peopzen at zfcampus/zf-apigility-skeleton#156 (comment)

@weierophinney
Copy link
Contributor Author

I experience similar error when my file permissions are not correct.
I guess you have copied as User.. Can you confirm that the files are writable by the server?


Originally posted by @jamjan at zfcampus/zf-apigility-skeleton#156 (comment)

@weierophinney
Copy link
Contributor Author

Both "module" and "config" folders (and subfolders and files) are set "full control" to User and IIS_ISUERS. The website folder is owned by Administrator. any settings I missed?


Originally posted by @peopzen at zfcampus/zf-apigility-skeleton#156 (comment)

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

1 participant