Zen Cart Logo
Forums / General Questions / Twice the "Install SQL Patches" tool listed in Admin ?

Twice the "Install SQL Patches" tool listed in Admin ?

Locked

Views: 2,346

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
18 Mar 2007, 7:44 PM
#1
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Twice the "Install SQL Patches" tool listed in Admin ?

Just upgraded from 1.2.x to 1.3.7 and most everything else has worked just fine with a couple of minor exceptions, gift vouchers and the Install SQL Patches tool. Haven't seen this one searching through the forums.

Now, under the Admin -> Tools drop down, I somehow have TWO of the "Install SQL Patches" tool. They both take you to the correct admin/sqlpatch.php but I'm totally confused as to why there are two links now.

Any thoughts ? I'm stumped. Furthermore, can't seem to get rid of the extra.

Thank you in advance for your time and thoughts.

18 Mar 2007, 7:47 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Twice the "Install SQL Patches" tool listed in Admin ?

Use FTP and go to /admin/includes/boxes/extra_boxes/, and delete the obsolete file: sqlpatch_tools_dhtml.php

You should also go and clean up the other files deleted from production in the newer releases. If you look at the "changelog*.html" files in the /docs folder, you can review each release's details to see which files were formally "deleted", and act accordingly.

18 Mar 2007, 8:37 PM
#3
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Re: Twice the "Install SQL Patches" tool listed in Admin ?

Dr. Byte,

Thanks for that nibblet of information! I must have somehow missed that as a part of the upgrade process. There were a ton of files that need to be removed going from 1.2.x to 1.3.x.

This also seems to have cleared up my Gift Voucher trouble with the following issue:

Admin -> Modules -> Order Total:
Fatal error: Call to a member function on a non-object in
/catalog/includes/modules/order_total/ot_gv.php on line 29

Thanks a million!!!!!!

18 Mar 2007, 11:05 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Twice the "Install SQL Patches" tool listed in Admin ?

For clarification, if upgrades are done by installing the new version clean and adding/merging override files from the previous copy (a small number) into it, will there be any obsolete files left?

I would think they will have been deleted from the fresh download.

19 Mar 2007, 1:12 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Twice the "Install SQL Patches" tool listed in Admin ?

The upgrade of the new version with new files does NOT remove old obsolete files ...

I use Beyond Compare from scootersoftware.com to find extra files and help determin if they belong or do not belong ...

19 Mar 2007, 4:28 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Twice the "Install SQL Patches" tool listed in Admin ?

gjh42:

For clarification, if upgrades are done by installing the new version clean and adding/merging override files from the previous copy (a small number) into it, will there be any obsolete files left?

I would think they will have been deleted from the fresh download.

  1. Correct, they do not exist in the fresh download.
  2. But, if you don't delete them from your live site, they'll still be kicking around to cause confusion ...
19 Mar 2007, 5:33 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Twice the "Install SQL Patches" tool listed in Admin ?

I install each new version in a new folder, merge my overrides into it, and switch out the old for the new... so nothing hanging around that I didn't deliberately put there.