-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smarty not found? #413
Comments
I tried on a different server, same error when I try to start /Web/install and no tables were created in the database... |
Sounds like you haven't got Smary libraries. This is for windows. Install Composer Installing extra dependencies _```
|
Thanks a lot for your help.
|
Hi @PatH007, Could you check if you have this folder: |
|
It seems there is never ending problem with ROOTDIR (?). |
@PatH007, that warning is about write access (0755) to |
Thank you for your help. |
@PatH007 , wich PHP version are you using? |
8.1.29 php version. |
Can't make it work. |
@PatH007 , |
Thanks for your help. $conf['settings']['schedule']['use.per.user.colors'] = 'false'; // color reservations by user $conf['settings']['ics']['subscription.key'] = ''; // must be set to allow webcal subscriptions $conf['settings']['reservation.notify']['resource.admin.add'] = 'false'; $conf['settings']['uploads']['enable.reservation.attachments'] = 'false'; // if reservation attachments can be uploaded $conf['settings']['database']['type'] = 'mysql'; $conf['settings']['phpmailer']['mailer'] = 'mail'; // options are 'mail', 'smtp' or 'sendmail' $conf['settings']['plugins']['Authentication'] = ''; $conf['settings']['install.password'] = ''; $conf['settings']['pages']['enable.configuration'] = 'true'; $conf['settings']['api']['enabled'] = 'false'; $conf['settings']['recaptcha']['enabled'] = 'false'; $conf['settings']['email']['default.from.address'] = ''; $conf['settings']['reports']['allow.all.users'] = 'false'; $conf['settings']['password']['minimum.letters'] = '6'; $conf['settings']['reservation.labels']['ics.summary'] = '{title}'; Start {startdate} End {enddate} Organizer {name} Description {description} ';$conf['settings']['reservation.labels']['my.calendar'] = '{resourcename} {title}'; $conf['settings']['reservation.labels']['resource.calendar'] = '{name}'; $conf['settings']['reservation.labels']['reservation.popup'] = ''; // Format for what to display in reservation popups. Possible values: {name} {dates} {title} {resources} {participants} {accessories} {description} {attributes} {pending} {duration}. Custom attributes can be added using att with the attribute id. For example {att1} $conf['settings']['security']['security.headers'] = 'false'; // Enable the following options $conf['settings']['google.analytics']['tracking.id'] = ''; // if set, Google Analytics tracking code will be added to every page in Booked $conf['settings']['authentication']['allow.facebook.login'] = 'true'; $conf['settings']['credits']['enabled'] = 'false'; $conf['settings']['slack']['token'] = '';` |
Hi @PatH007, Pls. try this: |
Thank you @treborin for your help. |
You can install on root, no problem. Are you able to use the error logging. It'd help to see the log file
|
Thanks a lot again for your help. |
[like] David Johnston reacted to your message:
…________________________________
From: Patrick ***@***.***>
Sent: Wednesday, September 25, 2024 12:56:14 PM
To: LibreBooking/app ***@***.***>
Cc: David Johnston ***@***.***>; Comment ***@***.***>
Subject: Re: [LibreBooking/app] Smarty not found? (Issue #413)
CAUTION: This e-mail originated outside the University of Southampton.
Thanks a lot again for your help.
I made all modifications in config.php and created a log folder (permission 777), a couple of tests and nothing appeared in that log folder.
However I could access to log offered by hoster.
Date : 25/09/2024 14:41:28 IP : 2001:861:42c1:1fc0:14df:12ab:1cbf:8887:0 Requête : /Web/install/ Code HTTP : 200 Referer : Aucun User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0 Erreur : AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function assign() on null in /htdocs/resa.website.com/Pages/Page.php:227\nStack trace:\n#0 /htdocs/resa.website.com/Pages/Page.php(156): Page->Set('ErrorMessage', 'UnknownError')\n#1 /htdocs/resa.website.com/lib/Common/Logging/ExceptionHandler.php(56): Page->RedirectToError()\n#2 /htdocs/resa.website.com/lib/Common/Logging/ExceptionHandler.php(37): WebExceptionHandler->HandleException(Object(TypeError))\n#3 [internal function]: ExceptionHandler::Handle(Object(TypeError))\n#4 {main}\n thrown in /htdocs/resa.website.com/Pages/Page.php on line 227'
—
Reply to this email directly, view it on GitHub<#413 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUWNKXAK6FBSNNF2VWXREDDZYKXG5AVCNFSM6AAAAABOAO2LDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUGAYTAMRYGQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
HI @PatH007 , Line 227 refers to a smarty function: Try to run |
Thanks for your help all. |
It seems that you are downloading the repo, in this case as treborin says you need to do composer install to add all the needed libraries. Could you try using the latest released zip? |
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.
Originally posted by @PatH007 in #277 (comment)
The text was updated successfully, but these errors were encountered: