Forums / Upgrading from 1.3.x to 1.3.9 / 1.3.8 version not allowing me the upgrade option!

1.3.8 version not allowing me the upgrade option!

Locked

Views: 4,570

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
3 Dec 2007, 3:48 AM
#1
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

1.3.8 version not allowing me the upgrade option!

Hello,

I am very new to Zen and I have 1.3.7. I tried to upgrade tonight to 1.3.8 but I am not getting the option to upgrade. The install screen wants to create a new database.

Why is Zen not seeing my current database?

3 Dec 2007, 3:58 AM
#2
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

Did you change the database? You need to create a new database, in cpanel (or whatever you are using) restore your old database to the new database. To do this in cpanel, you need to rename the backup file so that it corresponds with the new database name. Example: backed up database zc = zc.zip new database = zcnew ... So you would rename zc.zip to zcnew.zip. Then restore it.

Then, you have to tell Zen Cart that there is a new database. Edit the configure.php in admin/includes and includes. You will find your database in there.

Oh yeah, don't forget to assign your user to the new database in cpanel.

Hopefully, that will do the trick and you can upgrade your database.

3 Dec 2007, 4:03 AM
#3
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

I have not made any changes to the database or the database name. I use Hostmonster for my web provider and did the original install in November from an install icon in my cpanel provided by Hostmonster. My database name was automatically created at that time.

3 Dec 2007, 6:14 AM
#4
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

the tech guy had me remove the entire new database and import my saved database. Now, however, I cannot even sign in. Still waiting on help for that one :(

3 Dec 2007, 7:16 AM
#5
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

Yea, I did my install from Fantastico in cPanel as well. Unfortunately, there is no way to upgrade that is quite that simple! :)

There is no simple way to do this. It took me about four hours to do the whole upgrade. But, I had a ton of changes that I had to merge. It should take less time with a standard zen cart install.

See my instructions above, and it should fix your problems. You must create a new database to update.

UPDATE: Something just occurred to me. Are you trying to update your live site? This is not recommended. If so, it should work without creating a new database. But, you can really bork everything that way. It is much smarter to create a new site for your upgrade , test it, and then switch over.

3 Dec 2007, 5:06 PM
#6
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

Ok, I am still having problems. I upgraded the database and in my admin panel it shows that database is version 1.3.8 but my shop version is still 1.3.7.

The setup files recognize my database. If I try to upgrade it again, I see that message that I have the current version of database and don't need to upgrade. The configuration files, however, are not being upgraded.

I did copy includes/configure.php and the counter part configure.php files over to the demo folder where my zen upgrade files are before running install. I also did some checking with winmerge, but since my install was last month, I had very few core files that had been changed.

Can I copy/replace all the files over now that I have upgrades the database?

Which file contains the password to the admin control pane?

what should I do?:dontgetit

3 Dec 2007, 5:24 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

The admin login info is in the database. Does the database you're using for 1.3.8 have data in it?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

3 Dec 2007, 5:28 PM
#8
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

afo:

The admin login info is in the database. Does the database you're using for 1.3.8 have data in it?

Yes, but not a lot.

Is it safe to copy the rest of the system files and overwrite the rest?

4 Dec 2007, 12:12 AM
#9
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

Need help!

Something has gone wrong. I can't login to the admin panel. When I try I get the message "ERROR_SECURITY_ERROR "

I restored my site from the back up I made before upgrading and it still makes no difference. I still cannot login to the security panel.

What is causing this error?

4 Dec 2007, 2:55 AM
#10
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

Well, I have my site restored back to 1.3.7. The version check says:

Zen Cart 1.3.7.1
Database Patch Level: 1.3.8

I'll stay with 1.3.7.1 for a while until I can figure out how to upgrade. The upgrade wouldn't configure the files or replace them. It would only touch the database.

4 Dec 2007, 2:18 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: 1.3.8 version not allowing me the upgrade option!

ScootaMan:

The upgrade wouldn't configure the files or replace them. It would only touch the database.

That is correct. The zc_install tool only upgrades the database.
Upgrading all your PHP files is your responsibility.

The "how to" is documented not only in your site's /docs/ folder, but also in the FAQs section, along with zillions of helpful how-to posts scattered all over the forum.

.
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.

4 Dec 2007, 2:19 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: 1.3.8 version not allowing me the upgrade option!

ScootaMan:

Zen Cart 1.3.7.1
Database Patch Level: 1.3.8If you use Paypal, you'll have some serious problems if you run mismatched code vs database.

.
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.

4 Dec 2007, 4:18 PM
#13
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

DrByte:

If you use Paypal, you'll have some serious problems if you run mismatched code vs database.

what does this error mean?

Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/sftscoot/public_html/admin/includes/languages/english.php on line 50

Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sftscoot/public_html/admin/includes/languages/english.php on line 50

4 Dec 2007, 4:36 PM
#14
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

My website is online and appears to be working. The error message is what I get when I try to access the admin panel

What file or directory am I missing?

Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/sftscoot/public_html/admin/includes/languages/english.php on line 50

Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sftscoot/public_html/admin/includes/languages/english.php on line 50

4 Dec 2007, 11:25 PM
#15
drbyte avatar

drbyte

Sensei

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

Re: 1.3.8 version not allowing me the upgrade option!

It means you've fudged your /admin/includes/configure.php file such that the defines contained in the file aren't being set properly ... probably due to a syntax error you've created by editing the file, or from an incomplete upload.

.
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.

8 Dec 2007, 6:37 PM
#16
websitebob avatar

websitebob

New Zenner

Join Date:
Aug 2007
Posts:
18
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

This will be my first upgrade on Zen Cart and I'm just going to relay a comment about what I'm seeing.

I work with a number of other open source / CMS programs that also require regular security patches and upgrades.

After reading this post and the "readme_how_to_upgrade" (in the docs folder of 1.3.8)... I have to tell you... this is the most cumbersome upgrade/patch I've seen to-date. This looks like a fresh installation, not a patch.

In other open source apps, a patch is normally issued separately; containing only the affected files. With these apps, I never have to wipe out a database and reinstall it, or install a third party app to sift through, compare, and transfer over file modifications.

Upgrades are absolute necessities for security and for keeping up with browsers/changing technology. I've personally seen groups of hackers who specialize in open source apps and hit large numbers of websites in one sweep that missed the latest patch. Its easy to find these sites using a Google query.

Just my view, but what I've seen in this 1.3.8 update concerns me. It is just too cumbersome for the typical open source user (like my clients). Users become obliviously dependent on the simplicity of open source and, frankly, open source is usually packaged for these common persons...not the rest of us who work with files and code.

Thanks to all who made Zen Cart and the mods possible. Thanks, too, to Dr. Byte who has always been most helpful. Just please consider issuing upgrades as patches in the future. I think its better for the integrity of the Zen Cart in the bigger picture. Thanks

websitebob

8 Dec 2007, 7:29 PM
#17
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

I finally got my site back up. My problems appeared to be from a corruption in the database. I had to do an install and overwrite the database in order to get 1.3.8 installed correctly and PayPal Express working right.

8 Dec 2007, 8:40 PM
#18
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,677
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

websitebob -

Yes it seems difficult- BUT If your use the overrides correctly and not make any changes to the core files, then upgrading is as simple as uploading all the files, upgrading the database with one click and then comparing your customized files to any of them that have changed in the new version.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

9 Dec 2007, 5:48 AM
#19
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: 1.3.8 version not allowing me the upgrade option!

Kim:

websitebob -

Yes it seems difficult- BUT If your use the overrides correctly and not make any changes to the core files, then upgrading is as simple as uploading all the files, upgrading the database with one click and then comparing your customized files to any of them that have changed in the new version.

Could you give a link to a thread on how we should do overrides... and customization the approved of way?

9 Dec 2007, 7:30 AM
#20
drbyte avatar

drbyte

Sensei

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

Re: 1.3.8 version not allowing me the upgrade option!

shrimp-gumbo-mmmhhh:

Could you give a link to a thread on how we should do overrides... and customization the approved of way?

This may seem like a trite answer ... but ... there is a lot of info consolidated in the FAQ area: https://www.zen-cart.com/tutorials/index.php

.
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.