Jump to content

Edit History

TillyOak

TillyOak

Well, after a lot of messing around with various settings in the back office of the test site, I cleared the cache from the Faceted search module and unbelievably customer logins started working again, even registrations were working!!.   I re-applied permissions to the folders again to see if that would help editing the products without throwing the "unable to update settings" error but all that happened is the site crashed out.   Not sure if it was something to do with reapplying the permissions or not, but I left the perms as they were and just restored the old site and dbase back to the test site and did the upgrade again, went through all the steps above again and this time I could edit the products and with a bit of fumbling managed to get the customer logins working again, so the test site was now completely up and running!!!

Thinking all was well, I went ahead and upgraded the main site and again went through all the steps above, however no matter what I did I just couldn't get customer logins or registrations to work again, nor can I now edit any products that has combinations so I'm literally at the point now where I probably have to admit defeat.  The upgrade just isn't going to work as smoothly as it should so the only option for us is to probably create another "test" site and perform a clean install of 1.7.xx and try to just recreate everything.  I'll try migrating customer data across at the bare minimum but I reckon it will be easier in the long run to just manually re-create all the other data, cats, products, etc, and if the customer migration doesn't go well I'm likely looking at having to rely on previous customers re-registering.

Never would I have believed that "upgrading" prestashop would be as difficult, tiring or as ridiculous as this and having spent the last week searching for answers on this forums it's clear there is a huge issue for many  trying to get from 1.6 => 1.7 and for many it appears they have given up and moved on to other platforms out of sheer frustration which is a shame, because Prestashop is a fine platform which is let down by what appears to be a lack of concise support in matters like this.   All respect to those who are here and try their best, but given the amount of threads which are left unsolved and fragmented it's like walking through treacle trying to find the answers.

 

TillyOak

TillyOak

Well, strangely I once again decided to go ahead and rebuild the test site - exactly as I did before but this time I left the permissions alone and guess what? I can now edit products without an issue and unbelievably I managed to stagger across the issue with customer logins and registrations too, logging in just didn't work and a new registration brought a "Server 500" error and the simple fix for me was to clear the cache in the Faceted search Module !!  I'm outlining my progress path below just in case anyone else has been experiencing or is experiencing similar issues to myself after upgrading or for those unfortunate enough, like me, to have to upgrade from 1.6.   Hopefully it will take some of the pain from the upgrade!.

 

Before File Transfer & Upgrade
=========================

*** BACKUP YOUR HOME DIR & DATABASE ***

Don't rely on the prestashop built in backups, do it manually or get your host to confirm they have a current backup of BOTH!.

Make sure the language is set to (I presume) US (en) and any other language is disabled

In Advanced => Performance, disable Non-native mods and Overrides

After File Transfer
===================
FOLDERS - 755
FILES - 644
(NOTE - I did this previously and consider my messing with the permissions to have caused an issue with being able to modify products, although I can't be sure of that 100% by not messing with the permissions and by upgrading anyway I was then able to modify products - could have been luck, but something tells me otherwise, your call at the end of the day but if the perms are set right to begin with then all good)
Recursive as follows:
/app/logs
/app/Resources/translations
/cache
/config/themes
/download
/img
/log
/mails
/modules
/themes
/translations
/var

Run the upgrade script at YOURSITE/install/upgrade/upgrade.php

You MAY get an error like I always did which was .....

Quote

This page contains the following errors:
error on line 1021 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Don't worry about it, just go ahead and try to access your newly upgraded Admin panel at YOURDOMAIN/admin but before you do you should really delete the cache on your own browser, because otherwise it can cause some strange behaviour, it did for me.

You'll need to delete the "install" folder from your server before you can log in, but assuming that's done you should be able to log into the Admin Panel (see further down as you may still have issues).

After Upgrade
=============
Delete contents /var/cache/* (this means anything in the "cache" folder to be deleted)

If, or even if you don't, have "access denied" issues on your Admin Panel, I think it's best to drop and reinstate the ps_access table I reckon, this is done via MyPHP and if you can't figure it out I'd ask your host to do it for you.   Attached to this thread is a fresh ps_access.zip file, that simply needs to be "imported" into your dbase from MyPHP.
 

Before you do anything else, goto the Module Manager and check the "alerts" and "updates" tabs and update everything that it recommends you do.

Then, go to "International" and change your language back to what it was.   Whether you want other languages enabled, etc, is your choice.

Clear Cache in the Faceted search Module (search for it in Module Manager) which in my case resolved the customer login and registration issues.

If, like me, you find yourself with a rather ugly and malformed front end site, I'd suggest taking a look at some of the forums for a free theme just to get things back in order on the frontend.

One thing that did annoy me also about the product page, was the fact the description was aligned to the right, I wanted it full screen and if you're the same, do the following ....

Open: /themes/classic/templates/catalog/product.tpl

Find line containing:

{block name='product_tabs'}

Then insert the following code before that line:

</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div>

If you now find yourself with a fully working upgraded site, please feel free to do a lap of honour around the room, if you are still banging your head against a brick wall, do what I did and swear a lot and be prepared from a long haul !!!.

I'll continue to test the site before I attempt to upgrade the live site, but it's looking a damn site better now than it did before, marking this thread as [solved].

ps_access.zip

TillyOak

TillyOak

Well, strangely I once again decided to go ahead and rebuild the test site - exactly as I did before but this time I left the permissions alone and guess what? I can now edit products without an issue and unbelievably I managed to stagger across the issue with customer logins and registrations too, logging in just didn't work and a new registration brought a "Server 500" error and the simple fix for me was to clear the cache in the Faceted search Module !!  I'm outlining my progress path below just in case anyone else has been experiencing or is experiencing similar issues to myself after upgrading or for those unfortunate enough, like me, to have to upgrade from 1.6.   Hopefully it will take some of the pain from the upgrade!.

 

Before File Transfer & Upgrade
====================

Make sure the language is set to (I presume) US (en) and any other language is disabled

In Advanced => Performance, disable Non-native mods and Overrides

After File Transfer
===================
FOLDERS - 755
FILES - 644
(NOTE - I did this previously and consider my messing with the permissions to have caused an issue with being able to modify products, although I can't be sure of that 100% by not messing with the permissions and by upgrading anyway I was then able to modify products - could have been luck, but something tells me otherwise, your call at the end of the day but if the perms are set right to begin with then all good)
Recursive as follows:
/app/logs
/app/Resources/translations
/cache
/config/themes
/download
/img
/log
/mails
/modules
/themes
/translations
/var

Run the upgrade script at YOURSITE/install/upgrade/upgrade.php

You MAY get an error like I always did which was .....

Quote

This page contains the following errors:
error on line 1021 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Don't worry about it, just go ahead and try to access your newly upgraded Admin panel at YOURDOMAIN/admin but before you do you should really delete the cache on your own browser, because otherwise it can cause some strange behaviour, it did for me.

You'll need to delete the "install" folder from your server before you can log in, but assuming that's done you should be able to log into the Admin Panel (see further down as you may still have issues).

After Upgrade
=============
Delete contents /var/cache/* (this means anything in the "cache" folder to be deleted)

If, or even if you don't, have "access denied" issues on your Admin Panel, I think it's best to drop and reinstate the ps_access table I reckon, this is done via MyPHP and if you can't figure it out I'd ask your host to do it for you.   Attached to this thread is a fresh ps_access.zip file, that simply needs to be "imported" into your dbase from MyPHP.
 

Before you do anything else, goto the Module Manager and check the "alerts" and "updates" tabs and update everything that it recommends you do.

Then, go to "International" and change your language back to what it was.   Whether you want other languages enabled, etc, is your choice.

Clear Cache in the Faceted search Module (search for it in Module Manager) which in my case resolved the customer login and registration issues.

If, like me, you find yourself with a rather ugly and malformed front end site, I'd suggest taking a look at some of the forums for a free theme just to get things back in order on the frontend.

One thing that did annoy me also about the product page, was the fact the description was aligned to the right, I wanted it full screen and if you're the same, do the following ....

Open: /themes/classic/templates/catalog/product.tpl

Find line containing:

{block name='product_tabs'}

Then insert the following code before that line:

</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div>

If you now find yourself with a fully working upgraded site, please feel free to do a lap of honour around the room, if you are still banging your head against a brick wall, do what I did and swear a lot and be prepared from a long haul !!!.

I'll continue to test the site before I attempt to upgrade the live site, but it's looking a damn site better now than it did before, marking this thread as [solved].

ps_access.zip

TillyOak

TillyOak

Well, strangely I once again decided to go ahead and rebuild the test site - exactly as I did before but this time I left the permissions alone and guess what? I can now edit products without an issue and unbelievably I managed to stagger across the issue with customer logins and registrations too, logging in just didn't work and a new registration brought a "Server 500" error and the simple fix for me was to clear the cache in the Faceted search Module !!  I'm outlining my progress path below just in case anyone else has been experiencing or is experiencing similar issues to myself after upgrading or for those unfortunate enough, like me, to have to upgrade from 1.6.   Hopefully it will take some of the pain from the upgrade!.

 

Before File Transfer & Upgrade
====================

Make sure the language is set to (I presume) US (en) and any other language is disabled

In Advanced => Performance, disable Non-native mods and Overrides

After File Transfer
===================
FOLDERS - 755
FILES - 644
(NOTE - I did this previously and consider my messing with the permissions to have caused an issue with being able to modify products, although I can't be sure of that 100% by not messing with the permissions and by upgrading anyway I was then able to modify products - could have been luck, but something tells me otherwise, your call at the end of the day but if the perms are set right to begin with then all good)
Recursive as follows:
/app/logs
/app/Resources/translations
/cache
/config/themes
/download
/img
/log
/mails
/modules
/themes
/translations
/var

Run the upgrade script at YOURSITE/install/upgrade/upgrade.php

You MAY get an error like I always did which was .....

Quote

This page contains the following errors:
error on line 1021 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Don't worry about it, just go ahead and try to access your newly upgraded Admin panel at YOURDOMAIN/admin but before you do you should really delete the cache on your own browser, because otherwise it can cause some strange behaviour, it did for me.

You'll need to delete the "install" folder from your server before you can log in, but assuming that's done you should be able to log into the Admin Panel (see further down as you may still have issues).

After Upgrade
=============
Delete contents /var/cache/* (this means anything in the "cache" folder to be deleted)

If, or even if you don't, have "access denied" issues on your Admin Panel, I think it's best to drop and reinstate the ps_access table I reckon, this is done via MyPHP and if you can't figure it out I'd ask your host to do it for you.   Attached to this thread is a fresh ps_access.zip file, that simply needs to be "imported" into your dbase from MyPHP.
 

Before you do anything else, goto the Module Manager and check the "alerts" and "updates" tabs and update everything that it recommends you do.

Then, go to "International" and change your language back to what it was.   Whether you want other languages enabled, etc, is your choice.

Clear Cache in the Faceted search Module (search for it in Module Manager) which in my case resolved the customer login and registration issues.

One thing that did annoy me also about the product page, was the fact the description was aligned to the right, I wanted it full screen and if you're the same, do the following ....

Open: /themes/classic/templates/catalog/product.tpl

Find line containing:

{block name='product_tabs'}

Then insert the following code before that line:

</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div>

If you now find yourself with a fully working upgraded site, please feel free to do a lap of honour around the room, if you are still banging your head against a brick wall, do what I did and swear a lot and be prepared from a long haul !!!.

ps_access.zip

×
×
  • Create New...