devit.gg

President & Founder at Myez Dev

Experience

700

0 Best Reply Awards

  • Member Since 2 Weeks Ago
  • 0 Lessons Completed
  • 0 Favorites

21st March, 2017

devit.gg left a reply on Show Modal On Redirect • 6 days ago

I am reloading the page when i redirect back. This modal works when i attach it to a button. just not when I use this open method.

20th March, 2017

devit.gg left a reply on Show Modal On Redirect • 6 days ago

I cleared all the errors, yet the modal is still not opening :\

devit.gg left a reply on Show Modal On Redirect • 6 days ago

so my console is giving me this error:

home:539 Uncaught SyntaxError: Invalid or unexpected token

devit.gg left a reply on Show Modal On Redirect • 6 days ago

    <script type="text/javascript">
$(function() {
    $('#myModal).modal('show');
});
</script>

seems to be this, when I change the modal to a toggle on click it works but this modal show method doesnt seem to be working.

devit.gg left a reply on Show Modal On Redirect • 6 days ago

Yeah I narrowed it down prior, i should have stated; I changed the modal script to a simple bootstrap alert and it catches the session and displays the alert. But when I change it back to the modal; it doesnt work.

devit.gg started a new conversation Show Modal On Redirect • 6 days ago

I've searched and my code seems to be correct; BUT my modal isnt opening on redirect. Anyone know why?

` ×

{{Auth::user()->username}}'s Friends

                        <div class="modal-body">
                            <h6 class="text-semibold text-center">You currently have no friends.</h6>
                            <p class="text-center">Why don't you search, and see if you find anyone you know?</p>
                            <p class="text-center"><button type="button" class="btn btn-default">Find a Friend</button></p>



                        <div class="modal-footer">
                            <button type="button" class="btn btn-link" data-dismiss="modal">Close</button>
                        </div>
                    </div>
                </div>
            </div>
`

16th March, 2017

devit.gg left a reply on No Callbacks On Private-App.User.1 For Pusher:subscription_error • 1 week ago

Solved for anyone searching this:

Broadcast::channel('App.User.{userId}', function ($user, $userId) { return (int) $user->id === (int) $userId; });

devit.gg left a reply on Listening For An Event • 1 week ago

This is weird.

devit.gg left a reply on Pusher:subscription_error • 1 week ago

Thank you! I figured the ('App.user.*') would work as a wild card. RIP.

devit.gg started a new conversation Listening For An Event • 1 week ago

Basically, i'm sending out an event; Pusher is receiving it on their debug console. YET my other browser in which I'm specifically sending the private event to, is not.

The strange thing, is when I send an event to that channel VIA pusher's site; that browser on that private channel is receiving it.

Here is all relevant code.

http://pastebin.com/hLBPBcxK

devit.gg left a reply on Laravel 5.4 View Returns 404 Not Found • 1 week ago

{{route('home')}}

devit.gg left a reply on Vue Components Not Loading In Blade • 1 week ago

Did you gulp it? I don't see a around ur vue components.

devit.gg left a reply on Why Use Redis For Websocket Communication? • 1 week ago

I'm curious to this answer to.

Bump

devit.gg left a reply on Forcing Ignore Validation • 1 week ago

Remove it?

'numeric|unique:locations',

devit.gg left a reply on Database Migration Error • 1 week ago

Please check your .env file and update correct credentials into database info

devit.gg left a reply on Laravel Is Kool. • 1 week ago

Laravel is babe <3, she has naughty pictures at laravel.com/docs/5.4

devit.gg left a reply on Make:auth Logging In Connection Refused To MySQL DB • 1 week ago

if you are using default xamp user/pass remove the "." from password, there isnt one, its just blank with username "root"

devit.gg left a reply on Pusher:subscription_error • 1 week ago

Anyone?

15th March, 2017

devit.gg started a new conversation Pusher:subscription_error • 1 week ago

My console is throwing the following error:

Pusher : No callbacks on private-App.user.1 for pusher:subscription_error

I did some googling, my BROADCAST_DRIVER is set to log, i changed it to pusher and then ontop of the above error, i get:

pusher.js?b3eb:593 POST http://laravelrocksmysocksoffeverynight.com/broadcasting/auth 500 (Internal Server Error) pusher.js?b3eb:626 Pusher : Couldn't get auth info from your webapp : 500

Attached are my relevant files

http://pastebin.com/QDtqPkrt

devit.gg left a reply on No Callbacks On Private-App.User.1 For Pusher:subscription_error • 1 week ago

wait, whats your error on console?

devit.gg left a reply on No Callbacks On Private-App.User.1 For Pusher:subscription_error • 1 week ago

I got the same issue here =[

devit.gg left a reply on Pusher Vue Error • 1 week ago

I put in both, still getting the error.

devit.gg left a reply on Pusher Vue Error • 1 week ago

import Pusher from "pusher-js" import Echo from "laravel-echo"

in app.js or in the vue component?

14th March, 2017

devit.gg started a new conversation Pusher Vue Error • 1 week ago

Im trying to use pusher to push notifications but im getting this error in my console?

I npm laravel-echo updated my .env file with my pusher info

Uncaught ReferenceError: Pusher is not defined
    at PusherConnector.connect (eval at 46 (app.js:394), <anonymous>:546:31)
    at PusherConnector.Connector (eval at 46 (app.js:394), <anonymous>:192:14)
    at new PusherConnector (eval at 46 (app.js:394), <anonymous>:537:135)
    at new Echo (eval at 46 (app.js:394), <anonymous>:689:30)
    at eval (eval at 13 (app.js:109), <anonymous>:45:15)
    at Object.13 (app.js:109)
    at __webpack_require__ (app.js:20)
    at eval (eval at 59 (app.js:493), <anonymous>:8:1)
    at Object.59 (app.js:493)
    at __webpack_require__ (app.js:20)

my app.js file

require('./bootstrap');

Vue.use(require('vue-resource'));


/**
 * Next, we will create a fresh Vue application instance and attach it to
 * the page. Then, you may begin adding components to this application
 * or customize the JavaScript scaffolding to fit your unique needs.
 */

Vue.component('example', require('./components/Example.vue'));



Vue.component('feed', require('./components/Feed.vue'));

Vue.component('post', require('./components/Post.vue'));

Vue.component('post-form', require('./components/PostForm.vue'));


Vue.component('displayfriends', require('./components/ProfileComponents/DisplayFriends.vue'));
Vue.component('connectdropdown', require('./components/ProfileComponents/ConnectDropdown.vue'));

Vue.component('notifications', require('./components/Notifications/Notification.vue'));



const app = new Vue({
    el: '#app'
});

My package.json

{ "private": true, "scripts": { "prod": "gulp --production", "dev": "gulp watch" }, "devDependencies": { "bootstrap-sass": "^3.3.7", "gulp": "^3.9.1", "jquery": "^3.1.0", "laravel-elixir": "^6.0.0-9", "laravel-elixir-vue-2": "^0.2.0", "laravel-elixir-webpack-official": "^1.0.2", "lodash": "^4.16.2", "vue": "^2.0.1", "vue-resource": "^1.2.1" }, "dependencies": { "algoliasearch": "^3.20.3", "laravel-echo": "^1.1.3", "pusher": "^1.5.1", "pusher-js": "^4.0.0", "vuex": "^2.1.1" } }

9th March, 2017

devit.gg left a reply on Laravel <slot></slot> Not Displaying • 2 weeks ago

Yes, I feel like it's not reading the app.js file? But literally brand spanking new to vue.js, not sure how it's suppose to work exactly.

Frustrating, lol.

devit.gg left a reply on Laravel <slot></slot> Not Displaying • 2 weeks ago

No errors compiling in gulp

devit.gg left a reply on Laravel <slot></slot> Not Displaying • 2 weeks ago

Nothing is showing up in the console.... only that vue is in development mode.

http://pastebin.com/5uDuaL1q

8th March, 2017

devit.gg started a new conversation Laravel <slot></slot> Not Displaying • 2 weeks ago

As title says, the component is not displaying into my view. I did "gulp watch" and it did everything without errors.

My app.js

Vue.component('timeline', require('./components/Timeline.vue'));

const app = new Vue({ el: '#app' });

My Timeline.vue

Example Component

                <div class="panel-body">
                    I'm an example component!
                </div>
            </div>
        </div>
    </div>
</div>

export default { mounted() { console.log('component Ready.') } }

in my blade view

    <timelime></timeline>

devit.gg left a reply on Elixir Webpack Official Not Npm Installing • 2 weeks ago

I did npm install, then the laravel webpack offical global..

still not working, attached error.

http://pastebin.com/uX79gFFc

devit.gg left a reply on Elixir Webpack Official Not Npm Installing • 2 weeks ago

npm install nodegit

Is what you are referring to, correct?

devit.gg left a reply on Elixir Webpack Official Not Npm Installing • 2 weeks ago

http://pastebin.com/eDRtY04b

Threw error on the global command

NPM is 4.3.0 someone is bound to ask.

devit.gg started a new conversation Elixir Webpack Official Not Npm Installing • 2 weeks ago

I've googled the crap out of this, reinstalled all my stuff. When I add:

"laravel-elixir-webpack-official": "^1.0.2",

to my package.json and npm install, it throws error. Anyone have any ideas, what's going on here? I feel like it's something stupid, and I'm looking over something.

C:\Users\yordameister\Desktop\wamp64\www\secret>npm install npm WARN deprecated [email protected]: Just use Array.isArray directly npm WARN addRemoteGit Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:13:12) npm WARN addRemoteGit at F (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:89:16 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:114:15) npm WARN addRemoteGit jeroennoten/webpack-stream#patch-1 resetting remote C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-github-com-jeroennoten-webpack-stream-git-patch-1-5e1462f4 because of error: { Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:13:12) npm WARN addRemoteGit at F (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:89:16 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:114:15) code: 'ENOGIT' } npm ERR! git clone --template=C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes_templates --mirror git://github.com/jeroennoten/webpack-stream.git C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-github-com-jeroennoten-webpack-stream-git-patch-1-5e1462f4: undefined npm ERR! git clone --template=C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes_templates --mirror git://github.com/jeroennoten/webpack-stream.git C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-github-com-jeroennoten-webpack-stream-git-patch-1-5e1462f4: undefined npm WARN addRemoteGit Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:13:12) npm WARN addRemoteGit at F (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:89:16 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:114:15) npm WARN addRemoteGit jeroennoten/webpack-stream#patch-1 resetting remote C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-jeroennoten-webpack-stream-git-patch-1-60be6dae because of error: { Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:13:12) npm WARN addRemoteGit at F (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:89:16 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:114:15) code: 'ENOGIT' } npm ERR! git clone --template=C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes_templates --mirror https://github.com/jeroennoten/webpack-stream.git C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-jeroennoten-webpack-stream-git-patch-1-60be6dae: undefined npm ERR! git clone --template=C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes_templates --mirror https://github.com/jeroennoten/webpack-stream.git C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-jeroennoten-webpack-stream-git-patch-1-60be6dae: undefined npm WARN addRemoteGit Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:13:12) npm WARN addRemoteGit at F (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:89:16 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:114:15) npm WARN addRemoteGit jeroennoten/webpack-stream#patch-1 resetting remote C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-github-com-jeroennoten-webpack-stream-git-patch-1-b24e730a because of error: { Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:13:12) npm WARN addRemoteGit at F (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\which.js:89:16 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:114:15) code: 'ENOGIT' } npm ERR! git clone --template=C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes_templates --mirror [email protected]:jeroennoten/webpack-stream.git C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-github-com-jeroennoten-webpack-stream-git-patch-1-b24e730a: undefined npm ERR! git clone --template=C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes_templates --mirror [email protected]:jeroennoten/webpack-stream.git C:\Users\yordameister\AppData\Roaming\npm-cache_git-remotes\git-github-com-jeroennoten-webpack-stream-git-patch-1-b24e730a: undefined npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Users\yordameister\Desktop\wamp64\www\secret\node.exe" "C:\Users\yordameister\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" npm ERR! node v7.7.2 npm ERR! npm v4.3.0 npm ERR! code ENOGIT

npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\yordameister\AppData\Roaming\npm-cache_logs\2017-03-08T23_31_41_055Z-debug.log

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.