1.0.8.2 Questions / Comments / Concerns

Open to all! Ask other shopowners for help.
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

Post by loop »

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:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Has thanked: 93 times
Been thanked: 162 times

Re: 1.0.8.2 Questions / Comments / Concerns

Post by zipurman »

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

Post by heatherbell »

loop wrote: Thu Apr 29, 2021 9:10 pmi'm not sure what's the best approach...: is to update a liveshop from every version to every version?
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

Post by ecartz »

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

Post by vmn »

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
vmn

Re: 1.0.8.2 Questions / Comments / Concerns

Post by vmn »

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);
}
User avatar
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

Post by tessthepup »

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.
User avatar
edfaught
Member
Posts: 49
Joined: Mon Oct 26, 2020 3:22 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 2 times

Re: 1.0.8.2 Questions / Comments / Concerns

Post by edfaught »

Specified key was too long; max key length is 1000 bytes

See viewtopic.php?p=4047#p4047
User avatar
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

Post by tessthepup »

edfaught 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
Cheers all sorted :D


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply