-
I got exactly the same kind of errors when I try to install the last app on a OVH shared server... Thank for any help. Originally posted by @PatH007 in #277 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 22 comments
-
I tried on a different server, same error when I try to start /Web/install and no tables were created in the database... |
Beta Was this translation helpful? Give feedback.
-
Sounds like you haven't got Smary libraries. This is for windows. Install Composer Installing extra dependencies _```
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your help.
|
Beta Was this translation helpful? Give feedback.
-
Hi @PatH007, Could you check if you have this folder: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It seems there is never ending problem with ROOTDIR (?). |
Beta Was this translation helpful? Give feedback.
-
@PatH007, that warning is about write access (0755) to |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help. |
Beta Was this translation helpful? Give feedback.
-
@PatH007 , wich PHP version are you using? |
Beta Was this translation helpful? Give feedback.
-
8.1.29 php version. |
Beta Was this translation helpful? Give feedback.
-
Can't make it work. |
Beta Was this translation helpful? Give feedback.
-
@PatH007 , |
Beta Was this translation helpful? Give feedback.
-
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'] = '';` |
Beta Was this translation helpful? Give feedback.
-
Hi @PatH007, Pls. try this: |
Beta Was this translation helpful? Give feedback.
-
Thank you @treborin for your help. |
Beta Was this translation helpful? Give feedback.
-
You can install on root, no problem. Are you able to use the error logging. It'd help to see the log file
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot again for your help. |
Beta Was this translation helpful? Give feedback.
-
[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: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
HI @PatH007 , Line 227 refers to a smarty function: Try to run |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help all. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Sounds like you haven't got Smary libraries.
The booking system has changed since twinkletoes software stopped developing booked scheduler. In particular, not all dependencies are included, so need to use composer to fetch them during the install.
This is for windows.
Install Composer
Download composer from https://getcomposer.org/
Runn Composer-Setup.exe v2.6.6 as admin, this installs composer such that it can be called from any directory (by adding to windows path).
Ran this as admin, install for all users. Selected C:\xamp\php\php.exe as the command line php to use (change for your back end)
Select add to path (wouldn’t continue without this checked), didn’t select a proxy
Installs OK
…