Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get nodCms version 3.4.1 to work on PHP8.2 and CI 4.3.0-0 #113

Open
DEV-byoos opened this issue Jan 11, 2023 · 1 comment
Open

How to get nodCms version 3.4.1 to work on PHP8.2 and CI 4.3.0-0 #113

DEV-byoos opened this issue Jan 11, 2023 · 1 comment

Comments

@DEV-byoos
Copy link

Hello dev's
Message: Class "Config\Renderer" not found
//the name of the Renderer class has changed to AbstractRenderer
IN root/APPPATH/Config/Kint.php at line 46
public $richSort = AbstractRenderer::SORT_FULL;
//and
use Kint\Renderer\AbstractRenderer;
verify:
class Kint extends BaseConfig
IN /root/vendor/autoload_psr4.php
'Kint\' => array($vendorDir . '/kint-php/kint/src'),

Deprecated: Creation of dynamic property Config\App::$cookieSameSite is deprecated in /var/www/html/1__codeigniter_dev/1__2023/cms/nodcms_v3-4-1/vendor/codeigniter4/framework/system/HTTP/Response.php on line 168

//BYOOSdigital.com
public $cookieSameSite;    

Deprecated: Creation of dynamic property Config\Exceptions::$sensitiveDataInTrace is deprecated in /var/www/html/1__codeigniter_dev/1__2023/cms/nodcms_v3-4-1/vendor/codeigniter4/framework/system/Debug/Exceptions.php on line 84

Deprecated: Creation of dynamic property Config\Exceptions::$logDeprecations is deprecated in /var/www/html/1__codeigniter_dev/1__2023/cms/nodcms_v3-4-1/vendor/codeigniter4/framework/system/Debug/Exceptions.php on line 87

Deprecated: Creation of dynamic property Config\Exceptions::$deprecationLogLevel is deprecated in /var/www/html/1__codeigniter_dev/1__2023/cms/nodcms_v3-4-1/vendor/codeigniter4/framework/system/Debug/Exceptions.php on line 88
IN /root/nodcms-core/Config/Exeptions/php
//Creation of dynamic property Config\Exceptions::... is deprecated
public $sensitiveDataInTrace;
public $logDeprecations;
public $deprecationLogLevel;

IN /root/vendor/codeigniter4/framework/system/View/View.php ligne 143
$this->viewPath = rtrim((string)$viewPath, '\/ ') . DIRECTORY_SEPARATOR;

IN /root/nodcms-core/view/view.php
//added BYOOSdigital.com Creation of dynamic property is deprecated
public $mainTemplate;
public $frameTemplate;
public $cleanFrame;
public $page_sidebar;
public $page_sidebar_closed;
public $page_sidebar_items;
public $page_sidebar_close;
public $page_sidebar_menu_closed;
public $display_title;
public $display_page_title;
public $view;
public $session;
public $langArray;
public $controllerType;
public $admin_panel_items;
public $captcha_session_name;
public $html_form_data;
public $settings_default;
public $userdata;

it's finished, don't forget to update the .env.development file to .env
c'est terminé, ne pas oublier la mise à jour duficher .env.development à renomer en .env

one other


IN /root/nodcms-articles/Views/frontend/article.php
render($content_type); ?>
... ajouter echo ...
BUGG fixed, OUF!!!...

@DEV-byoos
Copy link
Author

DEV-byoos commented Jan 19, 2023

nodcms_v3-4-1c_portage_ci4-3-0_and_php8-2_en.txt
Tutorial to make NodCms v3.4.1 more powerful and fully secure, follow the link above:
http://byoosdigital.com/cms/public/en/blog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant