Closed KasheenaTTV closed 10 years ago
I don't understand the report. Which error are you referring to when you say "Now I'm getting this error"
Sorry! Forgot to paste it in.
A PHP Error was encountered
Severity: Notice Message: Undefined variable: header Filename: donate/success.php Line Number: 2
A PHP Error was encountered
Severity: Notice Message: Undefined variable: data Filename: donate/success.php Line Number: 3
If you look inside the file /application/views/partials/notices/success.php
, you'll find both those variables. The reason it's erring is because that file is not meant to be used that way.
I recommend you place the file back, and create a new success.php file for the donation view and return plain text in it. I'll commit this change in the repository shortly, you should pull from the master branch in a few minutes.
Done. Can you verify that fixes the issue?
It's fixed! Thanks.
After a donation, the redirect isn't properly redirecting.
An Error Was Encountered
Unable to load the requested file: donate/success.php
I substituted \application\views\partials\notices\success.php into the \application\views\donate folder
Now I'm getting this error, but now I have the layout around the error instead of a 404-error kind of response from the server.