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
Api requests get 404 #321
Comments
I did changes in my config:
Now, i am getting 404 status code for api GET requests
POST working correctly |
Sorry, I'm not sure I understand where the error is occurring. You said this is related to the API, but in your steps, you said to navigate to /admin#links. Could you provide a URL path that could be used to reproduce the issue? |
I`m opening dashboad and getting error:
Then I P.S. sorry for my bad english |
I did some digging, and it seems like the endpoint is present in your app. The controller involved, It seems like this might be due to a database issue. Is your database properly running? Are you able to log out and log back in? Could you execute |
mysql> DESCRIBE links;
+---------------+------------------+------+-----+---------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------------+------------------+------+-----+---------------------+----------------+
| id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| short_url | varchar(255) | NO | UNI | NULL | |
| long_url | longtext | NO | | NULL | |
| ip | varchar(255) | NO | | NULL | |
| creator | varchar(255) | NO | | NULL | |
| clicks | int(11) | NO | | 0 | |
| secret_key | varchar(255) | NO | | NULL | |
| is_disabled | tinyint(1) | NO | | 0 | |
| is_custom | tinyint(1) | NO | | 0 | |
| is_api | tinyint(1) | NO | | 0 | |
| created_at | timestamp | NO | | 0000-00-00 00:00:00 | |
| updated_at | timestamp | NO | | 0000-00-00 00:00:00 | |
| long_url_hash | varchar(10) | YES | MUL | NULL | |
+---------------+------------------+------+-----+---------------------+----------------+
13 rows in set (0.01 sec) it`s new installation |
Perhaps this is an environment issue? yajra/laravel-datatables#717 Could you try running |
It's possible that the GET requests are being truncated (i.e, your server won't allow such a large URL). It might have to do with the |
It was my mistake in nginx configuration:
instead of
|
No data in admin dashboard
Expected Behavior
See and manage links and users
Current Behavior
empty tables
Possible Solution
Steps to Reproduce (for bugs)
admin#links
Your Environment
The text was updated successfully, but these errors were encountered: