Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hey,

 

I've mixed the contibutions 'separate_price_per_customers_4.2.2' and 'products_aec_with_attributes V0.31'

After eding (or without edit anything) a product.

I recieve this at site: ../admin/categories.php?cPath=21&pID=28&action=new_product_preview

 

Warning: stripslashes() expects parameter 1 to be string, array given in ..\admin\categories.php on line 937

 

Here is the code

933        while (list($key, $value) = each($HTTP_POST_VARS)) {
934  // BOF Separate Pricing per Customer
935          if (is_array($value)) {
936            while (list($k, $v) = each($value)) {
937            echo tep_draw_hidden_field($key . '[' . $k . ']', htmlspecialchars(stripslashes($v)));
938            }
939          } else {
940  // EOF Separate Pricing per Customer
941             echo tep_draw_hidden_field($key, htmlspecialchars(stripslashes($value)));

 

Has anyone else had this problem, if so please let me know what I need to change.

 

thanks

Posted

Mike,

 

 

There is a support thread for SPPC that is maintained by Jan Zonjee. He knows SPPC inside and out, you should post there.

 

 

 

 

 

Chris

Posted

Hey Chris,

 

I think the problem is the mix.

First I installed SSPC - everything is fine.

After the installing 'products_aec_with_attributes V0.31' I recieved the error-message.

But thanks - I will post it there

Mike

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...