murph133

Experience

520

0 Best Reply Awards

  • Member Since 8 Months Ago
  • 3 Lessons Completed
  • 0 Favorites

12th February, 2018

murph133 left a reply on Give An Email A Subject! • 2 months ago

If you want to use a variable from your model in subject(), just do the following:

return $this->markdown('event.approved')->subject("Your event is live: ". $this->event->title);

In this case, we're sending them an email when the event has been approved and made like. We add the event title into the email subject.

murph133 left a reply on Object Of Class App\Mail\PasswordRecovery Could Not Be Converted To String • 2 months ago

I had the same problem when I tried to use the preview.

The reason: my version of Laravel is 5.4, not 5.5!

This feature is not available in 5.4.

Instead, in my routes, I returned the view with the data, rather than the class.

1st February, 2018

murph133 left a reply on Error 500 In Laravel On Shared Hosting • 2 months ago

I recommend checking the server error logs.

I discovered the follow error: SoftException in Application.cpp:261: File "/home/wpwfcom/public_html/my_project_name/index.php" is writeable by group

When I changed the file permission of the index.php file from 664 to 644, this resolved this particular problem. No more 500 error.

17th August, 2017

murph133 started a new conversation Spark > Cashier > Stripe > Subscriptions: Changing The Default Address Country • 8 months ago

The default subscription country for Stripe is US.

I want to change this to GB - for the United Kingdom, where all of my customers are based.

I have tried to customise this by changing a few view files that were hardcoded with the "US" as the default country.

I ran "npm run dev" after every edit.

No change in the Stripe logs for the new subscriptions I set up.

murph133 left a reply on Spark - Invoices Not Generating • 8 months ago

To receive invoices, you require a Stripe webhook:

https://dashboard.stripe.com/account/webhooks

Example "URI to be called":

https://yourwebsite.com/webhook/stripe

The same applies for Braintree.

14th August, 2017

murph133 left a reply on [L5] Avoiding CSRF Middleware On API POST Routes • 8 months ago

Thank you @billmn.

I had a problem integrating a GoCardless API into Laravel 5.4.

My server was responding with a 500 internal server error.

Adding the uri of my webhook to /Middleware/VerifyCsrfToken.php solved the problem.

7th August, 2017

murph133 left a reply on SQLSTATE[42S01]: Base Table Or View Already Exists: 1050 Table 'users' Already Exists • 8 months ago

Step 1

php artisan migrate:reset

Step 2

Go to your database using PHPmyadmin (or similar) and delete all remaining tables - including the migration table.

Step 3

php artisan migrate

30th July, 2017

murph133 left a reply on ErrorException In Helpers.php Line 582: The Mix Manifest Does Not Exist. • 8 months ago

The approach of mrad worked for the me.

Thank you!

Edit Your Profile
Update

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