Forums / Upgrading from 1.3.x to 1.3.9 / admin/configure.php file & can not find "upgrade" option

admin/configure.php file & can not find "upgrade" option

Locked

Views: 2,201

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
24 Nov 2010, 6:30 AM
#1
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

admin/configure.php file & can not find "upgrade" option

I am trying to upgrade to 1.3.9h and I can not get the database upgrade button. According to the documentation it says that it can not find the database to know it is an upgrade option. Is that because I can not find the admin/configure.php file either. I changed the includes/configure.php file to see the new database. My website is: http://asimplertimemill.com/store. Any help?

Dave

24 Nov 2010, 6:52 AM
#2
kobra avatar

kobra

Black Belt

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

Re: admin/configure.php file & can not find "upgrade" option

I am trying to upgrade to 1.3.9h and I can not get the database upgrade button.
What steps have you taken ato this point??

Maybe the tutorial will help
https://www.zen-cart.com/tutorials/index.php?article=108

Zen-Venom Get Bitten

25 Nov 2010, 1:18 AM
#3
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

I have done all of the steps the directions recommend up to it was time to do the install/upgrade. The backup is done. The new database was created from the backup data base. I named the new database in the configure.php file under includes but I could not find a configure.php file under the admin folder. I made the new database to have the same username as the old on and copied and pasted the password from the actual previous file. So I thought I was ready to do the upgrade but the file only says I can install which indicates that it is not seeing the new database, according to the step by step instructions.

Dave

25 Nov 2010, 1:33 AM
#4
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

Is this a miss type?

Admin/config.php?

Look in Admin/includes/config.php

25 Nov 2010, 2:49 PM
#5
budy avatar

budy

New Zenner

Join Date:
Jun 2009
Posts:
56
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

ddavies I went to your site and I found this warning at the top of your store:
"Warning Warning: I am able to write to the configuration file: /home/asimple4/public_html/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance. See this FAQ"

27 Nov 2010, 8:23 AM
#6
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

stitchnkitty:

Is this a miss type?

Admin/config.php?

Look in Admin/includes/config.php

Ok thanks I found it and changed the config data but it is still not "seeing" the database in order for me to do an update rather than an install

27 Nov 2010, 8:26 AM
#7
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

Yes you are correct. I will be changing the file back but the directions say to change it to writeable when you are trying to upgrade and I am tryig to upgrade but I am not getting the option to upgrade only install.
Dave

27 Nov 2010, 8:42 AM
#8
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

stitchnkitty:

Is this a miss type?

Admin/config.php?

Look in Admin/includes/config.php

Ok :clap: I found that and I corrected that I copied the database name into username accidently. I got it the upgrade button but now I am not sure about the Change Database Table-Prefix section.

My database already has zen_ as the prefix but

If you wish to change the database table prefixes, enter the new prefix below. NOTE: please verify that the prefix name is not already used in your database, as we do not check for such duplication. Using an already-existing table prefix will corrupt your database.

New Table-Prefix

Enter the NEW Table-Prefix zen_ (is already filled in) Do I remove the zen_ in this field since my database tables already have zen_ as the prefix??

more info...
WARNING: DO NOT ATTEMPT TO CHANGE TABLE PREFIXES IF YOU DO NOT HAVE A FULL AND DEPENDABLE RECENT BACKUP OF YOUR DATABASE CONTENTS. If something goes wrong in the process, you will need to recover from your backup. If this is cause for concern or uncertainty for you, then DO NOT attempt to rename your tables.

27 Nov 2010, 5:06 PM
#9
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: admin/configure.php file & can not find "upgrade" option

If you want to change the database prefix, ensure you have a backup and then go throught he upgrade process and put your new prefix (or nothing if that's what you want) in this field.

If you don't want to change the prefix, leave this field as it is.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Nov 2010, 5:52 PM
#10
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

stitchnkitty:

Is this a miss type?

Admin/config.php?

Look in Admin/includes/config.php

kobra:

What steps have you taken ato this point??

Maybe the tutorial will help
https://www.zen-cart.com/tutorials/index.php?article=108

Do you know what the "upgrade" button actually do? Will it move files? I am unclear what the upgrade button will do since all the files are on the website already? Woud you be able to explain it to me?

27 Nov 2010, 6:00 PM
#11
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

kuroi:

If you want to change the database prefix, ensure you have a backup and then go throught he upgrade process and put your new prefix (or nothing if that's what you want) in this field.

If you don't want to change the prefix, leave this field as it is.

It pre added zen_ so if I leave zen_ in the filed it won't append an additional zen_ onto the file structures?
Dave

27 Nov 2010, 6:41 PM
#12
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: admin/configure.php file & can not find "upgrade" option

ddavies:

It pre added zen_ so if I leave zen_ in the filed it won't append an additional zen_ onto the file structures?
DaveStop overthinking it. Unless you want to change it, leave it as it is.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Nov 2010, 6:42 PM
#13
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: admin/configure.php file & can not find "upgrade" option

ddavies:

Do you know what the "upgrade" button actually do? Will it move files? I am unclear what the upgrade button will do since all the files are on the website already? Woud you be able to explain it to me?It will change the structure of your database to that needed for Zen Cart 1.3.9. What version are you upgrading from?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

28 Nov 2010, 3:28 AM
#14
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

I am going from 1.3.8
Dave

28 Nov 2010, 3:51 AM
#15
kobra avatar

kobra

Black Belt

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

Re: admin/configure.php file & can not find "upgrade" option

I am going from 1.3.8
As the original issue has been found you should just need to re-run zc_install and the upgrade DB Only option will bring the DB up todate

Zen-Venom Get Bitten

28 Nov 2010, 3:58 AM
#16
ddavies avatar

ddavies

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

Re: admin/configure.php file & can not find "upgrade" option

Thanks,
When I ran upgrade it went to another window in my browser and displayed this:

1253 COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
in:
[CREATE TABLE zen_counter_history_clean as SELECT * FROM zen_counter_history WHERE 1 GROUP BY startdate COLLATE latin1_general_ci;]

I guess the upgrade did not happen?

Newbie,
Dave