Page 1 of 1

I can not open a program in xampp

PostPosted: 21. January 2019 15:03
by segundojose
I can not open a program in xampp, I get this message, someone can help me .. thank you very much for your help:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\sioc1\conexion.class.php:15 Stack trace: #0 C:\xampp\htdocs\sioc1\modulo_generico.php(115): DBManager->conectar() #1 C:\xampp\htdocs\sioc1\vacceso.php(8): Cliente->consultardetalles('select * from s...') #2 {main} thrown in C:\xampp\htdocs\sioc1\conexion.class.php on line 15

Re: I can not open a program in xampp

PostPosted: 21. January 2019 19:42
by Altrea
Read the manual, especially the red box: http://php.net/manual/en/function.mysql-connect.php
Obviously your application relies on functions no longer included in PHP.
So you should either update/replace that application with a newer one compatible with your PHP version or install a xampp version containing the php version still compatible with your application.

Re: I can not open a program in xampp

PostPosted: 09. February 2019 11:33
by novajones001
Hii,

I have this same issue but no methods work for me. I tried Googling the solution too but no luck. I even uninstalled and reinstalled again but still the same problem.

Regards,

Louis

Re: I can not open a program in xampp

PostPosted: 10. February 2019 21:46
by Nobbie
novajones001 wrote:I have this same issue but no methods work for me. I tried Googling the solution too but no luck.


Will you please tell us which "method" you tried? What exactly did you do?

novajones001 wrote:I even uninstalled and reinstalled again but still the same problem


Yes, of course, simply reinstalling again and again is useless. Of course the problem remains, even if you reinstall it a triillion times. I wonder why did you reinstall it? I dont know ANY source which tells to do so, as it is useless.