1.0.8.2 Questions / Comments / Concerns
-
- VIP Member
- Posts: 230
- Joined: Thu Mar 25, 2021 12:26 pm
- 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
- PhoenixCart Developer
- Posts: 474
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Has thanked: 84 times
- Been thanked: 147 times
Re: 1.0.8.2 Questions / Comments / Concerns
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
-
- VIP Member
- Posts: 2030
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 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.
-
- Lead Developer
- Posts: 2657
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 182 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.
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
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);
}
-
- VIP Member
- Posts: 253
- Joined: Mon Mar 01, 2021 5:55 pm
- Has thanked: 27 times
- Been thanked: 8 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.
-
- VIP Member
- Posts: 253
- Joined: Mon Mar 01, 2021 5:55 pm
- Has thanked: 27 times
- Been thanked: 8 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