osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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: ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-25-2003, 05:51 PM
New Member
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
proton318
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:

Quote:
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):

Quote:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 09-25-2003, 07:46 PM
Anonymous
Guest
 
Posts: n/a
Default

Go to /catalog/admin/includes/functions/sessions.php and after the last > put your cursor there and hit delete and then save
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-26-2003, 04:56 AM
New Member
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
proton318
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-26-2003, 05:22 AM
Anonymous
Guest
 
Posts: n/a
Default

Then you must still have a white space...possibly the front of the file. That is what causes the headers error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 09-26-2003, 05:43 AM
New Member
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
proton318
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
File Type: txt sessions.txt (3.7 KB, 5 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 09-26-2003, 08:13 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,527
Thanks: 76
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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

Quote:
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 09-27-2003, 04:58 AM
DMG DMG is offline
New Member
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DMG
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

Quote:
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.
Quote:
Hi Mark

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

Pablo Pasqualino
Mar del Plata, Argentina
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 09-29-2003, 09:39 AM
New Member
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
proton318
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 09-29-2003, 04:52 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,527
Thanks: 76
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 01:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax