nahid / talk

Talk is a real-time users messaging and chatting system for Laravel.
MIT License
1.61k stars 327 forks source link

Blank site #72

Open ghost opened 7 years ago

ghost commented 7 years ago

Hey,

I have installed this package, but when I go to the messages I see all Users. When I click on the button "Send Message" then I have a blank site? bildschirmfoto 2017-06-26 um 21 10 43

When I click on the button: bildschirmfoto 2017-06-26 um 21 11 37

The view conversations.blade.php:

<div id="page-content" class="col-sm-12 col-md-12 col-lg-12 center-margin frontend-components mrg25T">
    <div class="box-wrapper">
        <div class="row">
            <div class="col-sm-12 col-md-12 col-lg-12">
                <div class="content-box">
                    <div class="content-box-wrapper">
                        <div class="chat-history">
                            <ul id="talkMessages">
                                @foreach($messages as $message)
                                    @if($message->sender->id == auth()->user()->id)
                                        <li class="clearfix" id="message-{{$message->id}}">
                                            <div class="message-data align-right">
                                                <span class="message-data-time" >{{$message->humans_time}} ago</span> &nbsp; &nbsp;
                                                <span class="message-data-name" >{{$message->sender->name}}</span>
                                                <a href="#" class="talkDeleteMessage" data-message-id="{{$message->id}}" title="Delete Message"><i class="fa fa-close"></i></a>
                                            </div>
                                            <div class="message other-message float-right">
                                                {{$message->message}}
                                            </div>
                                        </li>
                                    @else
                                        <li id="message-{{$message->id}}">
                                            <div class="message-data">
                                                <span class="message-data-name"> <a href="#" class="talkDeleteMessage" data-message-id="{{$message->id}}" title="Delete Messag"><i class="fa fa-close" style="margin-right: 3px;"></i></a>{{$message->sender->name}}</span>
                                                <span class="message-data-time">{{$message->humans_time}} ago</span>
                                            </div>
                                            <div class="message my-message">
                                                {{$message->message}}
                                            </div>
                                        </li>
                                    @endif
                                @endforeach
                            </ul>
                        </div> <!-- end chat-history -->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

for your help!

ghost commented 7 years ago

No support here? 😱

nahid commented 7 years ago

Do you set all credentials?

ghost commented 7 years ago

I have done everything, as it is in the installation manual. The views are from the example.

ghost commented 7 years ago

I have Laravel 5.4

jampack commented 7 years ago

u have cloned the demo package for testing this package right?

ghost commented 7 years ago

The cloned DEMO Package function. I have install this package in my Laravel 5.4 and the view's I took from the example package.

jampack commented 7 years ago

the package has nothing to do with front end, its complete functionality is on the backend so it will be out of the scope of this package to figure out why its demo frontend is not functioning in your project though its clear u r missing some of the assets and stuff