Forums / Upgrading from 1.3.x to 1.3.9 / Recovering My Site- NEED HELP

Recovering My Site- NEED HELP

Started by kaniki on 6 Apr 2011, 9:53 PM · Views: 4,093

Results 21 to 40 of 43
10 Apr 2011, 7:14 AM
#21
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Recovering My Site- NEED HELP

misty:

Suggest adding one custom module/template at a time...
then make sure all still working before moving on to the next.
Have just upgraded site from 1.38a to 139h using this method.

That is exactly what I am doing... now....

Before- i went all for broke- and that is exactly what happened.. I ASSumed- my backup would just click right in...

note to anyone reading!! Keep notes as you go- keeping track of changes you made to where- and what ... It has really been helping me a lot..

And as Misty said- one folder/ or rather for me- one file- at a time.. I've been going through each and every single file and folder "matching" or finding differences between my backup- and the downloaded copy of the "Fresh Install"... And make sure you are comparing the same versions.. If you have 1.3.9 f- then start with that- using a fresh install- and then load your backup- AFTER you have gone through it with a fine tooth comb...

Wish I had done that week ago!!!!

Another note- to self or whoever reads this.. All servers are not alike.. If you do what I did- and go from a windows server to a linux server... Oh My!!!

Be very very careful with all of your php files.. Make sure you don't have duplicates- and make sure you are careful with using "case sensitive" links. If you name a folder with a capital letter in the front ( which I found is not a great idea )- then make sure anything linking to it- is also with a capital letter-- For example- I named my images folder "Images".. because I actually have used this folder for external linking for a long time- and have many many images out on net- linking to this folder...

So- had to go through my config files- and make sure the images folders referenced to- were named "images" or "Images" as needed...

I'm not "fixed" yet- but am posting notes and follow ups and my progress so people will hopefully benefit.... I saw TONS of forum threads related to the issues I am having- only they weren't "Boshing" it up as badly as I did!!! LOL...

Will post back...

Thanks Misty- good luck with your upgrade.. After I'm done restoring my site- I am going to sleep for 24 hours!!!! :)

Niki

10 Apr 2011, 7:28 AM
#22
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Recovering My Site- NEED HELP

saw TONS of forum threads related to the issues I am having- only they weren't "Boshing" it up as badly as I did!!! LOL...
Been there, done that, so don't be so hard on yourself.
Get some sleep, then start again.. those little grey cells
need a break !!
:wink:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

10 Apr 2011, 7:44 AM
#23
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

misty:

Been there, done that, so don't be so hard on yourself.
Get some sleep, then start again.. those little grey cells
need a break !!
:wink:

As soon as I get this fixed- THEN I'll sleep!! I've been losing sales and busienss for 8 going on 9 days!! NOT GOOD!!! :) LOL....

I still keep getting this error message... And the blank page thing- so still looking for the culprit (s)..

[10-Apr-2011 00:41:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/languages/english/extra_definitions/custom/absolute_links2_defines.php:25) in /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/functions/functions_general.php on line 45

I deleted that extra includes includes folder- but--- still the blank page thing..

Does this mean I should look in my functions instead????

Anyone still awake??? :)

10 Apr 2011, 7:53 AM
#24
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Recovering My Site- NEED HELP

So you installed brand new version of 1.39h and then added your saved copy of existing database(1.39f)
All was good here?
If so, then you started adding 1 template/module at a time,
checking first, in Free Software Addons, that no new releases of particular module/template had been released for 1.39h?

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

10 Apr 2011, 8:07 AM
#25
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

misty:

So you installed brand new version of 1.39h and then added your saved copy of existing database(1.39f)
All was good here?
If so, then you started adding 1 template/module at a time,
checking first, in Free Software Addons, that no new releases of particular module/template had been released for 1.39h?

No Misty... I am back to using 1.3.9 f not h....

When I tried a brand new install of h- it went worse than now....

Sooo- I found article in help tutorials- and it said to go back to the version that you were using- install that- then copy your backup files over the top of the clean fresh install.. Except for the two config files.... So- that's what I did...

I think I screwed up several times there too- but eventually- and even now- my admin is working perfectly.. And the whole time- I hhave had my database restored and in tact.. It'st there.. Take a gander at site- - and all products up- and I have all of the links- etc. etc.. My customers- and orders- all in admin!!

Admin is good!!

BIG PROBLEM- are these blank pages.....

Read my message above.. I found the last cache error and posted it...

it keeps referring to this module I installed- the absolute links module...

I am looking at my files and folders on the server- and the files for that module are placed in the following:

includes/languages/english/extra_definitions/custom/absolute_links_defines.php ( and absolute_links2_fefines.php))

includes/modules/sideboxes/absolute_links.php ( and absolute_links2.php)

templates/custom/sideboxes/tpl_absolute_links.php ( and a links 2 like above)

So- as far as I can tell- they are in right folders per instructions- installing them- and they are not anywhere else in my root- as far as I can tell--- So- how does this module effect the blank pages and functions situation I am getting???

I'm stuck!!

10 Apr 2011, 8:10 AM
#26
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

Maybe I don't need this in a "custom" folder in languages???

includes/languages/english/extra_definitions/custom/absolute_links_defines.php ( and absolute_links2_fefines.php))

Maybe there shouldn't be a custom folder at all in the includes/languages/english/extra_definitions folder?? I see that the other 3 folders- the module files were placed directily in them.. No custom folders made...

Am I not using this over rides correctly???

10 Apr 2011, 8:17 AM
#27
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

Kaniki:

Maybe I don't need this in a "custom" folder in languages???

includes/languages/english/extra_definitions/custom/absolute_links_defines.php ( and absolute_links2_fefines.php))

Maybe there shouldn't be a custom folder at all in the includes/languages/english/extra_definitions folder?? I see that the other 3 folders- the module files were placed directily in them.. No custom folders made...

Am I not using this over rides correctly???

OR???? Should I have "custom" folders in the other two folders-

I can see why there may be a problem- but not sure if I'm correct...

I see thse extra modules I have are like this...

includes/languages/english/extra_definitions/custom/ "my add on module"

includes/modules/sideboxes/ "my add on module"" --- no custom

includes/templates/custom/ "my add on module" -- no extra custom

????????????????

10 Apr 2011, 8:18 AM
#28
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Recovering My Site- NEED HELP

OK, but bearing in mind I have never attempted to upgrade
using method you have currently adopted....because has always worked using suggested method in my last post.

Module absolute links....I notice some of files are placed in your "custom" template folder, whilst others are not...

Try deleting ALL files for JUST that particular module and reinstall.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

10 Apr 2011, 8:30 AM
#29
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

Kaniki:

OR???? Should I have "custom" folders in the other two folders-

I can see why there may be a problem- but not sure if I'm correct...

I see thse extra modules I have are like this...

includes/languages/english/extra_definitions/custom/ "my add on module"

includes/modules/sideboxes/ "my add on module"" --- no custom

includes/templates/custom/ "my add on module" -- no extra custom

????????????????

I got rid of the custom folder in languages/english/extra_definitons- and put all my add on modules directly in the extra_definitions folder-

NOW- I am still getting those blank pages- like when I try to log in etc... but the wierd thing is- is that the modules- sideboxes- and stuff are all still working...

Still have blank pages when doing something- such as logging in and logging out- or deleting an item from cart- etc. etc....

AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

Here's my new error in the cache:

[10-Apr-2011 01:25:12] PHP Warning: session_regenerate_id() [<a href='function.session-regenerate-id'>function.session-regenerate-id</a>]: Cannot regenerate session id - headers already sent in /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/functions/sessions.php on line 179
[10-Apr-2011 01:25:12] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/languages/english/extra_definitions/absolute_links2_defines.php:25) in /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/functions/functions_general.php on line 45

10 Apr 2011, 8:35 AM
#30
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Recovering My Site- NEED HELP

Because all modules etc have been added en block, difficult to know which is causing the problem, but previous errors referred to absolute links mod, which is why suggested removing that completely. If no problems occur after removal, then that is not causing errors, so can be reinstalled.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

10 Apr 2011, 8:39 AM
#31
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

misty:

Because all modules etc have been added en block, difficult to know which is causing the problem, but previous errors referred to absolute links mod, which is why suggested removing that completely. If no problems occur after removal, then that is not causing errors, so can be reinstalled.

I am deleting them now as we speak.... The absolute links modules.. I wasn't using them anyway- so might as well uninstall their files....

I'll post back...

10 Apr 2011, 8:47 AM
#32
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

Kaniki:

I am deleting them now as we speak.... The absolute links modules.. I wasn't using them anyway- so might as well uninstall their files....

I'll post back...

I removed those two absolute link add ons- and now the cache says it's another module- login header..

Are we sure that the problem of the blank page after using stuff is in this languages/english/extra defintions???

or could there be something else- something effecting how the pages appear- after you click on them???

This is new cache error message- and still getting blank pages- even though the link in the address bar- says we are on the page- but nothing shows up!!!!

New cache message: [10-Apr-2011 01:25:12] PHP Warning: session_regenerate_id() [<a href='function.session-regenerate-id'>function.session-regenerate-id</a>]: Cannot regenerate session id - headers already sent in /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/functions/sessions.php on line 179
[10-Apr-2011 01:25:12] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/languages/english/extra_definitions/absolute_links2_defines.php:25) in /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/functions/functions_general.php on line 45

Hope someone can help!!! I'm Stuck still!!!

10 Apr 2011, 8:51 AM
#33
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

misty:

OK, but bearing in mind I have never attempted to upgrade
using method you have currently adopted....because has always worked using suggested method in my last post.

Module absolute links....I notice some of files are placed in your "custom" template folder, whilst others are not...

Try deleting ALL files for JUST that particular module and reinstall.

I missed this post- but wanted to respond...

This wasn't exactly an "upgrade"... Again- this was a brand new install of verson 1.3.9f on a brand new server- a linux server...

And then I copied my backup folder from the last time my site was working ( on a windows server) over the top of the new install- as I was told to do in instructions on "Moving your site to a new server"....

UG!!! Still at loss...

P.s.. Deleted the absolute links modules... Both 1 and 2... Gone- and still all the erros and problems....

10 Apr 2011, 9:07 AM
#34
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Recovering My Site- NEED HELP

Again- this was a brand new install of verson 1.3.9f on a brand new server- a linux server...
So when you installed new version of 1.39f on linux
and added your copied database
( from original previous 1.39f zencart) all worked ok,
BEFORE adding extra additions of modules/template?

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

10 Apr 2011, 9:18 AM
#35
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

misty:

So when you installed new version of 1.39f on linux
and added your copied database
( from original previous 1.39f zencart) all worked ok,
BEFORE adding extra additions of modules/template?

yes- at one point- I had the old database- and default template showing my products- and the admin worked- then I started copying over my old files like it said...

I'm gonna trouble shoot more when I wake up!! I'm falling over in my chair...

I'll be back SOON!!!

Thanks for trying to help me!!! I just can't even think.. Been at it for almost 18 hours....

10 Apr 2011, 9:32 AM
#36
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Recovering My Site- NEED HELP

yes- at one point- I had the old database- and default template showing my products- and the admin worked
THIS is where you should start adding ONE module/template
at a time.....TEST, if all still ok....move onto next module.
I just can't even think.. Been at it for almost 18 hours....
As stated B4, been there..TIP....go to bed, sleep, and start
again as per my outlines above, in this latest post.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

10 Apr 2011, 9:36 AM
#37
drbyte avatar

drbyte

Sensei

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

Re: Recovering My Site- NEED HELP

Kaniki:

[10-Apr-2011 01:25:12] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/a/n/kaniki9102/html/justforkeeps/includes/languages/english/extra_definitions/absolute_links2_defines.php:25) in ...

I just looked in the Tutorials/FAQs area and used the search to look for articles related to "PHP Warning: Cannot modify header information - headers already sent", and came up with this one: https://www.zen-cart.com/tutorials/index.php?article=87
.. and it suggests that you've got bad stuff going on at line 25 of that absolute_links2_defines.php file.
Peek at the article for some guidance.

And maybe this one too: https://www.zen-cart.com/tutorials/index.php?article=313

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

10 Apr 2011, 3:34 PM
#38
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

Kaniki:

...Oh- boy!!!
I just found a folder in my includes folder- and it is named "includes"... Holy hanna.. I'm thinking- it might? have something to do with some of this!! ...
There should not be an includes folder inside your includes folder.

Toss it, and ... er, um, ... start agin. :shocking:

Rob

IGGNORE ME -- I didn't read to the end of the thread.:blush:

Breakfast: the most important donut of the day.

10 Apr 2011, 8:37 PM
#39
kaniki avatar

kaniki

Zen Follower

Join Date:
Sep 2010
Posts:
111
Plugin Contributions:
0

Re: Recovering My Site- NEED HELP

misty:

THIS is where you should start adding ONE module/template
at a time.....TEST, if all still ok....move onto next module.

As stated B4, been there..TIP....go to bed, sleep, and start
again as per my outlines above, in this latest post.

Misty- thank you for staying up with me last night- lol... I mean- this morning!!!!

Today- I did these things:

FIRST- I took the whole includes folder- and opened it up in WinMerge- and compared it to a fresh install version of 1.3.9f that I was using to help with this... I found tons of wierd things- or extra files that really didn't need to be in my cart folder.. So - deleted them and cleaned things up!!!

Any files - main files that were different in my uploaded server version- from the original- I copied the original core files over on top of them to replace them- JUST in case that was a problem...

So- after that- still had all those errors- and then went full bore on the modules!!!!

I was not using the login-header add on module- or the log in box add on module- so I deleted the log in box one first..

No change- still blank page errors.. Sooooo- I went ahead and tackled the log in header module- and compared to the original download files for that..

THIS was the nasty bad culprit module causing all of these blank page issues!!! BAD MODULE.. :)

Welll- actually- the php codes and everything was exact- BUT- they were not in the right folders.. I deleted them all- tried to put them back in- but that wasn't working- so I completely Deleted those module folders and files and.....

MY SITE IS FIXED!!!!!! YAY!!!!! 9 days of zen hell!!!!

WHOOOO HOOOOO!!!!!

A few notes for those who find this!!!

Read Dr. Bytes Links- and if you have issues with the same errors- I reccomend using WinMerge to compare files and folders- and really take your time going through the files and codes JUST to make sure they match..

When I found errors- I just used the original core files from a fresh download version- ( same version as your backed up copy)

Also- WInmerge- PRICELESS... Absolutely helped tons!!!

And.... Thank you Misty- for helping and everyone else....

Misty- the modules didn't play well- or something went wrong went transferring from backup to the new install.. THIS can be devastaing on your site... One module add on- with even just one file out of place can bosh up the whole system!!!! holy hanna...

Now- the only issue I am having with my site is getting my downloadable product to come through without being "corrupt?" Something went wrong there too..

BUT- it's not timing out- so that is a bonus....

Okay- going to fix the download issue- then do a test create account- and test purchase- and clean up some image links.....

Hope that my follow ups help someone else-- This has been a Disaster- and without the forum- I'd a been without a website!!!

Thanks to all....

10 Apr 2011, 11:18 PM
#40
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Recovering My Site- NEED HELP

Misty- thank you for staying up with me last night- lol... I mean- this morning!!!!
No problem, was actually around 9.00am here in UK.
Pleased to hear progress made and your site almost back
to normal. Well Done !!

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others