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 Field: Error saving field #42

Open
leonardocamposprado opened this issue Aug 4, 2021 · 4 comments
Open

New Field: Error saving field #42

leonardocamposprado opened this issue Aug 4, 2021 · 4 comments
Labels
Bug Something isn't working

Comments

@leonardocamposprado
Copy link

leonardocamposprado commented Aug 4, 2021

Bug Report

Q A
Version(s) 1.7
PHP 7.4

I cant save a new field using the Admin UI
"Error saving field"
"Error during the API communication"
LOG PHP
"Closed without sending a request; it was probably just an unused speculative preconnection"

Captura de tela de 2021-08-04 09-53-49

@leonardocamposprado leonardocamposprado added the Bug Something isn't working label Aug 4, 2021
@Ocramius
Copy link
Member

Ocramius commented Aug 4, 2021 via email

@leonardocamposprado
Copy link
Author

Yes, however I changed 0.0.0.0:8080 to localhost:8080 and this error in the log stopped. But bugs in Adim UI persists.

Sounds like your HTTP client started sending a request, and abandoned it mid-way? Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

On Wed, Aug 4, 2021 at 3:01 PM leonardocamposprado @.***> wrote: Bug Report Q A Version(s) 1.4 PHP 7.4 I cant save a new field using the Admin UI "Error saving field" "Error during the API communication" LOG PHP "Closed without sending a request; it was probably just an unused speculative preconnection" [image: Captura de tela de 2021-08-04 09-53-49] https://user-images.githubusercontent.com/20843795/128185126-913de826-76fe-412c-ae71-42f7d1d90127.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#42>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABFVEGA4RGUUFK7CO76GNDT3E24HANCNFSM5BRCP43Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

@goharsahi
Copy link

goharsahi commented Sep 18, 2022

Although this is more than a year old report but I've recently experienced the exact same problem. I'm using PHP 7.4 with Laminas API Tools 1.6.0dev. This happens for both RPC and REST services.

I've installed it using this command

composer create-project laminas-api-tools/api-tools-skeleton path/to/install

One thing that I've noticed that during installation, it didn't ask me for which file to use for configuration injection while installing laminas/laminas-zendframework-bridge (as referenced in this tutorial here https://youtu.be/nqwLawa6l18?t=247).

But the issue goes away when I manually run composer update after it updates a lot of packages.

@luciociverra
Copy link

the right sequence is:
composer create-project laminas-api-tools/api-tools-skeleton
cd api-tools-skeleton
composer-update
php -S 0.0.0.0:8080 -t public public/index.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants