What is this error for?

|
Lisendra 2020-08-09 16:34:05
Himanshu sharma 2020-08-09 16:32:55
I have created a dynamic sitemap for my laravel website but when iam putting link in google search console it showing could not fetch error

lol i readed googlemap

Himanshu sharma 2020-08-09 16:34:09
laravel_discuss-47439.jpg

Himanshu sharma 2020-08-09 16:34:21
Oo soory
Himanshu sharma 2020-08-09 16:34:46
Do you have any idea about that
Lisendra 2020-08-09 16:37:59
beside googling no
Lisendra 2020-08-09 16:39:06
from your screenshot something isn’t fetch, is it the url of the sitemap file or some or the routes that you exposed in the sitemap file ?
BvkDev 2020-08-09 16:52:39
What is this error for? How can I fix it?
code migration:
$table->geometry(‘latitude’);

SQLSTATE[22003]: Numeric value out of range: 1416 Cannot get geometry object from data you send to the GEOMETRY field (SQL: insert into `sellers` (`business_id`, `account_id`, `lat
itude`, `longitude`, `updated_at`, `created_at`) values (1, 1, 35.5563009, 51.5575466, 2020-08-09 13:40:45, 2020-08-09 13:40:45))

Himanshu sharma 2020-08-09 17:04:54
Its url of sitemap
Himanshu sharma 2020-08-09 17:05:32
Does i have to make routes for this also
isofdev 2020-08-09 17:16:38
Himanshu sharma 2020-08-09 17:05:32
Does i have to make routes for this also

Yes

Himanshu sharma 2020-08-09 17:17:04
But it is not a view file
Himanshu sharma 2020-08-09 17:17:53
https://aktunotes.ga/sitemap.xml
Himanshu sharma 2020-08-09 17:18:03
And it is working
isofdev 2020-08-09 17:18:31
Himanshu sharma 2020-08-09 17:17:04
But it is not a view file

Yes

Himanshu sharma 2020-08-09 17:18:49
So how can i create route for it
isofdev 2020-08-09 17:19:48
Himanshu sharma 2020-08-09 17:18:49
So how can i create route for it

Yes create it

Himanshu sharma 2020-08-09 17:20:28
But how it is not a blade.php file
Lisendra 2020-08-09 17:40:52
Himanshu sharma 2020-08-09 17:20:28
But how it is not a blade.php file

same as for an api or else/ route isn’t only for blade file

Himanshu sharma 2020-08-09 17:41:08
Okk
isofdev 2020-08-09 17:57:05
Lisendra 2020-08-09 17:40:52
same as for an api or else/ route isn’t only for blade file

You can also create a sitemap.blade.php like this

isofdev 2020-08-09 17:58:53
<?xml version=”1.0″ encoding=”UTF-8″?> <urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″> <url> <loc>http://www.example.com/</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url>
isofdev 2020-08-09 18:00:51
And create his controller
Typ980 2020-08-09 18:07:01
Hello, sorry to disturb your time everyone.. but i want to ask something..

There you know how to input data, but it is a foreign key, so it can be used as an option dropdown in other pages, and its build with laravel ajax..

Thank you..

Lisendra 2020-08-09 18:18:14
Typ980 2020-08-09 18:07:01
Hello, sorry to disturb your time everyone.. but i want to ask something..

There you know how to input data, but it is a foreign key, so it can be used as an option dropdown in other pages, and its build with laravel ajax..

Thank you..

are you asking for the ajax script? or how to store this data in the db and query it?

Typ980 2020-08-09 18:19:15
I asking for the ajax script, bcause the db was done and success
Lisendra 2020-08-09 18:21:10
so you are for the dropdown that will querie the specific row of your db?
flyingdragons 2020-08-09 18:21:34
https://stackcoder.in/posts/dependency-dropdowns-with-javascript-and-php
Dependency Dropdowns With Javascript And PHP

Dependency Dropdowns With Javascript And PHP | StackCoderStackCoder
You will learn how to create a <select> dependency dropdown with jQuery Ajax & PHP.
flyingdragons 2020-08-09 18:22:05
Typ980 2020-08-09 18:19:15
I asking for the ajax script, bcause the db was done and success

It’s implemented in plain PHP with Ajax requests. You can use methods

flyingdragons 2020-08-09 18:22:44
Other than methods the concept and implementation remains same
Typ980 2020-08-09 18:27:13
Lisendra 2020-08-09 18:21:10
so you are for the dropdown that will querie the specific row of your db?

I already have the dropdown, but the data doesn’t appear..

Typ980 2020-08-09 18:28:54
flyingdragons 2020-08-09 18:22:44
Other than methods the concept and implementation remains same

But in my project.. I hope i can create the category on 1 page and what I have created will appear as an option on another page, like dependency.. but what i create doesn’t appear..

Lisendra 2020-08-09 18:28:58
Typ980 2020-08-09 18:27:13
I already have the dropdown, but the data doesn’t appear..

have you check your controller, i pass all my data with controllers to dropdown

Typ980 2020-08-09 18:30:38
Lisendra 2020-08-09 18:28:58
have you check your controller, i pass all my data with controllers to dropdown

Bcause i am using API lumen, and try it in Postman, it’s using well.. and i think the problem is in the ajax.. but i don’t know how ro handle it..

Typ980 2020-08-09 18:30:54
*to
2020-08-09 23:45:49
Typ980 2020-08-09 18:30:38
Bcause i am using API lumen, and try it in Postman, it’s using well.. and i think the problem is in the ajax.. but i don’t know how ro handle it..

Are you making a get request with ajax?

2020-08-09 23:46:17
Is adding values to the dropdown in real-time?
2020-08-09 23:47:25
I suggest getting the data from the controller and pass them to the view.

In the view loop through them and print

shaildark 2020-08-09 23:55:51
I also used ajax with laravel but i used to make ajax calls through jQuery but while sending request to laravel controller I must have to use csrf token with it
Typ980 2020-08-10 02:29:28
May i know the resource that i can use guys? Because i dont know how to implement it
Rajat Agrawal 2020-08-10 06:58:34
hey guys
previously my dd command was working but now it does not work can any one tell me whats wrong
skys215 2020-08-10 06:59:03
something is wrong
Rajat Agrawal 2020-08-10 06:59:38
skys215 2020-08-10 06:59:03
something is wrong

can you explain

skys215 2020-08-10 07:09:11
can you show any log?
Rajat Agrawal 2020-08-10 08:20:45
laravel_discuss-47490.jpg

Rajat Agrawal 2020-08-10 08:21:47
skys215 2020-08-10 07:09:11
can you show any log?

look in above image i used dd command but in chrome it is not showing

skys215 2020-08-10 08:25:25
Try dd at first line
Rajat Agrawal 2020-08-10 08:41:39
laravel_discuss-47497.jpg

Rajat Agrawal 2020-08-10 08:41:54
skys215 2020-08-10 08:25:25
Try dd at first line

still not working

Rajat Agrawal 2020-08-10 08:42:41
previously was working fine
skys215 2020-08-10 08:43:05
That means the request didnt get in here
|