category problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vB-Tr
    Senior Member
    • Apr 2010
    • 157
    • 4.0.0

    category problem



    Warning: Invalid argument supplied for foreach() in /home/xxxx/facebookapp/forums.php on line 28


    please help me.

    - - - Updated - - -

    please help me.
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    Can you try this:

    Comment out the following lines in vb_api_client.php:

    $this->vurl->set_option(VURL_FOLLOWLOCATION, true);
    $this->vurl->set_option(VURL_MAXREDIRS, 1);

    Then retry your app.

    Does this resolve the problem?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • vB-Tr
      Senior Member
      • Apr 2010
      • 157
      • 4.0.0

      #3
      Originally posted by Trevor Hannant
      Can you try this:

      Comment out the following lines in vb_api_client.php:

      $this->vurl->set_option(VURL_FOLLOWLOCATION, true);
      $this->vurl->set_option(VURL_MAXREDIRS, 1);

      Then retry your app.

      Does this resolve the problem?

      $this->vurl->set_option(VURL_RETURNTRANSFER, true);
      $this->vurl->set_option(VURL_VALIDSSLONLY, false);
      $this->vurl->set_option(VURL_FOLLOWLOCATION, true);
      $this->vurl->set_option(VURL_MAXREDIRS, 1);
      $this->site = $site;
      $this->apikey = $apikey;

      it's true ?

      - - - Updated - - -

      $this->vurl->set_option(VURL_FOLLOWLOCATION, true);
      $this->vurl->set_option(VURL_MAXREDIRS, 1);

      change

      // $this->vurl->set_option(VURL_FOLLOWLOCATION, true);
      // $this->vurl->set_option(VURL_MAXREDIRS, 1);

      and problem is solved.

      Comment

      Related Topics

      Collapse

      Working...