Open spraragen88 opened 12 months ago
@spraragen88 , have you done composer install command?
To amplify on the previous as I've been through the same process (still am but now stuck further on): Download Composer-Setup.exe v2.6.5, this installs composer such that it can be called from any directory (by adding to windows path). Run this as admin. Select C:\xamp\php\php.exe as the command line php to use Didn’t need to select a proxy
Follow instructions in: https://www.geeksforgeeks.org/how-to-install-php-gd-in-windows/ xampp control panel – select Admin for Apache it loads http://localhost/dashboard/ In top tabs, select PHPInfo: http://localhost/dashboard/phpinfo.php Scroll down alphabetical list of extensions – no GD section present
In xampp control panel, select config for apache, in dropdown select php.ini. It opens for editing Search for extension=GD – is on line 931 on mine with semi colon in front – delete semi colon Search for extension=zip - is on line 962 on mine, with semi colon in front - delete semi colon Save file
Go to C:\xampp\php\ext folder locate php_gd.dll, copy it and paste into C:\Windows\System32 Close MySQL and apache and xampp control panel Restart xampp control panel as admin, restart apache and mysql Select apache admin > PHPinfo tab Check for GD and Zip in the alphabetical list of extensions.
Open xampp’s shell and navigate to C:\xampp\htdocs\your librebooking folder type composer install (return) in the shell
You should see something like
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 10 installs, 0 updates, 0 removals
composer fund
command to find out more!That gets you over that hurdle.
I'm now stuck further on as the auto installation using Web/install doesn't work (it requires a folder tpl_c which is no longer in the app) and my attempts to manually install give error messages and I can't open the app in the browser for other errors. I've lodged an issue higher up (dated 23/12/2023) in the hope of getting further along. I've been running multiple instances of earlier versions on win7 for many years, but this one is causing me real issues.
Hope this helps you or someone else.
just to add, I then found a couple of typos in my config.php file which, when corrected allowed Web/install to run successfully but my user account wasn't created (and I couldn't create the user or admin accounts by importing the sample data script), so had to tweak privileges and then import sections of the sample data sql file manually by copy-pasting them into the sql function of phpMyAdmin. That allowed me to log in as admin and create myself as an application administrator.
Hi there.
Fatal error: Uncaught Error: Class "Smarty" not found in C:\wamp64\www\booking\lib\Email\SmartyEmail.php on line 9 Error: Class "Smarty" not found in C:\wamp64\www\booking\lib\Email\SmartyEmail.php on line 9
I got exactly the same kind of errors when I try to install the last app on a OVH shared server...
Fatal error: Uncaught Error: Class "Smarty" not found in /home/mywebsite/www/librebooking/lib/Email/SmartyEmail.php:9 Stack trace: #0 /home/mywebsite/www/librebooking/lib/Email/namespace.php(7): require_once() #1 /home/mywebsite/www/librebooking/lib/Email/Messages/AccountCreationEmail.php(3): require_once('/home/mywebsite...')
Thank for any help.
Tried using WAMPSERVER but each time I get these errors:
Fatal error: Uncaught Error: Class "Smarty" not found in C:\wamp64\www\booking\lib\Email\SmartyEmail.php on line 9 Error: Class "Smarty" not found in C:\wamp64\www\booking\lib\Email\SmartyEmail.php on line 9