Forums / Bug Reports / 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

1.3.9h - customers don't display on home page, and prod name/model don't show in edit

Locked

Started by nickgreaves on 27 Oct 2010, 11:13 AM · Views: 10,057

Results 1 to 20 of 56
This thread is locked. New replies are disabled.
27 Oct 2010, 11:13 AM
#1
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

1.3.9h - customers don't display on home page, and prod name/model don't show in edit

NOTE: SOLUTION POSTED HERE: http://www.zen-cart.com/forum/showpost.php?p=953964&postcount=6

I had a working 1.3.9g setup.

I have just upgraded to 1.3.9h by replacing just the files listed in the changelog.

Now, if I log into admin and attempt to edit a product, I find that its Product Name, Product Description and Products Model fields are blank.

The same applies if I create a new product and then edit it.

The Product Name and Product Model are correctly shown in the list of products for any category and all information is correctly shown within the normal customer view of products.

Regards

Nick Greaves

27 Oct 2010, 11:26 AM
#2
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

OK, I have replaced the following 1.3.9h file:

/admin/includes/modules/product/collect_info.php

with the previous version from 1.3.9g.

This has restored normal operation.

So it looks as though there is some issue around that particular file.

Regards

Nick

27 Oct 2010, 12:03 PM
#3
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

I've since noticed that when you go from creating or editing a product to the preview screen, the Product Name is missing from that screen.

I've tried replacing:

/admin/includes/modules/product/preview_info.php

with the 1.3.9g version, but that just results in both the Product Name and Product Description not appearing.

Regards

Nick Greaves

27 Oct 2010, 12:33 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

None of those things happen here with a fresh installation of 1.3.9h or with an installation of 1.3.9g upgraded to 1.3.9h (both stock with no mods installed).

27 Oct 2010, 1:27 PM
#5
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

stevesh:

None of those things happen here with a fresh installation of 1.3.9h or with an installation of 1.3.9g upgraded to 1.3.9h (both stock with no mods installed).

Hmm. I wonder what's different about our setups?

I have:

Renamed /admin
Edited english.php to use UK date formats and "kg" instead of "lbs"

Apart from creating custom templates in the usual way, I haven't done much else.

Addons in use are:

Ceon Manual Card
Easy Populate
Contact reCAPTCHA

As far as I can see, none of those should have any relevance or involvement in this area of operation.

All of the above mods/addons were done a few versions ago so have worked fine up to and including version g.

Regards

Nick

27 Oct 2010, 1:30 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

if I log into admin and attempt to edit a product, I find that its Product Name, Product Description and Products Model fields are blank.
As this is in the admin - - - I suspect that you missed something in the upgrade????

Zen-Venom Get Bitten

27 Oct 2010, 1:43 PM
#7
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

I've just upgraded to 139h on windows and linux servers, and have a lot of mods. Its working ok for me.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

27 Oct 2010, 1:45 PM
#8
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

kobra:

As this is in the admin - - - I suspect that you missed something in the upgrade????

Well I've been through all of the changed files in the /admin tree again and checked that they were all replaced.

Regards

Nick

27 Oct 2010, 1:46 PM
#9
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

No problems with my upgrade from g to h either :cool:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Oct 2010, 1:47 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

Well I've been through all of the changed files in the /admin tree again and checked that they were all replaced.
Unless you have altered an admin core file....
Try deleting all the files in the admin directory and reloading a new set from the 1.3.9h distribution

Zen-Venom Get Bitten

27 Oct 2010, 5:05 PM
#11
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

kobra:

Try deleting all the files in the admin directory and reloading a new set from the 1.3.9h distribution

I'll do that as a last resort if I have to, but I wonder if whoever carried out the mods to:

/admin/includes/modules/product/collect_info.php

might be able to give me a clue as to what has changed between versions g and h (I could do a file compare but, to be honest, my PHP knowledge is very limited so if anyone can point me in the right direction I could try a few individual file replacements first).

Regards

Nick

27 Oct 2010, 5:22 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

so if anyone can point me in the right direction I could try a few individual file replacements first
replacing/crossing version files is playing with dynamite

As many have posted they are not seeing what you are
So a full reload of the admin side is a better solution

Zen-Venom Get Bitten

27 Oct 2010, 5:35 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

nickgreaves:

I'll do that as a last resort if I have to, but I wonder if whoever carried out the mods to:

/admin/includes/modules/product/collect_info.php

might be able to give me a clue as to what has changed between versions g and h (I could do a file compare but, to be honest, my PHP knowledge is very limited so if anyone can point me in the right direction I could try a few individual file replacements first).

Regards

Nick
Lines 299, 412, 433 were changed.
Granted, those line numbers refer to an UNMODIFIED version of the file.
Quickly comparing those files in WinMerge will show you what has changed.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Oct 2010, 6:25 PM
#14
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

kobra:

replacing/crossing version files is playing with dynamite

Perhaps I'm not explaining very well.

As of this morning, I had a fully patched up-to-date version of 1.3.9g.

I then replaced all of the files listed in the changelog so I had a fully patched up-to-date version of 1.3.9h. At that stage I experienced the problems described.

As an experiment, I rolled back one single file to the 1.3.9g version and this partially resolved the problem, providing me with a temporary workaround.

If I can identify what has changed between versions of that file - particularly in terms of its dependency on the contents of other files, that might point me to where the problem lies.

27 Oct 2010, 6:56 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

nickgreaves:

If I can identify what has changed between versions of that file - particularly in terms of its dependency on the contents of other files, that might point me to where the problem lies.
stevesh:

None of those things happen here with a fresh installation of 1.3.9h or with an installation of 1.3.9g upgraded to 1.3.9h
frank18:

No problems with my upgrade from g to h either
With all of the time you have invested so far, you could have reloaded all the admin files

Zen-Venom Get Bitten

27 Oct 2010, 7:35 PM
#16
polygone avatar

polygone

New Zenner

Join Date:
Jan 2008
Location:
Toronto
Posts:
73
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

I am upgrading 9g to 9h right now and before overwriting includes/version.php I notice the new file in 9H is older than 9g by about 5 hours....is this right?

New Zenner

27 Oct 2010, 8:06 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

polygone:

I am upgrading 9g to 9h right now and before overwriting includes/version.php I notice the new file in 9H is older than 9g by about 5 hours....is this right?

a) no, it doesn't matter.
b) that's completely different than the subject matter of the rest of the discussion in this thread -- please try not to hijack other peoples' discussions, since it just adds confusion to the existing dialog. :wink:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Oct 2010, 8:16 PM
#18
polygone avatar

polygone

New Zenner

Join Date:
Jan 2008
Location:
Toronto
Posts:
73
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

DrByte:

a) no, it doesn't matter.
b) that's completely different than the subject matter of the rest of the discussion in this thread

So I should have posted a new thread with the same title? Sorry..next time I'll know better.

New Zenner

27 Oct 2010, 8:36 PM
#19
nickgreaves avatar

nickgreaves

New Zenner

Join Date:
Mar 2010
Posts:
72
Plugin Contributions:
0

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

kobra:

With all of the time you have invested so far, you could have reloaded all the admin files

OK, I have now reloaded ALL of the files in the shop root directory and the (renamed) /admin directory tree.

The problem remains the same.

I even replaced /admin/includes/languages/english.php with the original unedited version to be absolutely sure.

So the only modified file in the whole directory tree was admin/includes/configure.php (which obviously has to be modified with the correct directory/database settings).

Regards

Nick

28 Oct 2010, 12:32 AM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: 1.3.9h - customers don't display on home page, and prod name/model don't show in edit

nickgreaves,
PHP version?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.