Skip to content

Blank page - can't install

edited June 2014 in Troubleshooting

Hi!

I've done the config.php setup, copied over the files and have a /sendy folder (http://weeklywtf.net/sendy). When I go to my sendy folder to install all I get is a blank page.

I've done the _compatibility.php?i=1 thing and it shows that my mod_rewrite is not enabled. I'm pretty sure it is as it's mentioned in my root .htaccess file. I've tried adding the commands to the sendy .htaccess and still no joy. I have a rating of 8/9. The hosting is shared hosting if that's any help and I already have two sites running on this one shared host.

Sendy seems to connect to the database OK as when I purposely give it the wrong MySQL name it says it can't find the database.

I'm not sure where to look next. Any advice would be greatly appreciated.

Thanks!
Ronnie

Comments

  • Hi,

    Can you please check your PHP error_log to find the error relating to this?

    Also, this may help http://sendy.co/troubleshooting#blank-page

    Thanks.

    Best regards,
    Ben

  • edited June 2014

    The apostrophes seems to be in the proper place:

    define('APP_PATH', 'http://weeklywtf.net/sendy');
    /*  MySQL database connection credentials  */
    $dbHost = 'localhost'; //MySQL Hostname
    $dbUser = 'ronniet_sendy'; //MySQL Username
    $dbPass = 'xxxxxxxxxxxxxx'; //MySQL Password
    $dbName = 'ronniet_sendy'; //MySQL Database Name
    

    The error_log in /sendy has quite a few entries that say:

    [27-Jun-2014 17:22:13 Europe/London] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/ronniet/public_html/weeklywtf/sendy/includes/config.php:1) in /home/ronniet/public_html/weeklywtf/sendy/includes/functions.php on line 5

  • Forgot to say, I can paste in my functions.php line 5 if you need it, but it's a huuuuge long line.

  • Please send me your FTP credentials so I can take a look.

  • BenBen
    edited June 2014

    Hi,

    I found the issue, the problem was caused by empty line/space at the bottom of the last line of code in /includes/config.php:

    This causes the following error and halted the script, preventing it from redirecting to the installation page:

    Cannot modify header information - headers already sent by (output started at /home/ronniet/public_html/weeklywtf/sendy/includes/config.php:1) in /home/ronniet/public_html/weeklywtf/sendy/includes/functions.php on line 5

    I'm not sure how these empty lines/spaces came about but I've removed them and it's all working now http://weeklywtf.net/sendy

    Best regards,
    Ben

  • Fantastic news. Thank you SO much for that. I'll get to installing Sendy now.

    The spacing might have been introduced by me editing the files on the server. The Cpanel File Manager allows editing and saving of files without downloading.

    Thanks again, I really appreciate you doing that.

  • You're welcome! I've just added this to the troubleshooting page hopefully it'll help others in future having the same problem http://sendy.co/troubleshooting#blank-page

    Best regards,
    Ben

This discussion has been closed.