Zen Cart Logo
Forums / Bug Reports / [Done v1.3.7] bug on upgrading to newer versions - configure.php

[Done v1.3.7] bug on upgrading to newer versions - configure.php

Locked

Views: 4,147

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
27 Oct 2006, 3:58 PM
#1
anno avatar

anno

Zen Follower

Join Date:
Jan 2004
Location:
Netherlands
Posts:
74
Plugin Contributions:
0

[Done v1.3.7] bug on upgrading to newer versions - configure.php

When upgrading the install looks for admin/includes/configure.php, but you advise on this forum to rename the admin directory.

Maybe an option for the future to browse to the correct folder in the install/update screen. Then you don't have to rename the map with admin stuff to admin again and after the update to undo that.

27 Oct 2006, 4:06 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

During the upgrade you need to temporarily rename the Admin and then change it back.

27 Oct 2006, 5:18 PM
#3
anno avatar

anno

Zen Follower

Join Date:
Jan 2004
Location:
Netherlands
Posts:
74
Plugin Contributions:
0

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

Kim, that's what i said. I was giving a suggestion for a next release.

27 Oct 2006, 9:18 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

Thanks Anno.

I'd hoped to build that fix into 1.3.6, but it slipped off the to-do list with some other things taking priority.

It's been fixed for the next release :)

28 Oct 2006, 8:42 PM
#5
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

DrByte:

It's been fixed for the next release :)
Good to hear. This will simplify the upgrade process. Won't need to edit paths pointing to the admin directory in configure.php before the upgrade, and then won't need to re-edit the same paths after the upgrade.

28 Oct 2006, 8:55 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

Woodymon:

Good to hear. This will simplify the upgrade process. Won't need to edit paths pointing to the admin directory in configure.php before the upgrade, and then won't need to re-edit the same paths after the upgrade.

You don't have to edit those paths now. All you need is to rename it back to "admin" for 10 seconds while you view the System Inspection page on zc_install.

28 Oct 2006, 9:25 PM
#7
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

DrByte:

You don't have to edit those paths now. All you need is to rename it back to "admin" for 10 seconds while you view the System Inspection page on zc_install.

Good info to know. Thanks.

On a related subject, is there a specific reason why the two configure.php files must be writable during the install, in situations where I do not want to write to them? Generally when I do a fresh install I use copies of the configure files I have already edited manually for my specific needs. Would be cool if there was an installer option where, after I upload the zen cart distribution to my server and upload my two configure files, I could process the initial database dump, without going thru the complete preflight check, system inspection, database setup, etc.

28 Oct 2006, 10:06 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

What do you mean by this?> Woodymon:

I could process the initial database dump,

28 Oct 2006, 10:19 PM
#9
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

DrByte:

What do you mean by this?
Sorry, didn't mean dump. Process the initial (fresh) database import. Is this the correct term?

30 Oct 2006, 4:48 AM
#10
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

Woodymon:

Would be cool if there was an installer option where, after I upload the zen cart distribution to my server and upload my two configure files, I could process the initial database import, without going thru the complete preflight check, system inspection, database setup, etc.

Just desiring a streamlined installer for those with a bit of Zen Cart experience (to a certain degree) and who do not need the extra upfront hand holding offered by the installer preflight check and system/DB setup (which is a very good thing for newbies and those having install issues). But not a priority by any means. Just something to add to the wishlist.

After a bit more clear-minded thinking, the streamlined installer would need to provide a basic inquiry form to allow the storeowner to create the admin user account name and password. Not sure if anything else is required.

Of course for those who want a real streamlined install method, just install Zen Cart once, and then via admin, configure the cart in basic/common terms, then make an image of file system and export the database. The shop can then be easily "replicated" with simple manual edits of the two config files.

30 Oct 2006, 4:55 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

Woodymon:

Of course for those who want a real streamlined install method, just install Zen Cart once, and then via admin, configure the cart in basic/common terms, then make an image of file system and export the database. The shop can then be easily "replicated" with simple manual edits of the two config files.

That works, but should only be done by those INTIMATELY familiar with the server you're installing or replicating to ... unless of course you plan to come back here asking how to figure out the right settings for your configure.php files etc.

30 Oct 2006, 4:56 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

As for wishlist of things to "streamline", there are things in the works for 1.4 ...

30 Oct 2006, 10:48 PM
#13
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: [Done v1.3.7] bug on upgrading to newer versions - configure.php

DrByte:

That works, but should only be done by those INTIMATELY familiar with the server you're installing or replicating to ...
Yes, that is a good point. I was thinking a streamlined installer could be used after the experience of (at least) one initial minimum install with the full installer, on a specific server. That would be my application anyway. You have done very well enhancing the ZC installer since I first used it (I think v. 1.2 or thereabouts). You are to be commended for this good work.

And good to hear of the v.1.4 "streamlines". Me is salivating over this post: http://www.zen-cart.com/forum/showthread.php?p=207771

;-)