Zen Cart Logo
Forums / General Questions / Cannot Add or Delete Catorgories

Cannot Add or Delete Catorgories

Locked

Views: 813

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
31 Jul 2009, 5:42 AM
#1
presley32 avatar

presley32

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Cannot Add or Delete Catorgories

Hi I am having a small problem with my site https://www.soapncandles.co.uk I am finding that since I installed the security patch I cannot Add or Delete Catorgories from my site.

Is anyone else having this problem or have I done something wrong.

There is no problem with my other site https://www.handmadesoapncandles.co.uk which makes me think that it is not the security patch thats causing the problem.

If you have any ideas I will be grateful
Regards Andrew

31 Jul 2009, 8:25 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Cannot Add or Delete Catorgories

I've heard this reported elsewhere. Often with that same comment that other sites seem to be working fine.

What version of Zen Cart are you using? What add-on mods do you have installed?

31 Jul 2009, 8:38 AM
#3
presley32 avatar

presley32

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: Cannot Add or Delete Catorgories

Hi Kuroi,
Thanks for the reply I am using 1.38 and as far as I know I only have Easy Populate and new templates.

I have exactly the same added as I have with my other site and that site is working as it should.

31 Jul 2009, 9:29 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Cannot Add or Delete Catorgories

What about your category structure? Have you mixed products and subcategories in the same category?

31 Jul 2009, 9:40 AM
#5
presley32 avatar

presley32

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: Cannot Add or Delete Catorgories

No there are no mixed catorgories that was the first thing I checked, Just cannot work it out.

When I do press the delete catorgories it just goes straight back to Admin Home

31 Jul 2009, 9:56 AM
#6
presley32 avatar

presley32

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: Cannot Add or Delete Catorgories

I have just worked out what was wrong and have sorted it.

It was somthing to do with this section

To amend the <YOUR ADMIN DIRECTORY>/includes/functions/html_output.php by hand is fairly straightforward.

However before attempting to edit this file, please make sure you have a secure backup of the original version.
Open the file in an editor and find the function "zen_draw_form"

The last line of this function is

return $form;
Just before that line add another line as below

$form .= '<input type="hidden" name="securityToken" value="' . $_SESSION['securityToken'] . '" />';
You can then save the file.

I changed it as it says here and that is what caused the problem as I have just overwritten the whole PHP in functions and it is now working as it should.
I do hope this helps others and thanks for your help Kuroi