how to Codeigniter 3 start - php

I formatted the computer, then I started Codeigniter 3, but it gave such an error, can you help?
I installed xampp but it doesn't work.

Dynamic properties are deprecated in PHP 8.2 and will be removed in PHP 9.
https://medium.com/geekculture/php-what-are-dynamic-properties-2509c6fbccf8
Either upgrade to Code Igniter 4 or downgrade your version of PHP.

Related

Failed to run php spark serve, can anyone solve the problem?

The error I receive when starting spark is
Constant FILTER_SANITIZE_STRING is deprecated
can anyone solve the problem?
You're using a PHP version that is too new for the codeigniter version you installed.
If you're using PHP 8.1 you need at least codeigniter 4.1.7
Solutions:
Option1: Downgrade PHP
Option2: Upgrade Codeigniter
Reference: https://codeigniter.com/user_guide/changelogs/v4.1.7.html

Prestashop can't connect to database "An error ocurred:" while trying to test connection

this is happening to me while installing PrestaShop 1.7 on my localhost using PHP 8 and xamp 3.2.4. I have tried creating an user and password to access my db also differents db names and still gives me this error. I tried even installing and old version of PrestaShop (1.6) and still the same.
Cant find much info about this on the web. Seems to be a new error but if everyone has some insight I take it.
Cheers
Prestoshop is still not compatible with php 8 wich the latest xampp version have so you need to install older version or at least install php 7.4 side by side with php 8.
Here the official supported php version page: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-compatibility-chart
First time i instaled the latest version of xampp and I had the same problem with prestashop database connection error .Second time i instaled an older version of XAMPP and it worked.

Kohana to PHP 7 Error

Upgraded my PHP on server from 5.6 to 7.2 and now my website made on Kohana gives an error:
Declaration of Auth_Xenforo::logged_in() should be compatible with Kohana_Auth::logged_in($role = NULL)
Kohana is not PHP 7 ready. Please consider using it's PHP7 replacement (which will work as dropin, with small changes) koseven:
https://github.com/koseven/koseven

Symfony 1.4.18 and PHP 5.4 compatibility

Is the latest Symfony version (1.14.18) supposed to run properly with PHP 5.4?
I've just upgraded to PHP 5.4 locally and multiple sites that have previously worked fine are now throwing the following error when trying to load any page:
Fatal error: Call to undefined method sfCoreAutoload::register() in C:\dev\projects\my_site\config\ProjectConfiguration.class.php on line 4
The path to the sfCoreAutoload class is fine but for some reason it treats it as if it didn't exist at all.
I managed to resolve the issue so will just answer here for the benefit of anyone else facing the same. The culprit was APC. The latest "stable" version of the pre-compiled APC (3.1.9) didn't work with Symfony 1.4.18 + PHP 5.4.4, but using the APC beta (3.1.12) does work.

Trouble with using Joomla templet with XAMPP 1.7.2 which has PHP 5.3.0 in mac os x

I am using a joomla templet with XAMPP 1.7.2 which has PHP 5.3.0 in mac os x 10.5.7
i am having lots of trouble like
Deprecated: Function eregi() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/templet01/plugins/system/tbox.php on line 98
Joomla itself is not functioning properly.
Please help.
-Daniel
Is there a release of Joomla that is ready for php 5.3? If so switch to that. Or downgrade XAMPP to a version with php 5.2.X. Or not using XAMPP at all and instead using macports (note if you want php 5.2 youll have to grab the old port file and host a local repo - its not as hard as it sounds - i do it on my machine) or compile the source yourself in /usr/local or /opt.
However it may also be that simply truning off display_errors in your php.ini will fix the issue - or changing the error level.
Joomla 1.5.15 and up is compatible with php 5.3.
However the OpenID authentication module is not yet compatible.

Categories