Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8836869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:35:26+00:00 2026-06-14T09:35:26+00:00

I have tested my login script on my localhost with no problems. I have

  • 0

I have tested my login script on my localhost with no problems.

I have now uploaded it online as can be seen at this link

Obviously if you click, you can see that a blank page is displayed and I have no idea why.

I did a test of a little bit of content, and removed the Facebook SDK code.

        //Facebook config (required for library)
    $fb_config = array(
            'appId'  => 'REMOVED',
            'secret' => 'REMOVED'
            );

    //Load Facebook library
    $this->load->library('facebook', $fb_config);

    //SET FACEBOOK USER 
    $fbuser = array();
    $fbuser = $this->facebook->getUser();

When the above code is not present, the page loads.

I have updated my app setting correctly, namely changing the site URL fro http://localhost to http://gua.com so i dont believe it is that.

I have even changed my CI settings to show all errors – nothing is shown.

Does anyone have any suggestions as to why the above code might be making a blank page load ONLY when it is hosted online?

Many Thanks
THomas

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T09:35:27+00:00Added an answer on June 14, 2026 at 9:35 am

    Open up the base_facebook.php and try removing either of these two lines from the top.

        if (!function_exists('curl_init')) {
          throw new Exception('Facebook needs the CURL PHP extension.');
        }
        if (!function_exists('json_decode')) {
          throw new Exception('Facebook needs the JSON PHP extension.');
        }
    

    If you stop getting the white screen, it should indicate that your sever needs either curl or json_decode enabled.

    Alternatively you could just do a echo phpinfo() and check if they are enabled. Note that json_decode/encode is only available in php >=5.2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tested the below script on a demo page which is not using
I have tested this servlet and it works well, except in Google Chrome it
My MySQL database can store the euro symbol just fine (as I have tested
Following is the Java Script code i have. //URL = http://dev.stage.com/restapi/vc/auth/sessions/login/ //parametersURL = user.login=******&user.password=******
I have been trying to create a login script to check my bing rewards
I have a login script and I log users that fail excessively. In my
I have some problem with the injecting of my cookie into login.php page. This
I have a python daemon process that gets started via rc.local. This same script,
I have tested out hundreds of different codes, either they work and screw something
i have tested standardanalyzer with indexWriter and found that it automatically removes stopwords, however,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.