• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Pharmacare - Pharmacy Software Made Easy

Pharmacare - Pharmacy Software Made Easy v9.4.1

No permission to download
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: 50
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?
 
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
 
thank you for the awesome work,

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

Any luck?
 
Any experience on this version when try to print barcode doesnt show the barcode on the preview
 
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.
 
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: 43
  • Like
Reactions: akdxb
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
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock