Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Blank screen

edited February 2012 in Vanilla 2.0 - 2.8

I'm getting a blank screen, when following the "Signature Settings" link in profile/edit.
The settings link points to profile/signature, and when I change it to something else (like profile/siggggnature), I get a normal 404 screen.

So that tells me the method is available in the controller. But no matter what I've tried, I just can't get it to return anything but a white screen.

How do I debug this?

I'm using Vanilla v2.1a10

Best Answer


  • Options

    I found the solution myself:

    In Signatures/views/class.signatures.plugin.php:70 i changed ProfileController_Signature_Create(&$Sender) to ProfileController_Signature_Create($Sender).
    Then it works.
    But I'm not exactly sure why this was necessary ... ?

  • Options

    objects are passed by reference in php5. Some people don't know this.

    grep is your friend.

  • Options

    x00 said:
    objects are passed by reference in php5. Some people don't know this.

    So, because $Sender is an object, there's no need to use the explicit pass by reference operator, or what?

    I don't quite understand your answer ... :)

    I'm unsure about my solution, because I can see the plugin was tested and approved - yet I have to make this change to make it work.

    This has me wondering, if there's something else wrong with my code.

  • Options

    I had the same problem and the same change fixed it :)

    Perhaps a code change is in order? Is the plugin on Github?

  • Options
    TimTim Operations Vanilla Staff
    Answer ✓

    Yes, and it has been fixed in there for some time.

    Vanilla Forums COO [GitHub, Twitter,]

Sign In or Register to comment.