Forums / General Questions / I can not edit the products

I can not edit the products

Results 1 to 10 of 10
05 Nov 2010, 05:01
#1
answer185 avatar

answer185

New Zenner

Join Date:
Nov 2010
Posts:
7
Plugin Contributions:
0

I can not edit the products

when i edit a product , such as Products Name and Products Description are all empty,

but the Products Price (Net) will display.

why this happen? how to solve it ,anyone can tell me ?

I use 1.3.9h
06 Nov 2010, 00:39
#3
answer185 avatar

answer185

New Zenner

Join Date:
Nov 2010
Posts:
7
Plugin Contributions:
0

Re: I can not edit the products

yes ,i am use a old version,thanks :smile:
01 Dec 2010, 17:23
#4
mightylemo avatar

mightylemo

New Zenner

Join Date:
Dec 2010
Posts:
3
Plugin Contributions:
0

Re: I can not edit the products

I am a new ZenCart user and this is my first post so here goes...

I am currently experiencing this problem where I can create new products just fine but when I go to edit them, all the fields mentioned above are empty. I know my server is only running PHP 5.0:cry: and I followed the steps above and I am still getting empty fields when I edit a product. I double checked my file edits and I don't see any mistakes.

I have the latest version of ZenCart v 1.3.9h. Is there an older version of ZenCart that I would need to run on PHP v. 5.0?

Is there a site cache that needs to be emptied or something for the fixes to be take effect?

Fortunately the site is still new and if I had to start from scratch it won't be the end of the world.

Thanks!
01 Dec 2010, 17:37
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: I can not edit the products

The changes I posted above are all that's required to fix v1.3.9h to work with PHP versions 4.3.2 thru PHP 5.3.2.
02 Dec 2010, 13:05
#6
mightylemo avatar

mightylemo

New Zenner

Join Date:
Dec 2010
Posts:
3
Plugin Contributions:
0

Re: I can not edit the products

So there is no site cache or anything that needs to be flushed before changes take effect? I've tried a few more times but still can't edit products. Here is what I did:

Reverted all these files to the default 1.3.9h files:

/admin/includes/functions/general.php
/admin/includes/modules/product/collect_info.php
/admin/includes/modules/document_general/collect_info.php
/admin/includes/modules/document_product/collect_info.php
/admin/includes/modules/product_free_shipping/collect_info.php
/admin/includes/modules/product_music/collect_info.php
/includes/modules/pages/shopping_cart/header_php.php

Then made the following edits to these files:

/admin/includes/functions/general.php
Removed ", FALSE" from line 39


/admin/includes/modules/product/collect_info.php
/admin/includes/modules/document_general/collect_info.php
/admin/includes/modules/document_product/collect_info.php
/admin/includes/modules/product_free_shipping/collect_info.php
/admin/includes/modules/product_music/collect_info.php
Removed ", TRUE" from lines 299, 412, 433


/includes/modules/pages/shopping_cart/header_php.php
Removed ", TRUE" from lines 111


Save & upload each file then login to the admin panel, go to a product and click on it. Price is the only field that is still set.

Since the procedure fails, I then try your recommendation of using the "collect_info.php" files from version 1.3.9g and I get the same result. I've tried emptying my browser cache, using different browsers (Safari, Firefox, Chrome on mac, IE and Firefox on PC) and no luck. Am I missing something or am I just out luck on this one? I'm looking for a new web host that uses php 5.2 but would hate to have to move all my sites if I don't have to.
02 Dec 2010, 16:40
#7
mightylemo avatar

mightylemo

New Zenner

Join Date:
Dec 2010
Posts:
3
Plugin Contributions:
0

Re: I can not edit the products

Nevermind, Ultra NOOB mistake! :blush:

After uploading the files to the server and installing, the installer asked me to change the name of the admin folder for security. I changed it on the server but forgot to change it on my local files. When I saw your instructions regarding the files located within the admin folder I didn't think anything of it since my local admin folder was still 'admin.'

After synching up the folder names and making the mentioned changes all is good!
04 Feb 2011, 16:09
#8
causeone avatar

causeone

New Zenner

Join Date:
Jul 2008
Posts:
15
Plugin Contributions:
0

Re: I can not edit the products

I feel like I may be having a similar problem, can anyone confirm?

Using version 1.3.9d
Php 5.3
Single Item Listing add on

Some catalog items are editable, and I have no problem with.
Others give a blank item form when I try and edit them.

Suggestions?
Do I need to update to 1.3.9h?
10 Feb 2011, 16:07
#9
causeone avatar

causeone

New Zenner

Join Date:
Jul 2008
Posts:
15
Plugin Contributions:
0

Re: I can not edit the products

causeone:

I feel like I may be having a similar problem, can anyone confirm?

Using version 1.3.9d
Php 5.3
Single Item Listing add on

Some catalog items are editable, and I have no problem with.
Others give a blank item form when I try and edit them.

Suggestions?
Do I need to update to 1.3.9h?


anyone?
16 Feb 2011, 06:20
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: I can not edit the products

Upgrading to latest version is certainly a good idea.
And using the debug logging tool is also a good idea: https://www.zen-cart.com/tutorials/index.php?article=82