craigk5n / webcalendar

WebCalendar is a PHP application used to maintain a calendar for a single user or an intranet group of users. It can also be configured as an event calendar.
http://www.k5n.us/webcalendar.php
GNU General Public License v2.0
148 stars 70 forks source link

Things that got removed in PHP 7.0 #425

Open bbannon opened 9 months ago

bbannon commented 9 months ago

File includes/php4dbi.php, is calling functions that were removed from PHP 7.0

mysql_affected_rows mysql_close mysql_connect mysql_error mysql_escape_string mysql_free_result mysql_pconnect mysql_fetch_array mysql_real_escape_string mysql_query mysql_select_db

OCIFetchInto

I haven't tried to figure out replacements yet.

s22-tech commented 9 months ago

It sounds like you entered "mysql" for your db_type in settings.php. If that's the case, once you change it to "mysqli", the proper functions will be called. That one bit me, as well.

The installer of this script really needs some work. It's not configured for non-programmers.

bbannon commented 9 months ago

Actually, I checked them on https://www.php.net

On Wed, Oct 4, 2023 at 8:15 AM s22-tech @.***> wrote:

It sounds like you entered "mysql" for your db_type in settings.php. If that's the case, once you change it to "mysqli", the proper functions will be called. That one bit me, as well.

The installer of this script really needs some work. It's not configured for non-programmers.

— Reply to this email directly, view it on GitHub https://github.com/craigk5n/webcalendar/issues/425#issuecomment-1746957379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJ7GLX2XIG4J65FCFNP7ALX5VVRHAVCNFSM6AAAAAA5RTKIRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBWHE2TOMZXHE . You are receiving this because you authored the thread.Message ID: @.***>