EFForg / EFForg/lemonhrm

mysql_connect() is an undefined function

Open
#1 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi,

Couldn't get past the installation! Encountered this error! Could someone look into fixing it please?

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in E:\projects\lemonhrm\install.php:210 Stack trace: #0 {main} thrown in E:\projects\lemonhrm\install.php on line 210

It may be related to PHP 7 support as described in this OrangeHRM [issue](https://github.com/orangehrm/orangehrm/issues/146).

I'm using Laragon Full 4.0.16 with PHP 7.4.10 on a windows 10 OS.

Thank you so much!
@sylvery

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at install.php line 210 and review how the installer opens its MySQL connection under PHP 7.4. Compare the reported failure with the linked OrangeHRM issue; done means the installation proceeds past this connection step on the stated PHP and Windows setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.