Member Since 4 Years Ago

Experience Points 6,030
Experience Level 2

3,970 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 29
Best Reply Awards 2
Best Reply
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement


    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement


    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

18 Jan
4 months ago

Gorby left a reply on Forge Application Connecting To DB On Another Forge Server

Can you open 3306 on the MySQL server using the Network option on the Forge menu for the server. You can open 3306 and limit it to the IP from the app server. Initially Forge locks it pretty well down.

13 Dec
6 months ago

Gorby left a reply on Laravel Forge + Redis

From what I recall it just sat there running, and if you use it either in your code or as part of horizon (Queues) it connected (Hostname/Port was set in my .env file).

28 Sep
8 months ago

Gorby left a reply on Let's Encrypt Without DNS Provider

Yeah, I made this mistake a while ago and drove me nuts. I had to tweet Taylor. I wish they would get the support documentation back online.

07 May
1 year ago

Gorby left a reply on Displaying '@' In Laravel With {{php Data}} VIEW

What happens if you send the @ in the variable from the controller.

return view('mypage',['name' => '@'.$name]);

Not tested though

17 Mar
1 year ago

Gorby left a reply on Valet Share With Custom Reserved Address

I'm updating this thread as there is way for a constant ngrok subdomain with Valet. You need a Pro plan, but although I'm developing I got sick and tired of updating URL's in my app. (My Prod uses a web server but I need outside SSL access for the dev version).

This medium article explains and was easy to handle.


03 Mar
1 year ago

Gorby left a reply on Setting Up Forwarding Emails With A Forge-Created Wordpress Site

I usually install a wordpress SMTP plugin and either use one of my existing mail gateways if just contact mail to me, or a mailgun account if more is needed. Saves me a lot of issues on mailer/phpmail/whatever!

22 Feb
1 year ago

Gorby left a reply on Forge Support?

@thomthom I didn't get a copy when I used the beacon, nor an acknowledgement which kind of surprised me but he responded fairly quickly. (In my case even though I had added the new IP addresses to my AWS security group, Forge could no longer see my AWS servers. I ended up deleting the old IP addresses and when I saved the changed, poof, all was well. )

I did look at using BeSnappy as it was once HelpScout's I believe but their marketing (FB and Twitter sites) haven't been updated in a long time so wasn't sure it was a supported product anymore and got what I need at HelpScout. (Watch their A/B price testing, if serious, try an Incognito window!)

21 Feb
1 year ago

Gorby left a reply on Forge Support?

HelpScout seems to be the new support for Forge, I get the blue lifebuoy beacon. (I have my own HelpScout account so recognize it).

I put in a ticket last week and Taylor replied quite quickly.

His reply came from [email protected] Try that.

15 Feb
1 year ago

Gorby left a reply on Forge Server Migration - AWS No Longer Seen

So, I think I had a not happy security group. I removed the old Forge servers from the group, saved and was able to connect.

Gorby left a reply on Forge Server Migration - AWS No Longer Seen

Looks like Forge connects, but fails logging.


I've mentioned that in the ticket. I will double check my ssh keys on the boxes when I get home tonight. My Linode and DO are fine. That said, I had a deploy work Sun night. :-(

Gorby started a new conversation Forge Server Migration - AWS No Longer Seen

Hi all,

Forge have now moved their servers. I did add the new IP's couple of weeks ago but Forge can no longer see them. I've double-checked the IP's are in the security group and appear to be.

I've raised a support ticket with Forge but wondering if anyone else is having the same issue with their AWS hosted Forge managed servers?

Gorby left a reply on Migrating Forge Server To Use HTTPS

In the past I've had responses within a day but they've just migrated their servers to new hosts and I've just raised a ticket last night as it can no longer see my AWS servers and I've added the new IP's to my security group. I'm wondering if the migration is taking their time up.

12 Feb
1 year ago

Gorby left a reply on Migrating Forge Server To Use HTTPS

I'd like to know the answer to this too.

I have a desktop app that contacts an updater file to see if an update is needed. If I do a forced redirect to https://, the app fails to redirect, it can't cope with the 301 redirect. I too have looked at modifying the forge before/* stuff so that any call to an *.xml file will stay port 80 but all else will be redirected.

Grateful if you can update us with what Forge say. Don't want to modify some behind the scenes stuff and it gets reset later...


10 Feb
1 year ago

Gorby left a reply on Upgraded To 5.6 And Having Horizon Issues

This was indeed a bug and was resolved in Laravel Horizon v1.2.1.

Details can be found (here)[https://github.com/laravel/horizon/pull/294], thanks to those who did the deep dive on the code and know Redis well.

07 Feb
1 year ago

Gorby left a reply on Upgraded To 5.6 And Having Horizon Issues

Took Horizon back to v1.1.1 and all was stable.

Re-upgraded to Laravel 5.6 and issue came back. Curious if any other Redis user who upgrades sees this. Thanks

Gorby left a reply on Upgraded To 5.6 And Having Horizon Issues

I rolled back to laravel 5.5, that alone didn't stop it, but when I rolled Horizon back to 1.0.9 it seems to have stopped the errors!

Gorby started a new conversation Upgraded To 5.6 And Having Horizon Issues On Mac

So, upgraded my app to 5.6 which was ok, bit noticed my redis queues were having issues. This gets logged every few minutes.

[2018-02-08 03:03:06] local.ERROR: Error while reading line from the server. [tcp://] {"exception":"[object] (Predis\Connection\ConnectionException(code: 0): Error while reading line from the server. [tcp://] at /Users/richard/Sites/rtb-shopify/vendor/predis/predis/src/Connection/AbstractConnection.php:155)
#0 /Users/richard/Sites/rtb-shopify/vendor/predis/predis/src/Connection/StreamConnection.php(314): Predis\Connection\AbstractConnection->onConnectionError('Error while rea...')
#1 /Users/richard/Sites/rtb-shopify/vendor/predis/predis/src/Connection/AbstractConnection.php(120): Predis\Connection\StreamConnection->read()
#2 /Users/richard/Sites/rtb-shopify/vendor/predis/predis/src/Connection/AbstractConnection.php(112): Predis\Connection\AbstractConnection->readResponse(Object(Predis\Command\ListPopFirstBlocking))
#3 /Users/richard/Sites/rtb-shopify/vendor/predis/predis/src/Client.php(331): Predis\Connection\AbstractConnection->executeCommand(Object(Predis\Command\ListPopFirstBlocking))
#4 /Users/richard/Sites/rtb-shopify/vendor/predis/predis/src/Client.php(314): Predis\Client->executeCommand(Object(Predis\Command\ListPopFirstBlocking))
#5 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(96): Predis\Client->__call('blpop', Array)
#6 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(108): Illuminate\Redis\Connections\Connection->command('blpop', Array)
#7 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Queue/RedisQueue.php(230): Illuminate\Redis\Connections\Connection->__call('blpop', Array)
#8 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Queue/RedisQueue.php(213): Illuminate\Queue\RedisQueue->blockingPop('queues:default')
#9 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Queue/RedisQueue.php(165): Illuminate\Queue\RedisQueue->retrieveNextJob('queues:default')
#10 /Users/richard/Sites/rtb-shopify/vendor/laravel/horizon/src/RedisQueue.php(92): Illuminate\Queue\RedisQueue->pop('default')
#11 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(246): Laravel\Horizon\RedisQueue->pop('default')
#12 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(107): Illuminate\Queue\Worker->getNextJob(Object(Laravel\Horizon\RedisQueue), 'default')
#13 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\Queue\Worker->daemon('redis', 'default', Object(Illuminate\Queue\WorkerOptions))
#14 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(85): Illuminate\Queue\Console\WorkCommand->runWorker('redis', 'default')
#15 [internal function]: Illuminate\Queue\Console\WorkCommand->handle()
#16 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#17 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#18 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#19 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#20 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call(Array)
#21 /Users/richard/Sites/rtb-shopify/vendor/symfony/console/Command/Command.php(252): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#22 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#23 /Users/richard/Sites/rtb-shopify/vendor/symfony/console/Application.php(865): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /Users/richard/Sites/rtb-shopify/vendor/symfony/console/Application.php(241): Symfony\Component\Console\Application->doRunCommand(Object(Laravel\Horizon\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /Users/richard/Sites/rtb-shopify/vendor/symfony/console/Application.php(143): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /Users/richard/Sites/rtb-shopify/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 /Users/richard/Sites/rtb-shopify/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 {main}

I've updated redis per homebrew etc and this still persists when Horizon is running. Having deployed the app to my Forge test server the queues/horizon seem to be fine, so it points to something not liking something on my Mac. I've flushed the redis DB as well.

Anyone any thoughts?

03 Feb
1 year ago

Gorby left a reply on Forge Server - App Decided .env Would Not Get Read..

@ejdelmonico Thanks. I found those things in my search and tried it a few times. Both commands etc. In the end I'm putting it down to one of those things. While I don't believe I changed anything, it's possible I did without thinking. However I would love to know what :-) I did. There were some security updates requiring a restart but I had that on all my Forge provisioned boxes and they rebooted fine.

Cosmic Ray shower is my excuse now I think!!!

02 Feb
1 year ago

Gorby left a reply on Forge Server - App Decided .env Would Not Get Read..

I don't believe it is the patch as I believe when I span it up last week it was already applied.

The .env file was populated through the Forge control panel and everything worked for a few days. Then "something" happened and it seemed not to read. I poked around the server, nothing obvious in the logs, no access denied issues, just all env calls returned null. Ownership and permissions looked ok on .env.

After deciding I was spending too much time in the rabbit hole I blew it away.

Although this was a PROD build ready for release, I don't recall changing anything on the box so that is what makes me curious. If I did change something, however tiny, what stumps me is no sign of any errors in logs regarding the reading of the .env. Oh well, life's mystery.

31 Jan
1 year ago

Gorby left a reply on Forge Server - App Decided .env Would Not Get Read..

Thanks @Cronix, I've had those emails for my Linode ones & not DO. However as it's a new DO droplet, I just ran uname -r and it appears to be a patched kernel so it may be new droplets are already taken care of for round 1 of patching!

Gorby started a new conversation Forge Server - App Decided .env Would Not Get Read..

So I had a weird one. I have a one week old DO droplet with a copy of my app on. Although PROD, it's not released. Well, over the weekend, it just fell over. Whoops errors all around.

After a few red herrings I realized that any env('ANY_SETTING') would always return null. Didn't matter what it was, all return NULL. Would not connect to mysql and so on and so forth. Nothing was changed that I did. No new code was sent to the server, no changes to nginx or anything.

I tried php artisan config:clear, config:cache, clear-compiled and all that. Trawled the log files looking for permissions errors, nginx access errors and zippo. Nada. Nothing.

Even in artisan tinker, all env('xx') commands return null.

Finally I just copied the .env contents to a clipboard, blew away the site and re-installed. Pasted back the .env and all is well with the world.

Anyone else seen this? Droplet a week old and PHP 7.2, MariaDB 10.2.11.

Looking through Laracasts, a few have seen this but all seemed to be cured with a config:clear etc.

I appear to be ok now and I'll probably add an .env check in the scheduler but weird.

24 Jan
1 year ago

Gorby left a reply on Use Php Function Mail() On Forge Site

Can't recall off-hand if the Forge builds had sendmail/postfix or whatever setup as standard. I think I fought that last year. Although I cracked it, any mail that came was flagged as spam so I just used mailgun as an SMTP gateway and let my apps connect to that!

18 Oct
1 year ago

Gorby left a reply on Digital Ocean + Forge = WordPress Not Sending Contact Forms

I've always added a Wordpress SMTP plugin and used an SMTP server (mostly mailgun) to send stuff my Forge Wordpress installs.

Can't recall if I found that postmail or whatever was never installed and ended up bypassing it. If it was, then default mail always ended up in the spam folders anyway.

19 Sep
1 year ago

Gorby left a reply on Cost Of Laravel Forge

@MohamadSleimanHaidar Are you actually paying more per month? I'm grandfathered and seen no increase since I started few years ago. I'm aware that may change and assume I will receive communications but not going to worry until then.

13 Aug
1 year ago

Gorby started a new conversation Anyone Used The Ghattrell/activecampaign Package?

Reason I ask is I'm having a senior moment. I've installed it but I've completely blanked on how to call it to add a contact. I've gone through the source code but still non the wiser. I'm missing something obvious!! I just need that quick guidance.

11 Aug
1 year ago

Gorby left a reply on 502 Bad Gateway Timeout Error - Recurring Problem.

Look in the log files. I was running a wordpress site (setup by Forge) and I was getting these. Turned out someone(!) was hitting the xml_rpc.php file in the site root 3 times a second and it kept killing the php fpm process. The log files guided me to that. Once I renamed the file it as been rock solid and I didn't need it.

With my limited server knowledge it seems that to take down an nginx site seems a lot easier than apache! :-)

30 Jul
1 year ago

Gorby left a reply on Best Practice For Updating Forge Servers?

No doubt many answers but here's what I do.

I have a staging/dev server that is identical in OS and setup to a Production server. (I use it to test updates to my app though). I will do the package updates on that box and test, then if all well (and truth is it has never failed on me yet!!) then a few days later I upgrade the prod box.

sudo apt-get update will update the list of repos etc. sudo apt-get upgrade will perform the updates etc.

It will/can affect your app etc.

The only issue I have with Ubuntu on forge is the constant requirement to restart for the security updates whereas my non-Forge AWS flavor linux hasn't needed a restart since I've had it!

22 Jun
1 year ago

Gorby left a reply on Forge Queues Not Running

I set mine up using Forge and the only difference I see is that I set them as a deamon. I believe that will restart it with supervisor if it takes a crap. Mine seem stable.

25 May
2 years ago

Gorby left a reply on Using A Theme For Laravel Spark - Any Experiences Or Recommendations?

I always have had issues with the supposed license with ThemeForest, the way I read it is if you charge for access (sell) to your SaaS then they want the Extended License.....

However Re-templating Spark has always been a headache for me. The Bootstrap that comes with Spark has enough tweaks from the generic that I've spent a while chasing my tail tweaking css etc.

The only one I had a glimmer of success on so far as the open source one, adminLTE2. (https://adminlte.io/themes/AdminLTE/index2.html).

22 Apr
2 years ago

Gorby left a reply on Spark Profile Pics S3

So, I looked at this and found it a lot simpler to change the 'public' in the config/filesystem.php to

 'public' => [
            'driver' => 's3',
            'key' => env('AWS_KEY'),
            'secret' => env('AWS_SECRET'),
            'region' => env('AWS_REGION'),
            'bucket' => env('AWS_BUCKET'),

Not aware of any other impact.

Took a little tweaking on the S3 side to make the profiles folder public etc.

06 Apr
2 years ago

Gorby left a reply on Authentication Exception: Unauthorised - Being Thrown On Login Page

This is giving me some grief. If my APP_DEBUG is false I sent any errors to a 'oops' page rather than the "Whoops" page. However when you went to the site unauthenticated (as expected if you want to login/register etc) it would give me the Oops error. I've for now, just added a exception handler for Authentication but should I have to do that?

This was my code (is there a better way for a better page on an exception?)

        if (!env('APP_DEBUG')) {
            return view('errors.500');

         return parent::render($request, $exception);

Gorby left a reply on Lock Down SSH Access

Make sure to add the whitelist IP's from Forge. I made that mistake once :), also they do change from time to time. Couple of weeks ago I could deploy fine but could not retrieve the .env. The 45.xx had changed.

29 Mar
2 years ago

Gorby left a reply on Quick Deploy Is Not Working For My Site

Did you whitelist any Forge IPs for your server?

I say this as the other day I could deploy and stuff but getting the .ENV always failed. Turned out the 45.xx address I had whitelisted had changed and I had to change it in my AWS security group. Maybe worth checking the addresses if you do.

19 Mar
2 years ago

Gorby left a reply on Notifications Scope Changes When ShouldQueue Used...

After bashing my head against the wall, i was able to resolve this by protecting the variables in the class. Makes sense.

class alertSMS extends Notification implements ShouldQueue
    use Queueable;

    protected $message;

Seems ok now.

Gorby left a reply on Notifications Scope Changes When ShouldQueue Used...

So it does not matter whether I use sync, database or beanstalkd as the queue, it fails with exception that $this->message is undefined. It queues it ok, but fails it with that exception and moves it to the failed jobs queue (if not using sync).

It seems to be that $this loses scope between the constructor and the call toNexmo.

I'm drawing a blank, any crumbs appreciated. (This is a spark site btw as well).

18 Mar
2 years ago

Gorby started a new conversation Notifications Scope Changes When ShouldQueue Used...

So, I have a Notification that works for Email and Nexmo. Today I added the ShouldQueue for both, and they fail. I'm using 'sync' on my dev box and 'beanstalkd' on my staging server. Same error on both.

Basically I add some data in the construct, $this->message etc, and when called in the toNexmo (or toMail) when not using ShouldQueue it work find and $this->message has the content but when implementing ShouldQueue, it exceptions with an undefined $this->message.

class alertSMS extends Notification implements ShouldQueue
    use Queueable;

     * Create a new notification instance.
     * @return void
    public function __construct($message)
        $this->message = $message;

     * Get the notification's delivery channels.
     * @param  mixed  $notifiable
     * @return array
    public function via($notifiable)
        return ['nexmo'];

     * Get the mail representation of the notification.
     * @param  mixed  $notifiable
     * @return \Illuminate\Notifications\Messages\MailMessage

    public function toNexmo($notifiable)
        $message = $this->message; //with ShouldQueue this is undefined, without, it works!!!
        $message = mb_strimwidth($message,0,135,'...');
        return (new NexmoMessage)

Any thoughts welcome.

17 Mar
2 years ago

Gorby left a reply on How Does One Report A Bug On Forge?

When you're logged into Forge, see the Contact Support tab bottom of the browser, click on that then "Contact Us" at the bottom of that.

Gorby left a reply on Forge Hack

You can add/kill your keys easily but I suspect for Forge itself you'll need to probably contact Taylor via the Forge help. I've found he responds quickly.

Out of curiosity because a few of us host Wordpress sites on Forge provisioned servers are you willing to let us know what plugin you suspect?

14 Mar
2 years ago

Gorby left a reply on JQuery Conflicts....

Thanks @briang

I'll have a fiddle with that when I get a chance. I did try adding

    var jQuery = $;

placed just after the app.js declaration. That seemed to cure the issues I posted but then other surfaced.

For now, I have removed Spark from the main template and call it as part of settings trying to tweak the look and feel of the main.

I found that Spark's tweaks of bootstrap.css caused other issues on some stuff so took quickest option for now!

09 Mar
2 years ago

Gorby left a reply on Mail Is Not Sending Through Laravel

Try setting the port to 465 (the other secure port). I had an issue with a desktop app sending through gmail on 587. They made it more secure!!!! Changing to 465 & they went through.

08 Mar
2 years ago

Gorby left a reply on JQuery Conflicts....

gentle bump. If anyone has an idea?

For now I've gone to the default Spark/Bootstrap template and tweaked a bit but would love to go back to my one I prefer.


05 Mar
2 years ago

Gorby started a new conversation Spark UI Responsive Issues... (notifications Primarily)

Hi all,

Testing my Spark app on my iPhone showed some issues with the Spark side of things. Most obvious is Notifications. If you bring up notifications, clicking CLOSE does not close the window. You have click outside of the window (if space available).

This also happens on the spark.laravel.com site. I also tested with the iOS Simulator (ios 10.2) and had the same results.

I also notice that after expanding the menu, clicking on the Avatar to bring up the Kiosk/Settings etc is hit and miss. My iphone & iOS Simulator doesn't respond to it and show the dropdown.

Oddly enough my app does though.

Can anyone else verify they see the same on Notifications (curious about Android) and if they get the same on the spark.laravel.com site with the avatar dropdown.

Thanks, Richard

04 Mar
2 years ago

Gorby started a new conversation JQuery Conflicts....

Hi all,

I'm having an issue applying a bootstrap template to my Spark app. CSS wise all good but when I add the template's css and Parsley JS as well, I'm getting the following messages in the console.

Uncaught TypeError: $ is not a function
    at new Sidemenu (jquery.app.js:12)
    at jquery.app.js:77
    at jquery.app.js:79
Sidemenu @ jquery.app.js:12
(anonymous) @ jquery.app.js:77
(anonymous) @ jquery.app.js:79
parsley.min.js:8 Uncaught ReferenceError: jQuery is not defined
    at parsley.min.js:8
    at parsley.min.js:8

jquery.app.js is the template js file and normally expects jquery loaded before it which I assume it is from the app.js (Spark).

I've tried loading jquery.min.js and a noconflict, but bashing head on wall.

Any guidance appreciated. This seems to be the last hurdle in getting the template going.


03 Mar
2 years ago

Gorby left a reply on Bootstrap Styling Looks Different With Laravel Spark?

When I said "my template css", for the one I used, it was called style.css.

So in my case app.css is what Spark created and style.css is my default template css.

02 Mar
2 years ago

Gorby left a reply on Session Cookies Not Secure..

So quick env addition.


and voila. Just the HSTS and CSP to fix now :)

Thanks for the help guiding @Cronix

Gorby left a reply on Spinning Up A Purely Wordpress Site On Forge

When you create a new site, make sure the Project Type is set to General PHP/Laravel, also remove the /public from Web Directory. Then when after it's ready, go into the site, on the APPS click on Wordpress and it will install latest.

Gorby left a reply on Session Cookies Not Secure..

Thanks @Cronix

I had relied on the statement from the 5.4 docs

Cookies & Encryption

By default, all cookies generated by Laravel are encrypted and signed so that they can't be modified or read by the client. 

however looking at my source, in session config, it's set to false.

Thanks for the pointer and being wise.

Gorby started a new conversation Session Cookies Not Secure..

I've just spun a Spark/Laravel 5.4 site and deployed the alpha to one of my Forge provisioned boxes and used Lets Encrypt for SSL.

I decided to let Mozilla Observatory have at it for security and it came back an "F". It got really dinged on the Session cookies not being secure. Inspecting the cookies with Chrome Developer Tools does indeed show they are not secure.

It also got flagged on some stuff I can do with the server.

However, I'm not a real security geek so any thoughts from the wise on making session cookies secure?

Thanks, Richard

01 Mar
2 years ago

Gorby left a reply on Bootstrap Styling Looks Different With Laravel Spark?

I've had some small issues as well with the template I use. Check the app.css for the styles. If I had my template css override the Spark default, it made a mess of Spark. Spark style override my style, some not so subtle changes to the template.

What I did was have a local css file to override the changes back to what I needed but that was time wasted to find what needed inheriting. I'm still having some issues with the Spark notification modal looking a bit fugly....

28 Feb
2 years ago

Gorby left a reply on Spark & PCI Complaince

greater minds than I will hopefully come along but your app using Stripe does not store or process credit card numbers but simply passes them onto Stripe & Braintree.

If you look at the data stored in your database it really is **** **** **** 1234 for the last four digits :)