If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading from 1.3.x to 1.3.9 / several overrides not working after my upgrade from 138 to 139d

several overrides not working after my upgrade from 138 to 139d

Locked

Started by stefanl on 16 Jun 2010, 11:25 AM · Views: 2,789

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
16 Jun 2010, 11:25 AM
#1
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

several overrides not working after my upgrade from 138 to 139d

I have fresh installed the new 139d and upgraded with my old 138 database (138 is on my live cart online - https://www.mydomain-site.com. And I am currently testing the new 139d on a subdomain (https://www.subdomain.mydomain-site.com).

So, I have a 139d up and running in basic terms. The shell if you so like.

Problem is that the CUSTOM template override system from 138 basically only show the template and just a FEW of the define pages.

And I HAVE transfered via FTP all products and images with chmod 777.

These are the main things that DOESNT show up either in the Admin online page, OR the online cart on my subdomain.

1 - only a selected few of the define_pages in the CUSTOM folder shows up. And I DO HAVE all the define pages in the CUSTOM folder and still just a few, like the define_main page show up. NONE OF THE OTHER define_pages show up, despite being in the CUSTOM folder

2 - NONE of the categories/Products show up in the CART online or the ADMIN page online. I mean NONE.

3 - NO CUSTOMERS are showing up in the Admin page online

4 - NONE of my OWN banner adds are recognized either online OR the Admin page

It goes on and on like this.

16 Jun 2010, 11:27 AM
#2
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

And to answer, YES I have the current 139d and patch level 139d up and running.

Zen Cart 1.3.9d
Database Patch Level: 1.3.9d
v1.3.9d ------ (Version Update 1.3.8->1.3.9d)
v1.3.9d ------ (Version Update 1.3.8->1.3.9d)
v1.3.9d ------ (Fresh Installation)

16 Jun 2010, 12:26 PM
#3
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

I forgot to tell that if I go to the online cataloge (online cart/webshop) and click any link to pages I mentioned not existing (please read above), I get redirected to a 404 error page.

"Error 404: File Not Found"

16 Jun 2010, 2:30 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

stefanl:

I have fresh installed the new 139d and upgraded with my old 138 database

Just to clarify, when you installed the fresh 139d did you create a new database or use the existing 138 database?

At what point of the upgrade process did you upgrade your old 138 database?

From your followup post, you provided the following info:

stefanl:

Zen Cart 1.3.9d
Database Patch Level: 1.3.9d
v1.3.9d ------ (Version Update 1.3.8->1.3.9d)
v1.3.9d ------ (Version Update 1.3.8->1.3.9d)
v1.3.9d ------ (Fresh Installation)

What this is telling me is that when you installed 139 you created a NEW database, and that you have attempted to upgrade this NEW database twice.

Where is your old database? Did you overwrite it with the new, or did you give the new one a different name/password?

If you overwrote your old database you'll need to restore from a backup... you DO have a backup, don't you?

If you created a new (differently named) database, thats fine, but your new zencart installation (139) is using this new database, and NOT the older 138 database, which is what you need (With the info provided we are unable to tell if you really have updated your 138 database yet, we only know that you have attempted to update the new one twice, even though being new it didn't need updating at all).

Hopefully this makes sense ands will be of some help.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

16 Jun 2010, 2:58 PM
#5
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

Just to clarify, when you installed the fresh 139d did you create a new database or use the existing 138 database?

At what point of the upgrade process did you upgrade your old 138 database?

From your followup post, you provided the following info:

What this is telling me is that when you installed 139 you created a NEW database, and that you have attempted to upgrade this NEW database twice.

Where is your old database? Did you overwrite it with the new, or did you give the new one a different name/password?

If you overwrote your old database you'll need to restore from a backup... you DO have a backup, don't you?

If you created a new (differently named) database, thats fine, but your new zencart installation (139) is using this new database, and NOT the older 138 database, which is what you need (With the info provided we are unable to tell if you really have updated your 138 database yet, we only know that you have attempted to update the new one twice, even though being new it didn't need updating at all).

Hopefully this makes sense ands will be of some help.

Cheers
Rod

Ok to everything.
So considering this, what do you suggest?
Please suggest something. Everyone in here is always asking new questions :smile:
So you suggest me to do what? Because I say yes.

16 Jun 2010, 5:00 PM
#6
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

So having apparently installed 139d twice. Any idea of how to remove one of them and HOW to get this rolling?

I belive I followed the readme2 or what the doc file is called. I have tried to follow each step.

I start to forget after all this hazzle I have had with the new 139d and upgrade from 138, to forget my exact steps made.

I think I used Admin page. Tools/Install SQL Patch.

But regardless. Do you have any suggestions on what I should do? And if so, please dont refrain from telling even the most childish obvious step a tech guy would feel to obvious to write.

17 Jun 2010, 7:57 AM
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

stefanl:

Ok to everything.

"OK" isn't a valid response to any of the questions asked.

Q1 was:
did you create a new database or use the existing 138 database?

Your response - "OK"

Q2 was:
At what point of the upgrade process did you upgrade your old 138 database?

Your response - "OK"

Q3 & 4 was:
Where is your old database? Did you overwrite it with the new, or did you give the new one a different name/password?

Your response - "OK"

You haven't answered a single question, yet you ask...

stefanl:

So considering this, what do you suggest?

I think the only answer I can give you, based on your responses, is "OK"

stefanl:

Please suggest something.

I already made a couple of suggestions based on possible responses that you could have given. Clearly ignored. .

stefanl:

Everyone in here is always asking new questions :smile:

If everyone has the same problem with the same solution we wouldn't need to ask questions, there would only be one answer. (42)

The fact is, somehow or other you messed up, and unless we know how and where you messed up we really aren't in any position to give you specific advice, all we can do is generalise and hope to steer you in the right direction.

stefanl:

So you suggest me to do what? Because I say yes.

I suggest that when you have a problem, and someone asks you a question that you answer the question(s). We aren't doing this to test you, we do it because we need to know the answers ourselves so we can best advice you on what to do next.

At the moment, all I can say to you is, the answer is yes, ok?

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

17 Jun 2010, 8:30 AM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

stefanl:

So having apparently installed 139d twice.

Not that it matters any more, but the deduction was that you had attempted to update the 139d database twice - Not that you have installed 139d twice.

stefanl:

Any idea of how to remove one of them and HOW to get this rolling?

Before thinking about removing one of something that probably isn't installed twice to begin with don't you think it would be prudent to ensure that you did install it twice - Or perhaps this is something you already know as fact, but haven't told us ?

stefanl:

I belive I followed the readme2 or what the doc file is called. I have tried to follow each step.

I believe that at some stage of the process you may have started to read and follow the upgrade instructions by following each step, but I don't for second believe that you followed them from the outset.

stefanl:

I start to forget after all this hazzle I have had with the new 139d and upgrade from 138, to forget my exact steps made.

I take this as confirmation that you **didn't **follow the upgrade process according to the steps outlined, because if you had, you wouldn't need to remember your exact steps made, you would be able to refer back to those **same instructions.
**

stefanl:

But regardless. Do you have any suggestions on what I should do?

I think the very first thing to do would be to check your database(s) to see what they contain - If you have overwritten your original database with the new installation then restoring this from your backup copy should be your first priority. If you don't have a backup of the original DB then your best (only) option would be to start from scratch with a fresh install of the latest zencart version.
HOWEVER, this should only be considered if your original database really has been overwritten. If your upgrade process involved creating a database of a different name, then it should be a matter of changing your config files to use the older database and performing the SQL upgrade on THAT database rather than the 'new' one.

stefanl:

And if so, please dont refrain from telling even the most childish obvious step a tech guy would feel to obvious to write.

At the moment you are in a 'dangerous' position in that depending on your database(s) you could be just two configuration changes and one SQL update away from having your original store up and running using the latest version of zencart, OR, if you have already trashed your original DB and don't have a backup you'll have no option than to start afresh.

You may even be in a position where you are still currently able to recover from disaster - but just one wrong step (such as attempting to remove one of the duplicated installations, which quite probably isn't duplicated in the first place) could be enough to close this avenue off completly.

Again, your failure to answer the questions asked of you means we have no way of knowing exactly where you stand.

Rgds
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

17 Jun 2010, 8:48 AM
#9
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

Not that it matters any more, but the deduction was that you had attempted to update the 139d database twice - Not that you have installed 139d twice.

Before thinking about removing one of something that probably isn't installed twice to begin with don't you think it would be prudent to ensure that you did install it twice - Or perhaps this is something you already know as fact, but haven't told us ?

I believe that at some stage of the process you may have started to read and follow the upgrade instructions by following each step, but I don't for second believe that you followed them from the outset.

I take this as confirmation that you **didn't **follow the upgrade process according to the steps outlined, because if you had, you wouldn't need to remember your exact steps made, you would be able to refer back to those **same instructions.
**

I think the very first thing to do would be to check your database(s) to see what they contain - If you have overwritten your original database with the new installation then restoring this from your backup copy should be your first priority. If you don't have a backup of the original DB then your best (only) option would be to start from scratch with a fresh install of the latest zencart version.
HOWEVER, this should only be considered if your original database really has been overwritten. If your upgrade process involved creating a database of a different name, then it should be a matter of changing your config files to use the older database and performing the SQL upgrade on THAT database rather than the 'new' one.

At the moment you are in a 'dangerous' position in that depending on your database(s) you could be just two configuration changes and one SQL update away from having your original store up and running using the latest version of zencart, OR, if you have already trashed your original DB and don't have a backup you'll have no option than to start afresh.

You may even be in a position where you are still currently able to recover from disaster - but just one wrong step (such as attempting to remove one of the duplicated installations, which quite probably isn't duplicated in the first place) could be enough to close this avenue off completly.

Again, your failure to answer the questions asked of you means we have no way of knowing exactly where you stand.

Rgds
Rod

Fair enough.
42 -never read the novel but a friend named an ad agency of hers 42 after it.
In this order made these steps as I remember it, might remember wrong.

1 - I created a new subdomain to host my temporary 139d while testing and preparing it

2- Installed 139d using zc_install

3 - I now noticed that you were seem to be correct in that I somehow double installed 139d, no clue how that happened. Need to remove one, or maybe do the whole thing over again. Bull..o.cks

4 - Didnt use the same database name as my current live webshop. Made a new name and new pw and log in.

5 - Logged into my Admin page online (139d) and via Tools/Install SQL Patch and uploaded 138 - I think I did that way as I am more and more getting confused after all tips I have gotten.

6 - Tools/ and choosed my CUSTOM template and I have seen some of the text, define_main_page.

7 - Despite choosing my CUSTOM template I have still not getting all back.

Sorry for a "OK for all".

Big thanks for taking the time. Appreciate it.

Stefan

17 Jun 2010, 9:01 AM
#10
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

Not that it matters any more, but the deduction was that you had attempted to update the 139d database twice - Not that you have installed 139d twice.

...I think the very first thing to do would be to check your database(s) to see what they contain...

Rod

I saw yesterday in my phpMyAdmin that the database is now 188? instead of aprox. 93-97

I believe that at some stage of the process you may have started to read and follow the upgrade instructions by following each step, but I don't for second believe that you followed them from the outset.

I am certain I missed something and hence didnt follow each step ;-) but regardless I still think the actual outset/tutrial could be enhanced somewhat.

I promiss Rod, I do have a DB backup of my original database in a separate folder locally on my computer.
My current Zencart webshop (138) is up and running fine. And NOT affecting my subdomain in question.

17 Jun 2010, 9:06 AM
#11
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

HOWEVER, this should only be considered if your original database really has been overwritten. If your upgrade process involved creating a database of a different name, then it should be a matter of changing your config files to use the older database and performing the SQL upgrade on THAT database rather than the 'new' one.

At the moment you are in a 'dangerous' position in that depending on your database(s) you could be just two configuration changes and one SQL update away from having your original store up and running using the latest version of zencart,
You may even be in a position where you are still currently able to recover from disaster - but just one wrong step (such as attempting to remove one of the duplicated installations, which quite probably isn't duplicated in the first place) could be enough to close this avenue off completly.

Rgds
Rod

Again, your failure to answer the questions asked of you means we have no way of knowing exactly where you stand.

I am doing better now arent I ;-)

From a sunny Stockholm, Sweden thanks again for taking time

17 Jun 2010, 9:37 AM
#12
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

stefanl:

1 - I created a new subdomain to host my temporary 139d while testing and preparing it

2- Installed 139d using zc_install

So this is a NEW install, and NOT an upgrade. (this is fact. Not a question).

stefanl:

3 - I now noticed that you were seem to be correct in that I somehow double installed 139d,

I have NEVER said or stated this at all. Not even implied it.
The closest I have said along these lines is that you have RUN the database upgrade script at least twice on a database that didn't need upgrading in the first place.

stefanl:

no clue how that happened. Need to remove one, or maybe do the whole thing over again. Bull..o.cks

Careful, as per previous message, you are in a dangerous position at the moment. One wrong move and you will have no other option than to start afresh .. Please show me anywhere in any of my replies that suggests you remove anything??????

stefanl:

4 - Didnt use the same database name as my current live webshop. Made a new name and new pw and log in.

This is good .. it is currently the only thing that stands between getting it working and starting afresh.

stefanl:

5 - Logged into my Admin page online (139d) and via Tools/Install SQL Patch and uploaded 138 - I think I did that way as I am more and more getting confused after all tips I have gotten.

Why did you do that? What made you think that a brand new database in a brand new installation is going to need patching or upgrading?

Perhaps there is confusion as to what "upgrade" really means?

If you have (say) 138 installed on a server called "www1.myserver.com" and you install 139 on a server called "www2.myserver.com" you aren't actually "upgrading" the 138 installation are you? You are just setting up another store on another host.

However, if you have 138 installed on a server called "www1.myserver.com" and you wish to make this into 139 on the same server, then this IS an upgrade, and this is where you need to be following the upgrade procedures.

stefanl:

6 - Tools/ and choosed my CUSTOM template and I have seen some of the text, define_main_page.

7 - Despite choosing my CUSTOM template I have still not getting all back.

Here come the questions again: (this time, answers aren't required)

Q1. Did you copy all of the CUSTOM folders from your 138 installation to your 139 installation? If not, then do so now.

Q2. Do you remember the name and password that you used for your original 138 installation? Yes - Copy those details into the configuration files for your NEW installation.

This will/should get your NEW installation working with your OLD/origianl 138 database. At this point, when you log in as admin and check the version information it will/should show something like

Zen Cart 1.3.9d**
**Database Patch Level: 1.3.8
v1.3.8 (Fresh Installation)

Note the old database version, but the new zencart version. At this point you should now be able to run the 138-139 SQL update patch to bring the database up to date with the 139 data.. Checking the version information after doing this should then read something like:

Zen Cart 1.3.9d**
**Database Patch Level: 1.3.9d
v1.3.9d [2010-06-10 22:22:41] (Version Update 1.3.8->1.3.9d)
v1.3.8 (Fresh Installation)

If you can get this far then any other problems you may experience will need to be tackled on their own merits. If you can't get to this stage then go back to my Q1 and start again... If you STILL have problems then a copy of any error messages, etc would be very useful.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

17 Jun 2010, 9:53 AM
#13
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

stefanl:

I saw yesterday in my phpMyAdmin that the database is now 188? instead of aprox. 93-97

Sorry, but I just have to ask this again .... are you SURE you created a NEW database for the NEW installation ? The reason I ask is because if the number of tables in the database has doubled then you are probably using the SAME database, but one set of tables has one prefix, and the other set of tables has a different prefix (or no prefix at all).

Only one set of these tables will be used at any given time, and this is controlled by your settings in your configuration files.

stefanl:

I promiss Rod, I do have a DB backup of my original database in a separate folder locally on my computer.

Forgive my cynicism.

stefanl:

My current Zencart webshop (138) is up and running fine. And NOT affecting my subdomain in question.

This is what I was getting at in previous response... you should be treating the new installation as a new installation rather than an upgrade of the old installation. This is how/why you managed to needlessly 'upgrade' the latest database a couple of times, meanwhile the database you should be updating is in isolation because it is effectively on a different server.

If you wish to keep this isolation between the old and the new you will need to ignore my previous suggestion about changing your new config files to point to the old database, and simply drop all tables in the new database and replace them with a backup copy of the old database.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

17 Jun 2010, 10:19 AM
#14
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

So this is a NEW install, and NOT an upgrade. (this is fact. Not a question).
You see I am learning new all the time, and you are good at pointing things out, should have got help from you previously, thanks. Honestly.

I have NEVER said or stated this at all. Not even implied it.
The closest I have said along these lines is that you have RUN the database upgrade script at least twice on a database that didn't need upgrading in the first place.

That is okey with me. I am no programmer so I might use the incorrect words at times. Sorry if it was seen as such.

[QUOTE]
Careful, as per previous message, you are in a dangerous position at the moment. One wrong move and you will have no other option than to start afresh .. Please show me anywhere in any of my replies that suggests you remove anything??????

[QUOTE]
Again I dont implie you said anything I am only trying to understand and I was thinking that I have to remove things. No worries.

This is good .. it is currently the only thing that stands between getting it working and starting afresh.
Good there is still hope :-)

Why did you do that? What made you think that a brand new database in a brand new installation is going to need patching or upgrading?
I read threads and suggestions in this forum, community trying to figure out what I dd wrong, andf I think I read, at least understood so. Apparently wrongly so.

If you have (say) 138 installed on a server called "www1.myserver.com" and you install 139 on a server called "www2.myserver.com" you aren't actually "upgrading" the 138 installation are you? You are just setting up another store on another host.

However, if you have 138 installed on a server called "www1.myserver.com" and you wish to make this into 139 on the same server, then this IS an upgrade, and this is where you need to be following the upgrade procedures.

Thanks for pointing out and explaining it to me.

Here come the questions again: (this time, answers aren't required)

;-)

Q1. Did you copy all of the CUSTOM folders from your 138 installation to your 139 installation? If not, then do so now.

I did. Meaning already done yesterday

Q2. Do you remember the name and password that you used for your original 138 installation? Yes - Copy those details into the configuration files for your NEW installation.

This will/should get your NEW installation working with your OLD/origianl 138 database.

Tricky as my webhost created all this for me originally last year.

At this point, when you log in as admin and check the version information it will/should show something like

Zen Cart 1.3.9d**
**Database Patch Level: 1.3.8
v1.3.8 (Fresh Installation)

Note the old database version, but the new zencart version. At this point you should now be able to run the 138-139 SQL update patch to bring the database up to date with the 139 data.. Checking the version information after doing this should then read something like:

Zen Cart 1.3.9d**
**Database Patch Level: 1.3.9d
v1.3.9d [2010-06-10 22:22:41] (Version Update 1.3.8->1.3.9d)
v1.3.8 (Fresh Installation)

If you can get this far then any other problems you may experience will need to be tackled on their own merits. If you can't get to this stage then go back to my Q1 and start again... If you STILL have problems then a copy of any error messages, etc would be very useful.

Cheers
Rod

17 Jun 2010, 10:21 AM
#15
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

Sorry, but I just have to ask this again .... are you SURE you created a NEW database for the NEW installation ? The reason I ask is because if the number of tables in the database has doubled then you are probably using the SAME database, but one set of tables has one prefix, and the other set of tables has a different prefix (or no prefix at all).

Only one set of these tables will be used at any given time, and this is controlled by your settings in your configuration files.

Cheers
Rod

Yes I am

17 Jun 2010, 12:52 PM
#16
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

Q2. Do you remember the name and password that you used for your original 138 installation? Yes - Copy those details into the configuration files for your NEW installation.

stefanl:

Tricky as my webhost created all this for me originally last year.

Gosh, dammit.... And If you can't remember those details just copy them from your 138 configure files.

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

17 Jun 2010, 1:07 PM
#17
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

Q2. Do you remember the name and password that you used for your original 138 installation? Yes - Copy those details into the configuration files for your NEW installation.

Gosh, dammit.... And If you can't remember those details just copy them from your 138 configure files.

I got it!

So if I now have the pw and log in in the configure file, then what would you suggest I would do from now?

If I had done it correctly from the start (139d zc_install...), and I were to make the step for 138 DB.
In the best of situations in case I would have done it properly, what would be the exact steps after making a 139d zc_install, to get the 138 database rolling?

Thanks

17 Jun 2010, 1:56 PM
#18
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

stefanl:

I got it!

So if I now have the pw and log in in the configure file, then what would you suggest I would do from now?

From where you last left off:

At this point, when you log in as admin and check the version information it will/should show something like

Zen Cart 1.3.9dDatabase Patch Level: 1.3.8
v1.3.8 (Fresh Installation)

Note the old database version, but the new zencart version. At this point you should now be able to run the 138-139 SQL update patch to bring the database up to date with the 139 data.. Checking the version information after doing this should then read something like:

Zen Cart 1.3.9dDatabase Patch Level: 1.3.9d
v1.3.9d [2010-06-10 22:22:41] (Version Update 1.3.8->1.3.9d)
v1.3.8 (Fresh Installation)

If you can get this far then any other problems you may experience will need to be tackled on their own merits. If you can't get to this stage then go back to my Q1 and start again... If you STILL have problems then a copy of any error messages, etc would be very useful.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

17 Jun 2010, 2:19 PM
#19
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: several overrides not working after my upgrade from 138 to 139d

RodG:

From where you last left off:

At this point, when you log in as admin and check the version information it will/should show something like

Zen Cart 1.3.9dDatabase Patch Level: 1.3.8
v1.3.8 (Fresh Installation)

Note the old database version, but the new zencart version. At this point you should now be able to run the 138-139 SQL update patch to bring the database up to date with the 139 data.. Checking the version information after doing this should then read something like:

Zen Cart 1.3.9dDatabase Patch Level: 1.3.9d
v1.3.9d [2010-06-10 22:22:41] (Version Update 1.3.8->1.3.9d)
v1.3.8 (Fresh Installation)

If you can get this far then any other problems you may experience will need to be tackled on their own merits. If you can't get to this stage then go back to my Q1 and start again... If you STILL have problems then a copy of any error messages, etc would be very useful.

Cheers
Rod

Thanks,

trying to get this workflow right, and if I would redo the process for example. (Best thinking for me to understand the workflow)

1 -
So should I install 138 zc_install on a new subdomain and from there go to Admin page / Tools / Install SQL Patch - and there choose a certain named sql file, the mysql_138_upgrade to_139.sql?

2 -
Or should I on a new subdomain install 139d zc_install, go to Admin page / Tools / Install SQL Patch - and install mysql_138_upgrade to_139.sql?

The file mysql_138_upgrade to_139.sql may be called slightly different but the one found in zc_install/sql folder.

17 Jun 2010, 2:50 PM
#20
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: several overrides not working after my upgrade from 138 to 139d

stefanl:

Thanks,

trying to get this workflow right, and if I would redo the process for example. (Best thinking for me to understand the workflow)

1 -
So should I install 138 on a new subdomain

Now why would you want to install something that is already installed?

stefanl:

2 -
Or should I on a new subdomain install 139d zc_install,

This much you have already done, and is pretty much where we a currently at....

stefanl:

go to Admin page / Tools / Install SQL Patch - and install mysql_138_upgrade to_139.sql?

Yes, but BEFORE doing this you need to (or needed to) ensure that you are using the OLD database rather than the NEW database, or (preferably) you need to replace the contents of the NEW database with the contents of the OLD database.

By replacing the new with a copy of the old, the old will remain untouched.

By editing the configure files so the new install is using the old database is a little less work and probably less prone to producing errors, but in doing so you will be modifying the old database, so if something does goes wrong you won't have this choice on the next attempt, you will need to replace the contents of both the old and new databases from your offline backup.

stefanl:

The file mysql_138_upgrade to_139.sql may be called slightly different but the one found in zc_install/sql folder.

Yes, but only do this after you have done the database switch, because the previous times that you ran this script it was on the new database, rather than the old one (or copy of).

In regards to getting the workflow right, I really do have to tell you for an upgrade you really have gone about it the hard way. Following the original upgrade instructions would have been so much easier. The instructions I am giving you now are really to help keep you moving forward rather than having to start afresh, especially since you are so very close to 'completion'
Cheers
rod.

ps. 'Tis bedtime over here... you're on your own until morning

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.