Feb 27, 2017
0
Level 25
Funny links coming from asset() output
I'm using Laravel 5.3 and Spark (maybe 1.0). In the Spark brand file file I have:
<a class="navbar-brand" href="/home">
{!! file_get_contents(asset('images/7G_logo.svg')) !!}
</a>
Receiving this in the log file:
ErrorException: file_get_contents(http://www.zjzj11.com/images/7G_logo.svg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
and
ErrorException: file_get_contents(http://count.51yes.com/images/7G_logo.svg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
The server is hosted on Digital Ocean via Forge. It's just an IP address right now. The site is still in development (Can't post a link to it, sorry).
I've only received these errors today, and both twice. Any ideas?
Thanks
Please or to participate in this conversation.