osCmax v2.5 User Manual
Results 1 to 9 of 9

PayPal IPN Error

This is a discussion on PayPal IPN Error within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I'm back for more. In the admin section when I try to view transactions under PayPal IPN, this error appears: ...

      
  1. #1
    New Member
    Join Date
    Sep 2003
    Posts
    25
    Rep Power
    0


    Default PayPal IPN Error

    I'm back for more.

    In the admin section when I try to view transactions under PayPal IPN, this error appears:

    Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php on line 67

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php:67) in /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php on line 67

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php:67) in /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/general.php on line 86

    Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
    When I try to run a test transaction, this error appears (it's actually the same error):

    Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php on line 67

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php:67) in /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php on line 67

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php:67) in /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/general.php on line 86

    Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
    What have I done wrong now?
    -Steve

  2. #2
    Anonymous
    Guest


    Default

    Go to /catalog/admin/includes/functions/sessions.php and after the last > put your cursor there and hit delete and then save

  3. #3
    New Member
    Join Date
    Sep 2003
    Posts
    25
    Rep Power
    0


    Default

    Okay, I did as instructed. I went to catalog/admin/includes/functions/sessions.php and at the very last line in the file (line 142) I removed all empty spaces after the last ">" -- hit save and uploaded the file ... I am still getting the same series of errors.

    Any other ideas?

    -Steve

  4. #4
    Anonymous
    Guest


    Default

    Then you must still have a white space...possibly the front of the file. That is what causes the headers error

  5. #5
    New Member
    Join Date
    Sep 2003
    Posts
    25
    Rep Power
    0


    Default

    I have checked for white space again ... both at the begining of the file and the end ... nothing is there, but I am still getting the errors. I have attached a copy of the session.php file (to save space posting the entire 142 line script). Because of file restrictions, I had to post it in plain txt format instead of php format, but it should be exactly the same. Maybe someone can see something I am missing.

    Again, thanks in advance!
    -Steve
    Attached Files Attached Files

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    I think the real problem is the first part of the error:

    Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /usr/home/grapefish/www.grapefish.com/www/catalog/admin/includes/functions/sessions.php on line 67
    You are having session problems. Try changing your session settings in the admin. Try 'force cookiies' to 'true' Also, check to make sure your PHP is set up to use sessions correctly. Check with your host.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    DMG
    DMG is offline
    New Member
    Join Date
    Aug 2003
    Posts
    15
    Rep Power
    0


    Default

    I have shared SSL and can not get transactions or testing to work either. But it does work on my site with no SSL. I get a different error message

    1062 - Duplicate entry '4627ada9975fbdfe943dca0e07f6a9d6' for key 1

    insert into sessions values ('4627ada9975fbdfe943dca0e07f6a9d6?action=view', '1063744908', 'language|s:7:\"english\";languages_id|s:1:\"1\";s elected_box|s:13:\"configuration\";')

    [TEP STOP]
    I emailed the author of the cntrib and he replied.
    Hi Mark

    Thats an error with session on some servers with shared ssl
    Will be fixed soon

    Pablo Pasqualino
    Mar del Plata, Argentina

  8. #8
    New Member
    Join Date
    Sep 2003
    Posts
    25
    Rep Power
    0


    Default

    Still having problems with the PayPal IPN. Could this be a bug?

    My sessions are set as the following:
    Force Cookie Use = True
    Check SSL Session ID = False
    Check User Agent = False
    Check IP Address = False
    Prevent Spider Sessions = True
    Recreate Sessioons = True

    My PHP Version is 4.3.2

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    I cannot duplicate it. Paypal IPN works fine on my servers, so if it is a bug it is specific to your setup.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. PHP error upon return from PayPal
    By brendanl79 in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 09-15-2006, 10:50 AM
  2. Paypal slight error
    By daffodil in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 07-28-2006, 12:49 AM
  3. Paypal Error!!
    By zododo in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 02-23-2006, 08:54 PM
  4. PayPal Error
    By leafy1too in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 11-30-2004, 03:39 PM
  5. PayPal IPN error
    By DMG in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-15-2003, 01:04 PM

Bookmarks

Posting Permissions

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