khodakhah / nodcms

NodCMS-Bundle - to download - the open-source PHP CMS based on the CodeIgniter
https://nodcms.com
MIT License
71 stars 64 forks source link

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

Open DEV-byoos opened 1 year ago

DEV-byoos commented 1 year ago

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 <?php echo $this->render($content_type); ?> ... ajouter echo ... BUGG fixed, OUF!!!...

DEV-byoos commented 1 year ago

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