Pharmacare - Pharmacy Software Made Easy

Pharmacare - Pharmacy Software Made Easy v9.4.1

No permission to download

ghadawi

New member
Mar 17, 2019
6
0
1
I try in different computer i got this error i think regard SMTP



Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in C:\xampp2\htdocs\pharm\install\php\Requirements.php:287 Stack trace: #0 C:\xampp2\htdocs\pharm\install\php\Requirements.php(287): fclose(false) #1 C:\xampp2\htdocs\pharm\install\php\Requirements.php(188): Php\Requirements->smtp_check() #2 C:\xampp2\htdocs\pharm\install\php\Requirements.php(112): Php\Requirements->extensionCheck(Array) #3 C:\xampp2\htdocs\pharm\install\index.php(195): Php\Requirements->server() #4 {main} thrown in C:\xampp2\htdocs\pharm\install\php\Requirements.php on line 287
 

Attachments

  • 2.PNG
    2.PNG
    36.1 KB · Views: 45

ghadawi

New member
Mar 17, 2019
6
0
1
I have successfully install the app but i got problem after i click launch the app. it keep redirecting to install and install page not working because it is already installed, i check database it is installed already

can you help on this?
 

phpCore

ReLOADED
Trusted Uploader
Banned User
Jun 6, 2020
1,511
1,657
120
127.0.0.1/::1
I have successfully install the app but i got problem after i click launch the app. it keep redirecting to install and install page not working because it is already installed, i check database it is installed already

can you help on this?

You still redirected to install script since there is an error connecting to database.
You can check the code within the file "index.php" in the root:
// Check connection
if ($mysqli -> connect_errno) {

$https = false;
if (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) || isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
$protocol = 'https://';
}
else {
$protocol = 'http://';
}
$dirname = rtrim(dirname($_SERVER['PHP_SELF']), '/').'/';
if(isset($_SERVER['HTTPS']) and $_SERVER['HTTPS'] != 'off') $https = true;
$installerurl=$protocol.$_SERVER['HTTP_HOST'].$dirname;
header('Location: '.$installerurl.'install');
exit;
}

If "$mysqli -> connect_errno" means that there is an error while trying to access to the database.

If the connection is ok, do a backup of this file and remove the entire above block
 

akdxb

Member
Apr 4, 2020
87
27
18
thank you for the awesome work,

a new version 9.4 is out and the UI looks nice.

Any luck?
 

migs2173

New member
Mar 3, 2021
2
0
1
Any experience on this version when try to print barcode doesnt show the barcode on the preview
 

Onsongo

Member
Mar 3, 2020
35
52
18
I have bypassed the installer by ;
1. Creating a database
2. Importing database file in Project_root_folder/install/sql/insall.sql
3. Edited the database config with my database settings. hostname, username, password, and database name. This config file is in Project_root_folder/App/Config/Database.php.
4. Finally I registered my project baseURL in Project_root_folder/App/Config/App.php
I logged in with [email protected] password: 123456
Everything is working from localhost.
Hope it helps.

Don't forget to delete the install folder.
 

Onsongo

Member
Mar 3, 2020
35
52
18
Not working effectively in a live server
 

Attachments

  • Screenshot from 2021-06-03 14-45-00.png
    Screenshot from 2021-06-03 14-45-00.png
    55.6 KB · Views: 33
  • Like
Reactions: akdxb

prop2p

Member
Trusted Uploader
May 16, 2019
48
46
18
Not working effectively in a live server
how can we remove that red notification from the site across the site
I have bypassed the installer by ;
1. Creating a database
2. Importing database file in Project_root_folder/install/sql/insall.sql
3. Edited the database config with my database settings. hostname, username, password, and database name. This config file is in Project_root_folder/App/Config/Database.php.
4. Finally I registered my project baseURL in Project_root_folder/App/Config/App.php
I logged in with [email protected] password: 123456
Everything is working from localhost.
Hope it helps.

Don't forget to delete the install folder.
thanks a lot but how can we remove that red notification from the site across the site
 

Latest posts

Forum statistics

Threads
69,226
Messages
908,438
Members
237,027
Latest member
YoGGe

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu