Doesn't take first product (add basket)

Marik

No avatar

2006-11-03 22:10

If i want order a product i get the following error:

Notice: A session had already been started - ignoring session_start() in /var/www/html/plugins/usersDiscounts/actions_client.php on line 3

Notice: A session had already been started - ignoring session_start() in /var/www/html/actions_client/orders.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/plugins/usersDiscounts/actions_client.php:3) in /var/www/html/actions_client/orders.php on line 27


And if i go back and take a look at my basket the product is in the basket
will i add more product he will work normally

what can be the problem?

treewood (OpenSolution)

Avatar: treewood

2006-11-03 23:39

Marik - hmm... edit actions_client/orders.php and change this:

if( !isset( $_SESSION['iCustomer'] ) )
  
session_start( );

to this:

/*if( !isset( $_SESSION['iCustomer'] ) )
  session_start( );*/

Marik

No avatar

2006-11-04 00:52

what does it do?


but i still get:
Notice: A session had already been started - ignoring session_start() in /var/www/html/plugins/usersDiscounts/actions_client.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/plugins/usersDiscounts/actions_client.php:3) in /var/www/html/actions_client/orders.php on line 27

treewood (OpenSolution)

Avatar: treewood

2006-11-04 01:10

Marik - i need to see Your PHP code. send on our email info to FTP account and we will fix it. more time will take to write on this forum and we dont have this time.

Marik

No avatar

2006-11-07 09:10

It's on my local server
You can't log in to that

I don't change anything on userDiscounts
How it's posible?

Marik

No avatar

2006-11-07 09:21

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/plugins/usersDiscounts/actions_client.php:3) in /var/www/html/actions_client/orders.php on line 27


On line 27 stands:
header( 'Location: '.$_SERVER['PHP_SELF'].'?p=ordersBasket' );


He doesn't redirect?

Back to top
about us | contact