What should I check, for that situation, anyone has an idea about this?

|
wael_djemai 2020-05-07 09:00:36
isofdev 2020-05-07 08:59:52
Have you already install Laravel

yes of course

isofdev 2020-05-07 09:02:20
wael_djemai 2020-05-07 09:00:36
yes of course

Create with this command
composer create-project –prefer-dist laravel/Laravel project_name

wael_djemai 2020-05-07 09:03:27
I will do it
2020-05-07 09:31:50
Hello everyone, I have a problem in my application, I use the cache system that comes in Laravel and unfortunately whenever my posts are loaded from cache redirects to another website, which does not have any relation with my application.
2020-05-07 09:34:33
First, I thought someone, accessed to the server and changed somehow my app’s configuration and I checked ” /var/log/auth.log”, unfortunately, I have seen that someone really tried to connect to my server, and I set up a firewall which only allows to my IP address to connect via ssh to my server.
2020-05-07 09:35:22
So, since yesterday, no one even could try to connect my server, since their IP does not return any response.
2020-05-07 09:36:08
But, still, whenever I use the cache, my application redirects to another website.
2020-05-07 09:36:24
What should I check, for that situation, anyone has an idea about this?
2020-05-07 09:37:15
Is it possible to manipulate cache via HTTP/HTTPs ?
2020-05-07 10:06:50
@Bornaitcosupport can you please send migration file details ?
2020-05-07 10:07:56
It looks like, foreign key was incorrectly written
2020-05-07 10:11:16
if id field in users is bigIncrements then you have to use unsingedBigInteger for foreign key
2020-05-07 10:12:47
change unsingedInteger to unsignedBigInteger 😊
2020-05-07 10:14:37
2020-05-07 09:31:50
Hello everyone, I have a problem in my application, I use the cache system that comes in Laravel and unfortunately whenever my posts are loaded from cache redirects to another website, which does not have any relation with my application.

Anyone can help please ?

skys215 2020-05-07 10:24:00
2020-05-07 09:31:50
Hello everyone, I have a problem in my application, I use the cache system that comes in Laravel and unfortunately whenever my posts are loaded from cache redirects to another website, which does not have any relation with my application.

which site it redirected?

2020-05-07 10:27:03
joshparker.name
skys215 2020-05-07 10:31:43
i have no idea
skys215 2020-05-07 10:32:06
First you need to know where this url is stored
cayetanohosma 2020-05-07 10:48:20
2020-05-07 09:35:22
So, since yesterday, no one even could try to connect my server, since their IP does not return any response.

Do you mean through your app, right?

2020-05-07 10:48:52
app refers to web application here, not a mobile application
cayetanohosma 2020-05-07 10:48:59
2020-05-07 09:36:08
But, still, whenever I use the cache, my application redirects to another website.

Did you try to flush your cache?

2020-05-07 10:49:45
yeah,when I did, it works as I expected but around 12 hours later, it goes back
cayetanohosma 2020-05-07 10:50:11
2020-05-07 10:48:52
app refers to web application here, not a mobile application

Yeah! But if you access to the server through SSH, you could try to get some resullt from cache from PHP CLI. Did you try it?

cayetanohosma 2020-05-07 10:50:39
2020-05-07 10:49:45
yeah,when I did, it works as I expected but around 12 hours later, it goes back

Nice! So, you have solved the issue, right?

cayetanohosma 2020-05-07 10:51:01
Sometimes the cache becomes corrupted and return non-sense results
2020-05-07 10:51:47
Not completely, yesterday I flushed cache and It seems ok, but today when I checked again, It still redirects to this unrelated website.
cayetanohosma 2020-05-07 10:52:34
So, there is something in your code which is broken your cache system.
cayetanohosma 2020-05-07 10:53:16
I suggest to log to a file all cache’s entries from code, I mean, log all request to cache from your code, and examine them looking for something strange.
cayetanohosma 2020-05-07 10:53:34
Could someone hack your app and inject malicious code inside?
2020-05-07 10:55:22
Okay, I will try that, thanks 😊
2020-05-07 10:55:35
cayetanohosma 2020-05-07 10:53:34
Could someone hack your app and inject malicious code inside?

No, idea 🙁

cayetanohosma 2020-05-07 10:56:00
2020-05-07 10:55:22
Okay, I will try that, thanks 😊

You’re welcome!

Developer_124 2020-05-07 11:02:15
laravel_discuss-36315.jpg

Developer_124 2020-05-07 11:02:29
laravel_discuss-36316.jpg

Developer_124 2020-05-07 11:03:10
Developer_124 2020-05-07 11:02:29

How to solve this error in vuejs. what’s this vue.runtime.esm?

cayetanohosma 2020-05-07 11:04:22
Did you try to look for it in Google?
https://www.google.com/search?q=vue+invalid+prop+type+check+failed+for+prop+site:stackoverflow.com&sxsrf=ALeKk007khCgDpHu4hQGyYD4zJ502_saQQ:1588838640060&sa=X&ved=2ahUKEwiw1PuVpaHpAhXb8uAKHakhA8UQrQIoBDAAegQIAhAP&biw=2560&bih=1257

vue invalid prop type check failed for prop site:stackoverflow.com – Google SearchGoogle
Developer_124 2020-05-07 11:04:24
This file is not available
cayetanohosma 2020-05-07 11:04:36
It would be a temp file
cayetanohosma 2020-05-07 11:05:07
The error is clear. You are passing an string when it expect an integer
cayetanohosma 2020-05-07 11:05:40
If I were you, I revise or log the previous lines to the count in order to see which type of variable arrive to count call
cayetanohosma 2020-05-07 11:06:18
It is a suggestion… I’m not a Vue guru, actually, I’ve never use it. But the error comes from Javascript engine, not from Vue
Developer_124 2020-05-07 11:07:35
How to resolve this
Developer_124 2020-05-07 11:09:01
I have 24 error this
Developer_124 2020-05-07 11:09:07
Same
Developer_124 2020-05-07 11:09:49
What I need to use ?
Relaxed Guy 2020-05-07 11:14:05
Guys
Relaxed Guy 2020-05-07 11:14:15
I have deleted my tables in the database
Relaxed Guy 2020-05-07 11:14:32
To test whether migrations will work
Relaxed Guy 2020-05-07 11:14:54
Again bt am getting a command reply with nothing to migrate
Relaxed Guy 2020-05-07 11:15:01
My tables are not coming back…
|