Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Upgraded from 1.3 to 1.5.1. Empty page on Preview of a product page edit.

Upgraded from 1.3 to 1.5.1. Empty page on Preview of a product page edit.

7 Apr 2015, 2:31 AM
#1
zbatia avatar

zbatia

New Zenner

Join Date:
Oct 2009
Posts:
8
Plugin Contributions:
0

Post #1 by zbatia

I was sure that Mojo Marketplace have upgraded my Zencart successfully from 1.3.f to 1.5.1. However, I have tried to edit the product page, and to my surprise, the clicking the Preview button resulted in showing empty page with a tiny U.S. flag in the left top corner and product picture on the top, right corner.
I thought it is my Chrome browser, but IE 11 gave me the same result. Folks, any clue what could be wrong? It is very unusual problem. Your efforts to answer are appreciated in advance.
The problem is also that I can't revert back to the previous version since the Mojo is the WORST company and application. Just Google the numerous complains.

7 Apr 2015, 4:00 AM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #2 by twitchtoo

there's a code error in the admin/includes/modules/product/preview_info.php and it sounds like it may hang there or hopefully post an error in your /logs folder for you to read...?

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

7 Apr 2015, 12:07 PM
#3
zbatia avatar

zbatia

New Zenner

Join Date:
Oct 2009
Posts:
8
Plugin Contributions:
0

Post #3 by zbatia

twitchtoo:

there's a code error in the admin/includes/modules/product/preview_info.php and it sounds like it may hang there or hopefully post an error in your /logs folder for you to read...?

Thank you for reply!
I did not find the page you were referred to but here is the error log's snapshot:

[06-Apr-2015 17:01:38] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home1/xxxx/public_html/xxxx/xxxxx/includes/classes/object_info.php on line 29

[06-Apr-2015 17:01:38] PHP Warning: Variable passed to each() is not an array or object in /home1/xxxxx/public_html/xxx/xxxxxx/includes/classes/object_info.php on line 30

Because I did not find the file object_info.php, I assume it is being generated by the program and is temporary.
Does it give you any clue? :unsure:

7 Apr 2015, 1:17 PM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #4 by twitchtoo

Sounds like the folks that 'upgraded' your cart didn't do it correctly. Did you have any local backups of the site and database you could use to do it correctly this time?

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

7 Apr 2015, 10:24 PM
#5
zbatia avatar

zbatia

New Zenner

Join Date:
Oct 2009
Posts:
8
Plugin Contributions:
0

Post #5 by zbatia

twitchtoo:

Sounds like the folks that 'upgraded' your cart didn't do it correctly. Did you have any local backups of the site and database you could use to do it correctly this time?

Exactly! No matter what MoJo Marketplace touches, they screw it up. Now, I am faced with a dilemma. I have the database copy but I don't have the copy of the shop itself. To install the fresh copy would be a pain in ... even if I have the database. All shipping modules, customized pages, oh...my.
Do you think it's possible to fix that mess?

7 Apr 2015, 10:51 PM
#6
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #6 by twitchtoo

Yes. I do it all the time. At least you have the db. If you have a guess list of the modules installed even better. If you have access to the mess they made... then I have something to compare the shiny new version to ;).

And I like donations... :D

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

8 Apr 2015, 12:01 AM
#7
zbatia avatar

zbatia

New Zenner

Join Date:
Oct 2009
Posts:
8
Plugin Contributions:
0

Post #7 by zbatia

twitchtoo:

Yes. I do it all the time. At least you have the db. If you have a guess list of the modules installed even better. If you have access to the mess they made... then I have something to compare the shiny new version to ;).

And I like donations... :D

I have a full FTP access to it. I can create a separate FTP user just 4 U. It is obvious that I will have to trust you 100% because the location of the shop is in a root of my account, and there are few companies have their sites hosted.
Here is the shop's address: https://www.rtek2000.com/mgz/ just to give you the idea about the site.
Donation is not the problem.

8 Apr 2015, 12:29 AM
#8
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #8 by twitchtoo

check your PM... :)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian