1.0.8.12 Questions / Comments / Concerns
-
- Lead Developer
- Posts: 2656
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 182 times
1.0.8.12 Questions / Comments / Concerns
Update instructions (from 1.0.8.11): https://github.com/CE-PhoenixCart/Updat ... /README.md
Update zip: https://github.com/CE-PhoenixCart/Updat ... update.zip
Release: https://github.com/CE-PhoenixCart/Phoen ... /v1.0.8.12
This is the 1.0.8.12 release, in the 1.0.8.* series. Primary changes:
1. Modernize PayPal App
This release only changes the PayPal App, as the PayPal App alone has enough files for a release. This updates from the old functions to the new class methods so that the PayPal App should continue to work in the 1.0.9.* series after the legacy functions are removed.
The next release will remove legacy files. Some are no longer used. Others will move out of core and into apps that can be installed separately. Subsequent releases will focus on updating admin to use the new class methods. The 1.0.8.* series will be finished when all references to the legacy functions are removed everywhere but the admin/includes/application_top.php file and the system hooks. In the 1.0.9.0 release, the legacy functions will still be available but no longer used in core. The 1.0.9.* series will remove the legacy functions entirely so that they are no longer available.
Update zip: https://github.com/CE-PhoenixCart/Updat ... update.zip
Release: https://github.com/CE-PhoenixCart/Phoen ... /v1.0.8.12
This is the 1.0.8.12 release, in the 1.0.8.* series. Primary changes:
1. Modernize PayPal App
This release only changes the PayPal App, as the PayPal App alone has enough files for a release. This updates from the old functions to the new class methods so that the PayPal App should continue to work in the 1.0.9.* series after the legacy functions are removed.
The next release will remove legacy files. Some are no longer used. Others will move out of core and into apps that can be installed separately. Subsequent releases will focus on updating admin to use the new class methods. The 1.0.8.* series will be finished when all references to the legacy functions are removed everywhere but the admin/includes/application_top.php file and the system hooks. In the 1.0.9.0 release, the legacy functions will still be available but no longer used in core. The 1.0.9.* series will remove the legacy functions entirely so that they are no longer available.
Tags:
-
- VIP Member
- Posts: 119
- Joined: Thu Oct 29, 2020 12:34 pm
- Has thanked: 11 times
- Been thanked: 4 times
Re: 1.0.8.12 Questions / Comments / Concerns
Hi Matt,
Thanks for the update.
In admin=>Paypal =>Start the following errors occur:
PHP Notice: Undefined index: Linker in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
PHP Fatal error: Uncaught Error: Call to a member function build() on null in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php:21
Stack trace:
#0 /xx/xx/xx/xx/catalog/admin/paypal.php(186): include()
#1 {main}
thrown in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
Line 21 is:
<?= $OSCOM_PayPal->getDef('onboarding_intro_body', array('button_retrieve_live_credentials' => $OSCOM_PayPal->drawButton($OSCOM_PayPal->getDef('button_retrieve_live_credentials'), $GLOBALS['Admin']->link('paypal.php', ['action' => 'start', 'subaction' => 'process', 'type' => 'live']), 'info'), 'button_retrieve_sandbox_credentials' => $OSCOM_PayPal->drawButton($OSCOM_PayPal->getDef('button_retrieve_sandbox_credentials'), $GLOBALS['Linker']->build('paypal.php', ['action' => 'start', 'subaction' => 'process', 'type' => 'sandbox']), 'info'))) ?>
Thanks for the update.
In admin=>Paypal =>Start the following errors occur:
PHP Notice: Undefined index: Linker in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
PHP Fatal error: Uncaught Error: Call to a member function build() on null in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php:21
Stack trace:
#0 /xx/xx/xx/xx/catalog/admin/paypal.php(186): include()
#1 {main}
thrown in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
Line 21 is:
<?= $OSCOM_PayPal->getDef('onboarding_intro_body', array('button_retrieve_live_credentials' => $OSCOM_PayPal->drawButton($OSCOM_PayPal->getDef('button_retrieve_live_credentials'), $GLOBALS['Admin']->link('paypal.php', ['action' => 'start', 'subaction' => 'process', 'type' => 'live']), 'info'), 'button_retrieve_sandbox_credentials' => $OSCOM_PayPal->drawButton($OSCOM_PayPal->getDef('button_retrieve_sandbox_credentials'), $GLOBALS['Linker']->build('paypal.php', ['action' => 'start', 'subaction' => 'process', 'type' => 'sandbox']), 'info'))) ?>
-
- Lead Developer
- Posts: 2656
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 182 times
Re: 1.0.8.12 Questions / Comments / Concerns
TY. Change $GLOBALS['Linker']->build to $GLOBALS['Admin']->link as it is earlier in the line.artfulweb wrote: ↑Wed Mar 02, 2022 11:37 am PHP Notice: Undefined index: Linker in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
PHP Fatal error: Uncaught Error: Call to a member function build() on null in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php:21
-
- VIP Member
- Posts: 119
- Joined: Thu Oct 29, 2020 12:34 pm
- Has thanked: 11 times
- Been thanked: 4 times
Re: 1.0.8.12 Questions / Comments / Concerns
ecartz wrote: ↑Wed Mar 02, 2022 12:29 pmTY. Change $GLOBALS['Linker']->build to $GLOBALS['Admin']->link as it is earlier in the line.artfulweb wrote: ↑Wed Mar 02, 2022 11:37 am PHP Notice: Undefined index: Linker in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
PHP Fatal error: Uncaught Error: Call to a member function build() on null in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php:21
Thanks, Matt, that works.
On the other hand on clicking on "Retreive Live Credentials" the page refreshes and says "Could not initiate the start account procedure. Please try again in a short while." Is that normal?
- mhsuffolk
- VIP Member
- Posts: 148
- Joined: Sat Oct 26, 2019 9:13 am
- Has thanked: 8 times
- Been thanked: 5 times
Re: 1.0.8.12 Questions / Comments / Concerns
I think others have had that problem with later versions of the PP app. I believe the answer was copy paste manually from your PP account.
Live shop Phoenix 1.0.9.0 on PHP 8.0
Paypal Setup
I'm a complete newby to Phoenix & am trying to set CEPhoenix on my new website. However, every time I try to access the "General" tab I get this:
Notice: Undefined index: Linker in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php on line 59
Fatal error: Uncaught Error: Call to a member function build() on null in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php:59 Stack trace: #0 /home/iptv/public_html/CEphoenix/includes/apps/paypal/OSCOM_PayPal.php(342): OSCOM_PayPal_Cfg_ssl_version->getSetField() #1 /home/iptv/public_html/CEphoenix/includes/apps/paypal/admin/content/configure.php(61): OSCOM_PayPal->getInputParameters('G') #2 /home/iptv/public_html/CEphoenix/admin/paypal.php(186): include('/home/iptv/publ...') #3 {main} thrown in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php on line 59
This is a brand new installation any help would be appreciated.
Notice: Undefined index: Linker in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php on line 59
Fatal error: Uncaught Error: Call to a member function build() on null in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php:59 Stack trace: #0 /home/iptv/public_html/CEphoenix/includes/apps/paypal/OSCOM_PayPal.php(342): OSCOM_PayPal_Cfg_ssl_version->getSetField() #1 /home/iptv/public_html/CEphoenix/includes/apps/paypal/admin/content/configure.php(61): OSCOM_PayPal->getInputParameters('G') #2 /home/iptv/public_html/CEphoenix/admin/paypal.php(186): include('/home/iptv/publ...') #3 {main} thrown in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php on line 59
This is a brand new installation any help would be appreciated.
-
- VIP Member
- Posts: 2025
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Paypal Setup
In your /includes/apps/paypal/cfg_params/ssl_version.php
Change Line 59
from
Code: Select all
$connection_test_url = $GLOBALS['Linker']->build('paypal.php', ['action' => 'ssltest']);
Code: Select all
$connection_test_url = $GLOBALS['Admin']->link('paypal.php', ['action' => 'ssltest']);
Re: 1.0.8.12 Questions / Comments / Concerns
thx for the update
in admin backend if i click paypal -> configure (/admin/paypal.php?action=configure&module=G) i see the following error:
thx for helping
in admin backend if i click paypal -> configure (/admin/paypal.php?action=configure&module=G) i see the following error:
Code: Select all
PHP Warning: include(/XXX/includes/apps/paypal/modules/G/G.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /XXX/includes/apps/paypal/OSCOM_PayPal.php on line 159, referer: https://shop.artyle.de/admin/paypal.php?action=configure
PHP Fatal error: Uncaught Error: Class 'OSCOM_PayPal_G' not found in /XXX/shop_artyle/includes/apps/paypal/OSCOM_PayPal.php:162, referer: https://shop.artyle.de/admin/paypal.php?action=configure
Stack trace:, referer: https://shop.artyle.de/admin/paypal.php?action=configure
#0 /XXX/includes/apps/paypal/admin/content/configure.php(112): OSCOM_PayPal->getModuleInfo('G', 'title'), referer: https://shop.artyle.de/admin/paypal.php?action=configure
#1 /XXX/admin/paypal.php(186): include('/var/customers/...'), referer: https://shop.artyle.de/admin/paypal.php?action=configure
#2 {main}, referer: https://shop.artyle.de/admin/paypal.php?action=configure
thrown in /XXX/includes/apps/paypal/OSCOM_PayPal.php on line 162, referer: https://shop.artyle.de/admin/paypal.php?action=configure
runs phoenix 1.0.8.12 for testing
webshop for laser cutting goods
webshop for stainless steel products
webshop for laser cutting goods
webshop for stainless steel products
-
- Lead Developer
- Posts: 2656
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 182 times
Re: 1.0.8.12 Questions / Comments / Concerns
You could try changing 156-7 tophilpla wrote: ↑Fri Mar 04, 2022 10:59 am PHP Warning: include(/XXX/includes/apps/paypal/modules/G/G.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /XXX/includes/apps/paypal/OSCOM_PayPal.php on line 159, referer: https://shop.artyle.de/admin/paypal.php ... =configure
Code: Select all
if ( !class_exists($class) ) {
if (!file_exists(DIR_FS_CATALOG . "includes/apps/paypal/modules/$module/$module.php")) {
return;
}
$this->loadLanguageFile("modules/$module/$module.php");
-
- VIP Member
- Posts: 2025
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: 1.0.8.12 Questions / Comments / Concerns
Change the name of your admin folder to something more secure!