Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Iridium Module - Blank Page - Debug Error

    This is the full code for that section:

    Code:
    		$confirmation['fields'][] = array(
    				'title' => MODULE_PAYMENT_IRIDIUM_TEXT_CARD_NUMBER,
    				'field' => substr($this->card_number, 0, 4) .
    					str_repeat('X', (strlen($this->card_number) - 8)) .
    					substr($this->card_number, -4)
    			);

  2. #2
    Join Date
    May 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Iridium Module - Blank Page - Debug Error

    Oops, seems to be one more:

    Code:
    PHP Warning:  str_repeat() [<a href='function.str-repeat'>function.str-repeat</a>]: Second argument has to be greater than or equal to 0 in /home/sites/mysite.com/public_html/includes/modules/payment/iridium.php on line 1322
    Different line but exactly the same code from line 1213 ..

    This is the full code for this part:

    Code:
    // Store the card details for this order
    			// Hide middle digits for the card number
    			$order->info['cc_number'] = substr($_POST['card_number'], 0, 4) .
    				str_repeat('X', (strlen($_POST['card_number']) - 8)) .
    				substr($_POST['card_number'], -4);

  3. #3
    Join Date
    May 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Iridium Module - Blank Page - Debug Error

    No-one? Surely someone has had this problem?

    Please help!

 

 

Similar Threads

  1. Front page blank - Debug information says Query select error.
    By gtgderek in forum General Questions
    Replies: 4
    Last Post: 27 Apr 2011, 08:15 AM
  2. PHP Error - Blank Page w/ log files from debug utility.
    By jester8131 in forum General Questions
    Replies: 2
    Last Post: 5 Feb 2010, 05:35 AM
  3. Blank Page Error - Debug Result. Help?
    By avastyebucs in forum General Questions
    Replies: 4
    Last Post: 27 Aug 2009, 08:43 PM
  4. Getting a blank page, debug error-logging not working
    By credenscel in forum General Questions
    Replies: 7
    Last Post: 26 Jul 2009, 07:32 PM
  5. Please see my debug error - blank page
    By paigesjewelry in forum General Questions
    Replies: 1
    Last Post: 4 Jan 2009, 02:32 AM

Posting Permissions

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