Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql deprecated #2

Closed
marciesdr opened this issue Aug 14, 2018 · 1 comment
Closed

mysql deprecated #2

marciesdr opened this issue Aug 14, 2018 · 1 comment

Comments

@marciesdr
Copy link

my host upgraded mysql to mysqli. and now the script says I need to change these lines

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/public_html/fanlistings/admin/mod_settings.php on line 32

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/public_html/fanlistings/admin/Mail.php on line 154

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/public_html/fanlistings/sitename/config.php on line 51

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home2/www/public_html/fanlistings/admin/mod_owned.php on line 79

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/public_html/fanlistings/admin/mod_members.php on line 604

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/public_html/fanlistings/admin/mod_members.php on line 645

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/public_html/fanlistings/admin/mod_members.php on line 137

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/public_html/fanlistings/admin/mod_members.php on line 181

@marciesdr
Copy link
Author

Thanks to Lysianthus this is closed

angelasabas pushed a commit that referenced this issue Mar 24, 2020
Apply fix on random affiliate for when rand() generates 0, resulting in a -1 in the sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant