The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Feature Suggestions (https://forums.formtools.org/forumdisplay.php?fid=7)
+--- Thread: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? (/showthread.php?tid=5021)



Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - alexboss - Feb 4th, 2015

Dear Form-Tool developers,

According to http://php.net/manual/en/migration55.deprecated.php :
Quote:The original MySQL extension is now deprecated, and will generate E_DEPRECATED errors when connecting to a database. Instead, use the MySQLi or PDO_MySQL extensions.

A little grep on mysql_ in Form Tools returns a huge number of results which leads to the conclusion that there is no abstraction layer / PDO for the database operations.

Are there any plans to add an abstraction layer / PDO to Form Tools so that it copes perfectly with PHP 5.5.x ? It might not be necessary to have drivers for numerous DBs at the moment, but at least MySQLi.

What do you think?

Thanks a lot and best regards,

Alexandre 8)


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - simplescience - Aug 10th, 2015

Just a note.. need to be very careful not to force existing users beyond PHP 5.3. There are numerous users that we are aware of that could not easily do that, and upgrading would break their installations. Not that it shouldn't be done. Just that is shouldn't be done without clear and loud warnings.

Just my .02. Wink


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - alexboss - Aug 10th, 2015

(Aug 10th, 2015, 8:21 AM)simplescience Wrote: Just a note.. need to be very careful not to force existing users beyond PHP 5.3. There are numerous users that we are aware of that could not easily do that, and upgrading would break their installations. Not that it shouldn't be done. Just that is shouldn't be done without clear and loud warnings.

Just my .02. Wink

I agree but using PDO or any DB abstraction layer would solve the issue and prevent breaking installations.

Alexandre 8)


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - bill09 - Dec 9th, 2015

I was curious about this also. I have many sites using FT.

Would running a tool such as:
https://github.com/philip/MySQLConverterTool and making the proposed changes kill a FT installation?


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - AbbyWaldock - Mar 18th, 2020

Forum tools were available at this it has some suggestions on it that was good to have among the download links that were at this. You have to get services that were at rush my essay reviews this was known among the ports or can explain data through facts to read on it.