1.0.8.2 Questions / Comments / Concerns
-
loop
- Contributor
- Posts: 253
- Joined: Thu Mar 25, 2021 12:26 pm
- Phoenix Version:
- Has thanked: 7 times
- Been thanked: 3 times
Re: 1.0.8.2 Questions / Comments / Concerns
i'm not sure what's the best approach...: is to update a liveshop from every version to every version? or if i don't update for example to 8.2 and i want to update to 8.5 or whatever, how can this be done? (of course, i could install a clean shop from scratch, but that would make a lot more work, than update every update at start....?
Tags:
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Has thanked: 93 times
- Been thanked: 162 times
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: 1.0.8.2 Questions / Comments / Concerns
Make sure that the addons you use are updated by the author before you update your live shop.
For example, addon authors might update their addon to 1.0.8.0 but will not revise the addon until 1.0.9.0 is released.
In that case, it is best to stay at 1.0.8.0 and then use the upgrader utility to go from 1.0.8.0 to 1.0.9.0.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: 1.0.8.2 Questions / Comments / Concerns
It also makes sense to update your test shop immediately on the release. Otherwise, you will never know if your add-ons are compatible or not. And if add-on makers have no feedback that their add-ons have stopped working, it is unlikely that they will update until they happen to notice.
-
vmn
Re: 1.0.8.2 Questions / Comments / Concerns
Admin login with two languages:
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP Notice: Undefined index: session_started in /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/form.php on line 82
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP Stack trace:
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP 1. {main}() /opt/lampp/htdocs/shop/myadmin/login.php:0
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP 2. Form->hide_session_id() /opt/lampp/htdocs/shop/myadmin/login.php:80
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP Notice: Undefined index: session_started in /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/form.php on line 82
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP Stack trace:
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP 1. {main}() /opt/lampp/htdocs/shop/myadmin/login.php:0
[30-Apr-2021 21:03:30 Europe/Helsinki] PHP 2. Form->hide_session_id() /opt/lampp/htdocs/shop/myadmin/login.php:80
-
vmn
Re: 1.0.8.2 Questions / Comments / Concerns
No catalog side images visible in admin, if DEFAULT_IMAGE is set.
Tested also with a vanilla 1.0.8.2 installation: same results.
Should the Image->web_prefix be set somewhere?
My fix:
in admin/includes/functions/html_output.php
in function tep_image
replace:
$image->set_prefix(DIR_FS_ADMIN);
with:
if (Text::is_prefixed_by($src, HTTP_CATALOG_SERVER)) {
$image->set_web_prefix(HTTP_CATALOG_SERVER . DIR_WS_CATALOG);
}
else {
$image->set_prefix(DIR_FS_ADMIN);
}
Tested also with a vanilla 1.0.8.2 installation: same results.
Should the Image->web_prefix be set somewhere?
My fix:
in admin/includes/functions/html_output.php
in function tep_image
replace:
$image->set_prefix(DIR_FS_ADMIN);
with:
if (Text::is_prefixed_by($src, HTTP_CATALOG_SERVER)) {
$image->set_web_prefix(HTTP_CATALOG_SERVER . DIR_WS_CATALOG);
}
else {
$image->set_prefix(DIR_FS_ADMIN);
}
- tessthepup
- Certified Developer
- Posts: 381
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: 1.0.8.2 Questions / Comments / Concerns
I am trying to install v1.0.8.2 in a virtual host using Wamp using PHP version 7.1.22 but get the following error when the install script is trying to install the sample data
There was a problem importing the database. The following error had occured:
Specified key was too long; max key length is 1000 bytes
Please verify the connection parameters and try again.
- tessthepup
- Certified Developer
- Posts: 381
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: 1.0.8.2 Questions / Comments / Concerns
Cheers all sortededfaught wrote: ↑Mon May 03, 2021 3:40 pm Specified key was too long; max key length is 1000 bytes
See viewtopic.php?p=4047#p4047