Viewing 15 replies - 1 through 15 (of 22 total)
  • Blank pages usually mean you’re getting a PHP error and your server logs rather than displays the error, which is the behavior you want with a production site. You just have to know where to get the information.

    You can use your FTP program or the file manager for your server control panel to download and look at the error_log files both in /public_html and in /public_html/wp-admin to see what the actual error is, then read through the WordPress 3.5 Master Troubleshooting post, following the steps at the end of the first post to identify where the problem is coming from; e.g., from a plugin or theme, etc.

    If you can identify what you did–if anything–right before this started happening–like switch themes, install a plugin, or whatever–that may help you identify the source of the problem.

    Thread Starter oinkyxp

    (@oinkyxp)

    Hi thanks but i’m quite new to all this.

    You mentioned to use a FTP program or the file manager for your server control panel to download and look at the error_log files both in /public_html and in /public_html/wp-admin. I have no idea what this is and maybe you could help by guiding me?

    Too bad I could not recall what plugins I installed to create this mess..

    An FTP (file transfer protocol) program is just an easy way to transfer files to-and-from your computer and a server where your web site’s files reside.

    The server control panel (cPanel, Plesk, etc.) is a set of graphical programs that allow you to interact with your web server. The one you have will vary depending on who your web host is. If you can log in to your server control panel, that’s probably the easiest method for your skill level since you won’t have to worry about trying to connect to your server; that’s already done for you.

    Typically, in the welcome email from your web host that they sent you when you signed up for your hosting account, they will have given you the URL (web address) and login credentials for your server control panel and their support ticketing/billing system. If you don’t know how to access your server’s control panel, you’ll have to either refer to that email, look at your web host’s support pages on the web, or contact your web host.

    You can probably skip the step of looking at the error logs, but to follow the instructions in the Master Troubleshooting Guide, you may still need file access to your server, and you’ll eventually need to learn this, anyway, unless you have a friendly neighborhood computer geek to help you out.

    Thread Starter oinkyxp

    (@oinkyxp)

    Thanks linux4me2. I’ve logged into the cpanel and saw the error but do not know what they meant. Can help?
    Error as below:

    PHP error_log:

    [ Moderator note: Please use bacticks or the code button to post log data like this. ]

    /home2/xxxxx/public_html/wp-content/plugins/foliopress-wysiwyg/custom-config/error_log:
    [21-Dec-2012 18:40:55] PHP Warning:  call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'Array' was given in /home2/xxxxx/public_html/wp-includes/plugin.php on line 406
    [21-Dec-2012 18:41:08] PHP Warning:  call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'Array' was given in /home2/xxxxx/public_html/wp-includes/plugin.php on line 406
    
    /home2/xxxxx/public_html/wp-admin/error_log:
    [29-Dec-2012 19:32:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:32:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:32:32] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:32:32] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:33:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:33:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:34:05] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:34:05] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:35:23] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:35:23] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:35:52] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:35:52] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:36:12] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:36:12] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:36:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:36:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:36:26] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:36:26] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:38:46] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:38:47] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:38:50] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:38:50] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:38:55] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:38:55] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:39:11] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:39:11] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:39:13] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:39:13] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    [29-Dec-2012 19:39:28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    [29-Dec-2012 19:39:28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-includes/option.php on line 568
    
    /home2/xxxxx/public_html/error_log:
    [19-Dec-2012 15:54:55] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:54:58] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:55:00] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:55:02] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:55:05] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:55:09] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:55:16] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:55:25] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:55:29] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 32
    [19-Dec-2012 15:59:57] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 19
    [19-Dec-2012 15:59:59] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 19
    [19-Dec-2012 16:00:01] PHP Parse error:  syntax error, unexpected '<' in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 19
    [19-Dec-2012 17:20:24] PHP Parse error:  syntax error, unexpected $end in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/index.php on line 112
    [20-Dec-2012 05:38:23] PHP Warning:  Missing argument 1 for ta_post_rating(), called in /home2/xxxxx/public_html/wp-content/themes/newlaunchvista/single.php on line 28 and defined in /home2/xxxxx/public_html/wp-content/plugins/author-hreview/include/review_template.php on line 17
    [29-Dec-2012 10:37:28] PHP Fatal error:  Call to a member function find() on a non-object in /home2/xxxxx/public_html/wp-content/plugins/follow-nofollow-control/nofollow-control.php on line 124
    Thread Starter oinkyxp

    (@oinkyxp)

    MAIN error_log:
    [ Moderator note: Please use bacticks or the code button to post log data like this. ]

    [Sat Dec 29 19:48:57 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Dec 29 19:48:57 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Dec 29 19:49:00 2012] [error] [client 66.249.74.137] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 220-box874.bluehost.com ESMTP Exim 4.80 #2 Sat, 29 Dec 2012 19:49:01 -0700 , referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 220-We do not authorize the use of this system to transport unsolicited, , referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 220 and/or bulk e-mail., referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-box874.bluehost.com Hello localhost.localdomain [127.0.0.1], referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-SIZE 52428800, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-8BITMIME, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-PIPELINING, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-AUTH PLAIN LOGIN, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-STARTTLS, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250 HELP, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-box874.bluehost.com Hello localhost [127.0.0.1], referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-SIZE 52428800, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-8BITMIME, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-PIPELINING, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-AUTH PLAIN LOGIN, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250-STARTTLS, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250 HELP, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 250 OK, referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:01 2012] [error] [client 110.85.125.21] 550 No Such User Here", referer: https://www.bhsjacket.com/2012/athlete_profile_molly_ginsburg
    [Sat Dec 29 19:49:04 2012] [error] [client 70.236.44.219] File does not exist: /usr/local/apache/htdocs/forum
    Use of uninitialized value $1 in concatenation (.) or string at /usr/local/cpanel/cgi-sys/fourohfour.cgi line 31.
    Use of uninitialized value $domain in concatenation (.) or string at /usr/local/cpanel/cgi-sys/fourohfour.cgi line 36.
    Use of uninitialized value $domain in split at /usr/local/cpanel/cgi-sys/fourohfour.cgi line 40.
    [Sat Dec 29 19:49:06 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Dec 29 19:49:06 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Dec 29 19:49:09 2012] [error] [client 220.160.77.221] sendmail: No recipients found, aborting..., referer: https://www.totalbullshot.com/index.php?option=com_user&view=register
    [Sat Dec 29 19:49:11 2012] [error] [client 66.249.74.153] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sat Dec 29 19:49:11 2012] [error] [client 66.249.74.153] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sat Dec 29 19:49:13 2012] [error] [client 205.189.73.87] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://www.newmarketsonline.com/what-you-ought-to-know-about-multi-level-marketing/
    [Sat Dec 29 19:49:13 2012] [error] [client 205.189.73.87] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://www.newmarketsonline.com/what-you-ought-to-know-about-multi-level-marketing/
    Thread Starter oinkyxp

    (@oinkyxp)

    The above are all the errors in the log. Not sure why there is an error with easyseo since it is working well.

    There are links which I have not added in and not sure why they are in the log like Molly and newmarketsonline.

    Hope anyone kind enough to help as I don’t have a friendly neighbourhood geek who can help me.

    ps: Thanks moderator. Will remember to use code button for logs

    Let’s start with this error, which I believe is the one that’s causing you to have the blank pages:
    [29-Dec-2012 19:32:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php:200) in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 1241
    The “headers already sent” message usually means you have an error–usually a blank space or some other output–in the file mentioned first. PHP even tells you (sometimes) which line to look at. In this case, you need to look at the file /public_html/wp-content/plugins/easywpseo/onpageseo-admin-license.php on line 200. If you post the contents of that file (in code tags) I’ll take a look at it and see if I can see what’s wrong.

    The remainder are errors that should be corrected, but I would fix the one above first, and then see what’s left. The errors in your main error log also need to be attended to, but my approach in a case like this is to fix the script errors first as long as the site is functioning, and then take up the server configuration errors. The reason is that most web hosts will tend to blame you for any problems that crop up with the server if it’s obvious your scripts are not working cleanly without errors, and they may need to be involved in fixing/troubleshooting some of the server errors you’re getting.

    Thread Starter oinkyxp

    (@oinkyxp)

    <?php
    if (!function_exists ('is_admin'))
    {
            header('Status: 403 Forbidden');
            header('HTTP/1.1 403 Forbidden');
            exit();
    }
    elseif (!class_exists('OnPageSEOLicense'))
    {
            class OnPageSEOLicense
            {
                    /**
                     * Instance Variables
                     */
                    var $licenseURL = 'https://www.easywpseo.com/license/';
                    var $checkTime = 43200; // seconds
                    var $licenseOptionName;
                    var $licenseError = 0;
                    var $license = array();
                    var $options;
                    /**
                     * PHP 4 constructor (for backwards compatibility)
                     *
                     * @param       void
                     * @return      bool    true
                     */
                    function OnPageSEOLicense(&$options)
                    {
                            $this->__construct(&$options);
                            return;
                    }
                    /**
                     * PHP 5 constructor
                     *
                     * @param       void
                     * @return      void
                     */
                    function __construct(&$options)
                    {
                            // Plugin Options
                            $this->options = &$options;
                            // Set License Option Name
                            $this->licenseOptionName = OPSEO_PREFIX.'_license_check';
                            // Validate License Email & Serial Number
                            if($this->validateEmailSerial())
                            {
                                    // Check License
                                    $this->lastLicenseCheck();
                            }
                    }
                    /**
                     * Make sure user has entered license email and serial number
                     *
                     * @param       void
                     * @return      bool
                     */
                    function validateEmailSerial()
                    {
                            if((!isset($this->options['license_email']) || (strlen(trim($this->options['license_email'])) == 0)) || (!isset($this->options['license_serial']) || (strlen(trim($this->options['license_serial'])) == 0)))
                            {
                                    // No Email and/or Serial Number
                                    $this->licenseError = 1;
                                    return false;
                            }
                            else { return true; }
                    }
                    function lastLicenseCheck()
                    {
                            // Get Options
                            $this->getOptions();
                            // Last Update Check
                            if( strtotime(date('Y-m-d H:i:s')) > (strtotime($this->license['last_checked']) + $this->checkTime) )
                            {
                                    $this->getLicenseInfo();
                                    // Update If No Errors
                                    if(!$this->licenseError) { update_option($this->licenseOptionName, $this->license); }
                            }
                    }
                    function getOptions()
                    {
                            // Last Update Check
                            $this->license = get_option($this->licenseOptionName);
                            // If User Changed License
                            $this->licenseChanged();
                            if(!$this->license)
                            {
                                    // Get License Information
                                    $this->getLicenseInfo();
                                    if(!$this->licenseError)
                                    {
                                            // Create New Option
                                            $this->license = array('last_checked'=>date('Y-m-d H:i:s'), 'license_type'=>$this->license['license_type'], 'trial_expiration'=>$this->license['trial_expiration'], 'registered'=>$this->license['registered'], 'status'=>$this->license['status'], 'upgrade_url'=>$this->license['upgrade_url'], 'upgrade_message'=>stripslashes($this->license['upgrade_message']));
                                            add_option($this->licenseOptionName, $this->license);
                                    }
                            }
                    }
                    function getLicenseInfo()
                    {
                            // Request License Info From External URL
                                    $this->license['license_type'] = "developer";
                                    return('license');
                            // Check If Trial License Has Expired
                            // NO Need :P
                            // Nulled By Kuasha420 @ blackhatteam.com :D
                    }
    
                    function getLicenseName()
                    {
                            switch($this->license['license_type'])
                            {
                                    case 'free':
                                            return('Free');
                                            break;
                                    case 'trial':
                                            return('Expiring Trial');
                                            break;
                                    case 'single':
                                            return('Single Site');
                                            break;
                                    case 'multi':
                                            return('Multi Site');
                                            break;
                                    case 'developer':
                                            return('Developer');
                                            break;
                                    case 'expired':
                                            return('Expired Trial');
                                            break;
                                    default:
                                            return('');
                                            break;
                            }
                    }
                    function getLicenseUsage()
                    {
                            switch($this->license['license_type'])
                            {
                                    case 'free':
                                            return('You can use this on an unlimited number of sites that you own and also on your client\'s sites.');
                                            break;
                                    case 'trial':
                                            return('Your license will expire '.$this->trialPeriodLeft().'.');
                                            break;
                                    case 'single':
                                            return('You can use the plugin on one site.');
                                            break;
                                    case 'multi':
                                            return('You can use the plugin on an unlimited number of sites that you own. (You cannot install the plugin on sites you do not personally own.)');
                                            break;
                                    case 'developer':
                                            return('You can use the plugin on an unlimited number of sites that you own and also on your clients\' sites.');
                                            break;
                                    case 'expired':
                                            return('Your trial has expired and you must upgrade to continue using the plugin.');
                                            break;
                                    default:
                                            return('');
                                            break;
                            }
                    }
                    function trialPeriodLeft()
                    {
                            $secondsLeft = strtotime($this->license['trial_expiration']) - strtotime(date('Y-m-d H:i:s'));
                            $timeLeft = (int)($secondsLeft / 86400);
                            if($timeLeft > 1) { return('in'.$timeLeft.' days'); }
                            elseif($timeLeft == 1) { return('in'.$timeLeft.' day'); }
                            else { return('today'); }
                    }
                    function licenseChanged()
                    {
                            if( isset($this->options['old_license_email']) && (strlen(trim($this->options['old_license_email'])) > 0) && isset($this->options['old_license_serial']) && (strlen(trim($this->options['old_license_serial'])) > 0) && (($this->options['license_email'] != $this->options['old_license_email']) || ($this->options['license_serial'] != $this->options['old_license_serial'])) )
                            {
                                    if(sizeof($this->license) > 0) { delete_option($this->licenseOptionName); $this->license = array(); }
                            }
                    }
                    function isLicenseError()
                    {
                            return($this->licenseError);
                    }
                    function getUpgradeURL()
                    {
                            return($this->license['upgrade_url'].'?email='.$this->options['license_email'].'&serial='.$this->options['license_serial']);
                    }
                    function getLicenseURL()
                    {
                            return($this->licenseURL.'?email='.$this->options['license_email'].'&serial='.$this->options['license_serial']);
                    }
                    function getLicenseType()
                    {
                            return($this->license['license_type']);
                    }
                    function getUpgradeMessage()
                    {
                            return(stripslashes($this->license['upgrade_message']));
                    }
            }
    }
    ?>
    Thread Starter oinkyxp

    (@oinkyxp)

    Hope I got this correct by accessing the bluehost ftp and opening the php file using notepad.
    Not sure which one is line 200..

    There are only 198 lines in the code you posted, and there is a closing PHP tag, which means there is probably a blank line at the bottom of the file.

    Open the file in Notepad and hit the key combination Ctrl + End to move the cursor to the very end of the file. If it doesn’t move to exactly right after the closing “?>” then you have an extra space in there. Use the backspace key so that the cursor is right after the “>” with no intervening spaces, then save the file. Upload it to your server overwriting the old version (you can rename the old version to something like “/wp-content/plugins/easywpseo/onpageseo-admin-license-original.php” to keep it as a backup if you like, just remember to delete it when you’re done).

    If there is no extra space at the end of the file, I would try deactivating the Easy WP SEO plugin and re-test to see if you still get the blank page.

    Now re-test and see if you still get the blank screen. If you do, take a look at the PHP error log and show me a copy of the error(s) you got.

    Thread Starter oinkyxp

    (@oinkyxp)

    THanks once again linux4me2! And a Happy 2013 to you!!!

    It worked after I backspaced twice.

    Should we still attend to the other php errors and main errors? I’m rather concern as to why there are external links showing in the main error log..

    Thank you. Same to you. I’m glad you got it working. I have to wonder how those spaces snuck into that plugin, but at least it’s fixed for you.

    Yes, I would click around on the site a bit and then take another look at the PHP error log to see what errors you can get now. Post what you have. We should take care of the PHP errors first.

    Thread Starter oinkyxp

    (@oinkyxp)

    Seems like its working good now. No new php error log for today but there are some for yesterday on the 31 Dec 2012.

    I’ll just post what is new. If there are not errors dated today but only those dated earlier does that mean I don’t have anything else to worry about?

    PHP error_log:
    [31-Dec-2012 18:08:30] PHP Warning:  require_once(onpageseo-admin-license.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:08:30] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'onpageseo-admin-license.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:08:38] PHP Warning:  require_once(onpageseo-admin-license.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:08:38] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'onpageseo-admin-license.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:08:42] PHP Warning:  require_once(onpageseo-admin-license.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:08:42] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'onpageseo-admin-license.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:09:30] PHP Warning:  require_once(onpageseo-admin-license.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:09:30] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'onpageseo-admin-license.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:09:38] PHP Warning:  require_once(onpageseo-admin-license.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    [31-Dec-2012 18:09:38] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'onpageseo-admin-license.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/xxxxx/public_html/wp-content/plugins/easywpseo/onpageseo-admin.php on line 179
    MAIN error_log:
     [Tue Jan 01 05:28:39 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:28:40 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/archives
    [Tue Jan 01 05:28:40 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:28:42 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:28:43 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Tue Jan 01 05:28:43 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Tue Jan 01 05:28:47 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:28:48 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:28:49 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:28:54 2013] [error] [client 221.235.191.123] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://www.lonely-soda.com/new-york-home-insurance-tips-to-bring-down-costs/#comment-136168+Result:+chosen+nickname+%22ymnwyagknhgx%22;+success+%28from+first+page%29;
    [Tue Jan 01 05:29:07 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:29:07 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:29:07 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:29:12 2013] [error] [client 66.249.74.137] File does not exist: /usr/local/apache/htdocs/class-b-competitions-10-11-draw
    Use of uninitialized value $1 in concatenation (.) or string at /usr/local/cpanel/cgi-sys/fourohfour.cgi line 31.
    [Tue Jan 01 05:29:12 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:29:15 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Tue Jan 01 05:29:15 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php

    You’ll only get PHP errors if you happen to use whatever php script is generating them unless it’s a script that always runs, so sometimes you have to put WordPress through its paces to find them. It looks like that Easy WP SEO is still causing some PHP errors. I think I would deactivate and delete it. That should resolve that PHP error.

    You can watch the PHP error logs over the next several days and see if there is anything else causing issues.

    As for your main error log, I would take a look at it again after removing Easy WP SEO, but I think you’re still going to get:
    File does not exist: /usr/local/apache/htdocs/index.php
    That file resides outside your account if you are on a shared server, and the error would need to be addressed by your web host. The odd thing is that the IP 66.249.74.213 maps to a Google server. I’m not sure how they would be trying to access that file.

    The:
    RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    may be because you have an “[NC]” after an “-f” line in your .htaccess like this:
    RewriteCond %{REQUEST_FILENAME} !-f [NC]
    or some other line in your .htaccess that uses the “-f” and ends with “[NC].” Your .htaccess should be in your /public_html folder. If it’s not already set to do so, you’ll need to allow your cPanel File Manager to display hidden files in order to see your .htaccess. That “.” at the beginning of a file denotes a hidden file.

    That “Request exceeded the limit…” error also suggests that there may be a problem in your .htaccess file with a redirect. That’s one you’ll probably need to take up with your web host if you keep seeing it. The logs they have access to will help narrow down the cause if you have a lot of redirects in there.

    I hesitate to suggest you post your .htaccess here because there may be some things in it that you wouldn’t want to be public.

    Thread Starter oinkyxp

    (@oinkyxp)

    I’m not sure if the seo plugin is still causing any error but it seems like there are no new php errors according to the date. Guess I’ll just leave the plugin alone for now.

    As for Main Error Logs:

    MAIN error_log:
     [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:03 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:04 2013] [warn] [client 121.205.242.80] (70007)The timeout specified has expired: mod_fcgid: can't get data from http client, referer: https://alfordplace.com/phpBB/posting.php?mode=newtopic&f=1&sid=c95bb8733fd036c19f27b72657db6d33
    [Sat Jan 05 10:49:04 2013] [error] [client 59.106.108.116] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sat Jan 05 10:49:04 2013] [error] [client 60.173.11.209] 451-SPEED LIMIT: Account has exceeded the max emails per hour allowed, referer: https://alkader.net/vb/index.php
    [Sat Jan 05 10:49:04 2013] [error] [client 60.173.11.209] 451 (check_connect), referer: https://alkader.net/vb/index.php
    [Sat Jan 05 10:49:04 2013] [error] [client 66.249.74.89] File does not exist: /usr/local/apache/htdocs/home3
    [Sat Jan 05 10:49:04 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:05 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:06 2013] [error] [client 66.249.74.213] File does not exist: /usr/local/apache/htdocs/index.php
    [Sat Jan 05 10:49:06 2013] [error] [client 173.199.115.155] 451-SPEED LIMIT: Account has exceeded the max emails per hour allowed
    [Sat Jan 05 10:49:06 2013] [error] [client 173.199.115.155] 451 (check_connect)
    [Sat Jan 05 10:49:06 2013] [error] [client 173.199.115.155] 451-SPEED LIMIT: Account has exceeded the max emails per hour allowed
    [Sat Jan 05 10:49:06 2013] [error] [client 173.199.115.155] 451 (check_connect)
    [Sat Jan 05 10:49:07 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:07 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:08 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
    [Sat Jan 05 10:49:12 2013] [error] [client 66.249.74.239] 451-SPEED LIMIT: Account has exceeded the max emails per hour allowed
    [Sat Jan 05 10:49:12 2013] [error] [client 66.249.74.239] 451 (check_connect)
    [Sat Jan 05 10:49:15 2013] [error] [client 173.199.115.155] 451-SPEED LIMIT: Account has exceeded the max emails per hour allowed
    [Sat Jan 05 10:49:15 2013] [error] [client 173.199.115.155] 451 (check_connect)
    [Sat Jan 05 10:49:19 2013] [error] [client 173.199.115.155] 451-SPEED LIMIT: Account has exceeded the max emails per hour allowed
    [Sat Jan 05 10:49:19 2013] [error] [client 173.199.115.155] 451 (check_connect)

    Content of htaccess seems harmless enough so pls find them below:

    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Redirect to blank page after update, preview or save plugin setting’ is closed to new replies.