Help with Localhost!

Jerra2410

New Member
Oct 24, 2022
1
0
I'm working on a hotel just for me to play around with.
My problem is that when i go to localhost this message show up.

Fatal error: Uncaught Error: Undefined constant "Revolution\mysql_connect" in C:\xampp\htdocs\app\class.engine.php:18 Stack trace: #0 C:\xampp\htdocs\global.php(109): Revolution\engine->Initiate() #1 C:\xampp\htdocs\index.php(4): require_once('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\app\class.engine.php on line 18

Can anyone help me?

Post automatically merged:

 

Attachments

  • Schermafbeelding 2022-11-17 190827.png
    Schermafbeelding 2022-11-17 190827.png
    99.4 KB · Views: 28
Last edited:

Hypothesis

Programmer
Jan 6, 2019
524
361
We need more details, what CMS are you using? Your problem is more than likely in your configuration, where you've defined your connection to the database. Could be a missed quote or invalid syntax.
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
This is RevCMS which is old and outdated. You need to use old versions of PHP, you most likely have updated your PHP version to 7 or higher which has deprecated mysql functions. PHP now utilizes mysqli.
 

Joe

Well-Known Member
Jun 10, 2012
4,090
1,918
I think it’s php 5.x it’s been a while.

Use IIS it’s a lot easier, even on your own pc. Or get yourself a cheap vps if you’ve got the budget.
 

Users who are viewing this thread

Top