Forums / General Questions / Can't add manufacturer since security patch

Can't add manufacturer since security patch

Locked

Views: 1,900

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Jun 2009, 9:30 PM
#1
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Can't add manufacturer since security patch

I added the new security patch a couple of days ago.

Today I had to add a manufacturer.

The add failed and returned me to the admin page, even when this was not where I started. This was using the stock insert manufacturer page from the cart.

Any suggestions?

Oh yeah - v 1.38

24 Jun 2009, 10:02 PM
#2
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,927
Plugin Contributions:
3

Re: Can't add manufacturer since security patch

The patch should work fine with the Manufacturers insert.

Can you confirm that you can add some other information. e.g a new category or a new product.

24 Jun 2009, 10:41 PM
#3
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Can't add manufacturer since security patch

wilt:

The patch should work fine with the Manufacturers insert.

Can you confirm that you can add some other information. e.g a new category or a new product.

I've been adding new products all morning. I just came across one that I needed to create a manufacturer for. The products go in fine, the manufacturer doesn't.

24 Jun 2009, 10:48 PM
#4
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,927
Plugin Contributions:
3

Re: Can't add manufacturer since security patch

k,

can you successfully edit a manufacturer.

also can you look at your admin/manufacturers.php file.

at around line 230, you should see.

    case 'new':
      $heading[] = array('text' => '<b>' . TEXT_HEADING_NEW_MANUFACTURER . '</b>');

      $contents = array('form' => zen_draw_form('manufacturers', FILENAME_MANUFACTURERS, 'action=insert', 'post', 'enctype="multipart/form-data"'));

specifically, you need to check that the line that starts with $contents =
matches the above.

24 Jun 2009, 11:12 PM
#5
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Can't add manufacturer since security patch

Thanks -

I figured it out -

When I added the patch files the new version of html_output.php didn't copy over.

Once I edited that file with the new line, all is working in manufacturers again.

Thanks for your time!

5 Jul 2009, 1:24 AM
#6
spirittina avatar

spirittina

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

Re: Can't add manufacturer since security patch

@ chain_man can u tell me what ya did i am havin the same prob:shocking: