v1.0.8.1 Questions / Comments / Concerns

Ask the community for help and support.
Post Reply
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

Update instructions (from 1.0.8.0): https://github.com/CE-PhoenixCart/Updat ... .1/1.0.8.0
Update zip: https://github.com/CE-PhoenixCart/Updat ... update.zip
Release: https://github.com/CE-PhoenixCart/Phoen ... g/v1.0.8.1

This is the 1.0.8.1 release, the start of the 1.0.8.* series. Primary changes:

1. Continues to replace the old naming scheme.
2. Replaces manually loaded function files with autoloaded class methods (getting classy).
3. Updates the certificate bundle for use with curl.
4. Converts to utf8mb4 for better internationalization support.
5. Adds a new hook for use by link rewriters.
6. Introduces chain hooks.
7. Better handling of countries in orders inserted before payment completion.

Tags:
User avatar
mhsuffolk
VIP Member
VIP Member
Posts: 146
Joined: Sat Oct 26, 2019 9:13 am
Has thanked: 8 times
Been thanked: 5 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by mhsuffolk »

1.0.8.1 PHP 7.4 Xampp
Updated the database tables collation using the database tables.php page
All tables updated correctly but this error was thrown at completion.

Fatal error: Uncaught Error: Call to undefined method Button::set_link() in D:\Phoenix_1_0_8_0\htdocs\****\database_tables.php:216 Stack trace: #0 {main} thrown in D:\Phoenix_1_0_8_0\htdocs\****\database_tables.php on line 216
Live shop Phoenix 1.0.9.0 on PHP 8.0
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

mhsuffolk wrote: Sat Mar 27, 2021 1:56 pm 1.0.8.1 PHP 7.4 Xampp
Updated the database tables collation using the database tables.php page
All tables updated correctly but this error was thrown at completion.

Fatal error: Uncaught Error: Call to undefined method Button::set_link() in D:\Phoenix_1_0_8_0\htdocs\****\database_tables.php:216 Stack trace: #0 {main} thrown in D:\Phoenix_1_0_8_0\htdocs\****\database_tables.php on line 216
TY. https://github.com/CE-PhoenixCart/Phoen ... c830064e45
philpla
Posts: 27
Joined: Sun Feb 28, 2021 8:37 am
Has thanked: 2 times
Been thanked: 1 time

Re: v1.0.8.1 Questions / Comments / Concerns

Post by philpla »

Many thx for the new version ... and for the great work at all!!!

one point:
for the PayPal app ... the function getBalance did stop working for me.
After some research I found that the XHR call to admin/paypal.php has GET vars joined wrong
?action=balance&subaction=retrieve&type=live
I changed

Code: Select all

  $.get('{$get_balance_url}'.replace('PPTYPE', type), function (data) {
to

Code: Select all

  $.get('{$get_balance_url}'.replace('PPTYPE', type).replaceAll('&','&'), function (data) {
and it works now ... but anyway this is just a work around.

Maybe someone can look on it.
Fiber
VIP Member
VIP Member
Posts: 121
Joined: Mon Oct 26, 2020 12:16 pm
Has thanked: 12 times
Been thanked: 19 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by Fiber »

New install with xampp in admin>Tools>Database Tables>thickbox right corner click all, and then choose a option for example analyze db tables see fatal error...

Code: Select all

Fatal error: Uncaught Error: Call to undefined function set() in E:\xampp\htdocs\1081\admin06\database_tables.php:85 Stack trace: #0 {main} thrown in E:\xampp\htdocs\1081\admin06\database_tables.php on line 85
Turn up the Max
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

Fiber wrote: Sun Mar 28, 2021 11:42 am New install with xampp in admin>Tools>Database Tables>thickbox right corner click all, and then choose a option for example analyze db tables see fatal error...

Code: Select all

Fatal error: Uncaught Error: Call to undefined function set() in E:\xampp\htdocs\1081\admin06\database_tables.php:85 Stack trace: #0 {main} thrown in E:\xampp\htdocs\1081\admin06\database_tables.php on line 85
TY. https://github.com/CE-PhoenixCart/Phoen ... 1900d90493
vmn
Posts: 40
Joined: Mon Mar 08, 2021 8:59 am
Has thanked: 3 times
Been thanked: 1 time

Re: v1.0.8.1 Questions / Comments / Concerns

Post by vmn »

Vanilla 1.0.8.1 full installation.

If DEFAULT_IMAGE is set:

[28-Mar-2021 19:35:50 Europe/Helsinki] PHP Notice: Undefined variable: src in /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/image.php on line 102
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP Stack trace:
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 1. {main}() /opt/lampp/htdocs/shop/admin/configuration.php:0
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 2. require() /opt/lampp/htdocs/shop/admin/configuration.php:41
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 3. hooks->call() /opt/lampp/htdocs/shop/admin/includes/template_top.php:41
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 4. hooks->cat() /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/hooks.php:144
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 5. hook_admin_siteWide_hMenu->listen_injectBodyStart() /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/hooks.php:150
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 6. tep_image() /opt/lampp/htdocs/shop/includes/hooks/admin/siteWide/hMenu.php:80
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 7. Image->__toString() /opt/lampp/htdocs/shop/admin/includes/functions/html_output.php:72
...


Fix for includes/system/versioned/1.0.8.1/image.php:

public function __toString() {
$src = $this->parameters['src']; //VMN added
if (defined('DEFAULT_IMAGE') && !Text::is_empty(DEFAULT_IMAGE) && !is_file("{$this->prefix}$src")) {
...
}
}
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

vmn wrote: Sun Mar 28, 2021 4:55 pm If DEFAULT_IMAGE is set:

[28-Mar-2021 19:35:50 Europe/Helsinki] PHP Notice: Undefined variable: src in /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/image.php on line 102
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP Stack trace:
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 1. {main}() /opt/lampp/htdocs/shop/admin/configuration.php:0
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 2. require() /opt/lampp/htdocs/shop/admin/configuration.php:41
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 3. hooks->call() /opt/lampp/htdocs/shop/admin/includes/template_top.php:41
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 4. hooks->cat() /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/hooks.php:144
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 5. hook_admin_siteWide_hMenu->listen_injectBodyStart() /opt/lampp/htdocs/shop/includes/system/versioned/1.0.8.1/hooks.php:150
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 6. tep_image() /opt/lampp/htdocs/shop/includes/hooks/admin/siteWide/hMenu.php:80
[28-Mar-2021 19:35:50 Europe/Helsinki] PHP 7. Image->__toString() /opt/lampp/htdocs/shop/admin/includes/functions/html_output.php:72
TY. https://github.com/CE-PhoenixCart/Phoen ... 2915db599a
Owl
Posts: 31
Joined: Sun Feb 28, 2021 8:03 pm
Has thanked: 13 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by Owl »

If you select the "Override" template:

Fatal error: Uncaught Error: Call to a member function real_escape_string() on array in /xxx/xxx/xxx/xxx/includes/functions/database.php:71 Stack trace: #0 /xxx/xxx/xxx/xxx/includes/functions/sessions.php(36): tep_db_input('d8tl1rkk5o2jaii...') #1 [internal function]: _sess_write('d8tl1rkk5o2jaii...', 'sessiontoken|s:...') #2 [internal function]: session_write_close() #3 {main} thrown in /xxx/xxx/xxx/xxx/includes/functions/database.php on line 71

PHP 7.4
Owl
Posts: 31
Joined: Sun Feb 28, 2021 8:03 pm
Has thanked: 13 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by Owl »

Went for the Clean install and also got this:
You do not have the required permissions to view the files attached to this post.
Post Reply