Comments (8)
@dhruv1998 Please can you provide me a details about this error? Where did happen?
from chatify.
@munafio i got this error in when I try to visit default route. /chatify
from chatify.
@dhruv1998 be clear with your question.. Where did it occure? Which file, line!?
from chatify.
@munafio as per my understanding I am getting this error in routes web.php in line no 15 but I am not getting why it's coming that's why I am looking for a positive response from your side
from chatify.
@dhruv1998 Open yourapp/config/chatify.php
and check out namespace
property,
If you published controllers, so it should be :
App/Http/Controllers/vendor/Chatify
This to make routes' namespace depends on the published controllers not package's conrollers.
or if not, it should be (as default) :
Chatify/Http/Controllers
from chatify.
@munafio namespace property doesn't exist only in config/chatify.php this my whole chatify.php
`return [
/*
|--------------------------------------------------------------------------
| Messenger app name
|--------------------------------------------------------------------------
|
| This value is the name of the app which is used in the views or elsewhere
| in this app.
|
*/
'name' => env('CHATIFY_NAME', 'Chatify Messenger'),
/*
|--------------------------------------------------------------------------
| Package path
|--------------------------------------------------------------------------
|
| This value is the path of the package or in other meaning, it is the prefix
| of all the registered routes in this package.
|
| e.g. : app.test/chatify
*/
'path' => env('CHATIFY_PATH', 'chatify'),
/*
|--------------------------------------------------------------------------
| Package's web routes middleware
|--------------------------------------------------------------------------
|
| This value is the middleware of all routes registered in this package
| which is by default : auth
|
*/
'middleware' => env('CHATIFY_MIDDLEWARE', 'auth'),
/*
|--------------------------------------------------------------------------
| Pusher API credentials
|--------------------------------------------------------------------------
|
| This array includes all the credentials that required to use pusher API
| with Chatty package, which is used to broadcast events over websockets to
| create a real-time features.
|
*/
'pusher' => [
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
'encrypted' => false,
],
],
/*
|--------------------------------------------------------------------------
| User Avatar
|--------------------------------------------------------------------------
|
| This is the user's avatar setting that includes :
| [folder] which is the default folder name to upload and get
| user's avatar from.
| [default] which is the default avatar file name for users stored
| in database.
|
*/
'user_avatar' => [
'folder' => 'users-avatar',
'default' => 'avatar.png',
],
/*
|--------------------------------------------------------------------------
| Attachments By Default
|--------------------------------------------------------------------------
|
| This array contains the important default values that used in this package.
|
| The first value in this array is the default folder name in the storage
| which is all the attachments will be stored in.
| This is also going to be used in attachments urls in the views.
|
*/
'attachments' => [
'folder' => 'attachments',
// Below is the route name to download attachments.
'route' => 'attachments.download',
],
];`
from chatify.
@dhruv1998 namespace available with v1.0.1
please re-install the package and follow the installation guide step by step and it will work as it should 🙏🏻
from chatify.
thanks @munafio it worked
from chatify.
Related Issues (20)
- Still Image Is not showing in chat and if we are set the profile also it will not showing. I have also link the storage with public. HOT 2
- API Usage - Simple HTML + JS page. HOT 3
- The User class inside MessagesController breaks when you have a different location. HOT 2
- constant variables in code.js is causing issues.
- How we can do chat on multiple routes like admin/chatify and user/chatify HOT 1
- Error: Unable to retrieve auth string from channel-authorization endpoint - received status: 500 HOT 2
- Undefined $user variable HOT 3
- How use chatify with mobile client? HOT 1
- can't change profile pic HOT 1
- Custom Messager Class : Non-static method error. HOT 1
- Translating labels
- How to custom images design in chats? HOT 1
- chatify/idInfo 500 (Internal Server Error) HOT 2
- The issue of channel-authorization, on console HOT 1
- How to filter the user records returned in search from the controller? HOT 1
- Failed to load resource: the server responded with a status of 500 (Internal Server Error) Chatify HOT 2
- can you plz write all the commands to run this????????
- Update doc with Ably Configuration HOT 5
- 500 (Internal Server Error) HOT 2
- Feature Request: Implement Chunk Upload for Large Files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatify.