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

Problems with master - serve/php #2557

Open
Mimi0123456789 opened this issue Sep 1, 2024 · 1 comment
Open

Problems with master - serve/php #2557

Mimi0123456789 opened this issue Sep 1, 2024 · 1 comment

Comments

@Mimi0123456789
Copy link

Hello,

I 'm discovering w2ui and I try to use server/php files of w2ui-master
I have this error and don't find any solutions :

ERROR: Server communication failed.
EXPECTED: {total: 5, records: Array(1)}
OR: {error: true, message: 'error message'}
w2ui.min.js:357 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'msgHTTPError')

Can you help me please ?

I tryed to define dataType = "JSON" but without success.

@vitmalina
Copy link
Owner

You server should return proper JSON back. The error message gives you a clue what it expects.

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