how to upgrade version of codeigniter 2x to 3x - php

im trying to update codeigniter version from 2.2 to 3.1.
me already to following this instruction https://www.codeigniter.com/userguide3/installation/upgrade_300.html
but i still get error like this.
Notice: Undefined index: log_path in C:\xampp\htdocs\simangkug\system\core\Log.php on line 127
Notice: Undefined index: log_path in C:\xampp\htdocs\simangkug\system\core\Log.php on line 127
Warning: mkdir(): Invalid path in C:\xampp\htdocs\simangkug\system\core\Log.php on line 131
what can i do to fix this problem ?
on my server using php version 7.3

Related

Aauth codeigniter library, undefined constant PASSWORD_DEFAULT

I have a project using the library aauth CodeIgniter. when I run on windows localhost it running as well. when I move my project to the centos server virtualbox I just installed, I found the following error:
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant PASSWORD_DEFAULT - assumed
'PASSWORD_DEFAULT'
Filename: config/aauth.php
Line Number: 136
any help would be great. Thank you.

WordPress Importer plugin show error message when I import sample data

I use WordPress source code version 4.5.3, I install WordPress Importer plugin to import sample data from URL https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml
But when I finished importing I received more error message below:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Import has a deprecated constructor in C:\xampp\htdocs\wp\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 38`
Warning: Declaration of WP_Import::bump_request_timeout() should be compatible with WP_Importer::bump_request_timeout($val) in C:\xampp\htdocs\wp\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 38`
Notice: wp_get_http is deprecated since version 4.4! Use WP_Http instead. in C:\xampp\htdocs\wp\wp-includes\functions.php on line 3658`
Notice: Array to string conversion in C:\xampp\htdocs\wp\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 798`
Notice: Undefined variable: _menu_item_type in C:\xampp\htdocs\wp\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 800`
Notice: Undefined variable: _menu_item_type in C:\xampp\htdocs\wp\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 802`
Notice: Undefined variable: _menu_item_type in C:\xampp\htdocs\wp\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 804`
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\wp\wp-includes\class-wp-http-curl.php on line 239`

SMF - Upgrading 1-19 to 2-7 (upgrade.php)

i decided to move my 1.1.19 to 2.07 and move to new directory.
but i couldn't upgrade my forum correctly. because:
repair_settings.php - (in bottom of page we got some error)
Notice: Undefined index: database_error in
/homepages/5/d394578306/htdocs/ResidentEvil/Sources/Subs-Db-mysql.php
on line 572
Fatal error: Call to undefined function allowedTo() in
/homepages/5/d394578306/htdocs/ResidentEvil/Sources/Subs-Db-mysql.php
on line 573
Upgrade.php - (we have many error on this page)
Notice: Undefined index: upgrade_progress in
/homepages/5/d394578306/htdocs/ResidentEvil/upgrade.php on line 3488
same error but on different lines.
Seems you're missing some files. Reupload all the Sources dir and the upgrade files with a software like WinSCP. Avoid FileZilla.

phpvideotoolkit class errors on xampp installed on windows server 2008

find i m trying to convert sequence of images into a video. and for that i canme to know about the ffmpeg class.
the only wrapper class that i found is phpvideotoolkit but i m not able to work with it.
i installed phpvideotoolkit on xampp on my windows 2008 server . but it is throwing alor of errors
This example shows you how to extract a specific frame from a movie.
Notice: Undefined property: PHPVideoToolkit::$_tmb_directory in C:\xampp\htdocs\phpvideo\phpvideotoolkit.php5.php on line 869
Notice: Undefined offset: 0 in C:\xampp\htdocs\phpvideo\phpvideotoolkit.php5.php on line 877
PHPVideoToolkit Error: Execute error. Output for file "C:\xampp\htdocs\phpvideo\examples\working\to-be-processed\MOV00007.3gp" was not found. No images were generated.
Notice: Undefined property: PHPVideoToolkit::$_tmb_directory in C:\xampp\htdocs\phpvideo\phpvideotoolkit.php5.php on line 869
Notice: Undefined offset: 0 in C:\xampp\htdocs\phpvideo\phpvideotoolkit.php5.php on line 877
PHPVideoToolkit Error: Execute error. Output for file "C:\xampp\htdocs\phpvideo\examples\working\to-be-processed\Video000.3gp" was not found. No images were generated.
Notice: Undefined property: PHPVideoToolkit::$_tmb_directory in C:\xampp\htdocs\phpvideo\phpvideotoolkit.php5.php on line 869
Notice: Undefined offset: 0 in C:\xampp\htdocs\phpvideo\phpvideotoolkit.php5.php on line 877
PHPVideoToolkit Error: Execute error. Output for file "C:\xampp\htdocs\phpvideo\examples\working\to-be-processed\cat.mpeg" was not found. No images were generated.
example
PHPVideoToolkit Error: Execute error. Output for file "C:\xampp\htdocs\phpvideo\examples\working\tmp\1336156630-4fa421d69357d\tmp_%d.jpg" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().
i m trying to make it work since last many hours but no luck
Also, for this code :
$srcFile = "test-mpeg.mpg";
$ffmpegObj = new ffmpeg_movie($srcFile);
i am gettign error that it cant file the file. i believe its something to do with permissions but i m not able to figure out
fpoen , fwrite , file_put_contents all are working fine without any permissions problems.
can anyone please guide me in the write direction. what do i need to do to make this phpvideotoolkit work

How to get the Ansinerator library to work?

I'm trying to get the Ansinerator library to work my on my localhost, but something's amiss.
I'm receiving the following errors:
Notice: Undefined index: hash in ansi.php on line 23 Notice: Undefined index: aml in ansi.php on line 37 Notice: Undefined variable: PNG_DESTRUCT in ansi.php on line 119 Notice: Undefined offset: -1 in ansi.php on line 362 Notice: Trying to get property of non-object in ansi.php on line 362 Notice: Undefined variable: links in ansi.php on line 459 Notice: Trying to get property of non-object in ansi.php on line 677 Notice: Undefined variable: links in ansi.php on line 459 Notice: Undefined variable: map_link in ansi.php on line 687
Any idea where am I going wrong with this one? I've installed the php-gd library, restarted the server, and while runs perfectly on production server, localhost will refuse. Ideas?
Thank you.
Check
- That you've got 'proper' versions of everything installed on localhost. (Compare localhost with production.) There's obviously something different between the 2 servers here, just use phpinfo() to check.
Restart localhost again? (Just kidding...)
Is it possible that you have set different error reporting levels on both servers?
Before anything, put error_reporting(E_ALL); at the top of your script on both servers and see if it runs perfectly. (My guess is you will get errors on both servers)

Categories