Results 1 to 5 of 5

Thread: Facebook blank page

Hybrid View

  1. #1

    Facebook blank page

    I have delete the facebook plugin now facebook works fine but it load blank pages, does anybody have solution, working this up. I really need facebook to work properly. Anyone can suggest solution !

  2. #2
    I have two files in my plugins folder, you might need both too. One makes it use the mobile version and I have no idea what the other does but it can't hurt to have it.

    The first is (copy code and save as... then upload):
    * Plugin: Facebook
    * Description:
    * Changes the user-agent so Facebook sends us the mobile version.
    function preRequest() {
       global $toSet;
       $toSet[CURLOPT_USERAGENT] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.1)';
    and the second is (ditto):
    * Plugin: Facebook
    * Description:
    *  (1) Disables the "Queue transfers" option for external stylesheets
    *      and javascript on Facebook, allowing a faster pageload time.
    *      Lag is especially noticeable on Facebook due to the huge number
    *      of external resources required. Anything to reduce the lag is useful!
    *  (2) Fixes an AJAX problem avoiding the "Network Error #1001" message
    *  (3) Fixes a major navigation issue when Facebook attempts to change the URL
    *      on-the-fly.
    $CONFIG['queue_transfers'] = false;
     * Pre-parser for changes before the main proxy parser.
     * @param string $input
     * @param string $type can be "javascript", "css" or "html"
     * @return string
    function preParse($input, $type) {
       // What type of document do we have?
       switch ( $type ) {
          case 'javascript':
             global $URL;
             // Apply changes to the main javascript file
             if ( strpos($URL['filename'], '84ccno2p1zc44848.pkg.js') !== false ) {
                // Target:  _interpretTransportResponse for parsing the AJAX reply
                // Problem: uses eval() to interpret response but our eval() wrapper
                //          creates a scoping issue, resulting in no response getting back
                // Change:  use the return value instead of setting a value within the eval()
                // Line:    801
                #$input = str_replace("eval('response = ('+safeResponse+')')","response = eval('('+safeResponse+')')", $input);
                // Target: unknown
                // Problem: as above but another fix is required somewhere.
                // To do: find out where and do a more specific change.
                $input = str_replace("eval", 'base_eval', $input);
                // Target:  _filter() function for determining if Facebook should mess with the URL
                //          defaults to true after checking for various special cases
                // Problem: unknown, just that it tries to take us to the wrong URL and hangs
                // Change:  always return false
                // Line:    613
               # $input = str_replace('return true;},getProtocol:f', 'return false;},getProtocol:f', $input);
       return $input;
    Give those a try, hope it helps
    If I can't be a good example, I'll just have to be a terrible warning...

  3. I'm also offering one in exchange for linkbacks (see here). Auto Approval Proxy List Free Text File Hosting

  4. #4
    @UncleP Thank you, you always been very very helpful. Keep it up and i just installed the version you suggested, working great.

    @Codename Thank you so much, but the script you have, has got loads of bugs so its not fully functional, i would rather keep my visitor stucked with mobile version.

  5. Alright. I'll keep working on the script. Hopefully I'll be able to eke more functionality out of it

    If anyone who knows anything about AJAX wants to help me, I'm open to offers. Auto Approval Proxy List Free Text File Hosting

Similar Threads

  1. Admin side of phpld directory is blank page
    By iowadawg in forum Directories
    Replies: 4
    Last Post: 31 December, 2010, 06:49 AM
  2. [WTS] Small Facebook Page!
    By EvanP in forum Marketplace
    Replies: 10
    Last Post: 3 August, 2010, 16:33 PM
  3. Replies: 4
    Last Post: 26 April, 2010, 10:02 AM
  4. facebook login blank on glype
    By neverlast in forum Web Proxies
    Replies: 1
    Last Post: 25 October, 2009, 02:47 AM
  5. How to put ads on a facebook fan page?
    By hendricius in forum Monetizing
    Replies: 12
    Last Post: 17 August, 2009, 14:10 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts