Jump to content

BFD Calendar

  • Content Count

  • Joined

  • Last visited

Community Reputation

75 Excellent

About BFD Calendar

  • Rank
    Sr. Member
  • Birthday 09/20/1959

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

5,690 profile views
  1. Apparently the setting takes time to settle in. Two days later I'm not logged out at random anymore. Fingers crossed.
  2. /** * sessionExpireSeconds: how many seconds of inactivity before session expires * */ $config->sessionExpireSeconds = 172800; /** * ADDED - session.cookie_lifetime: how many seconds of inactivity before cookie expires * */ ini_set('session.cookie_lifetime', 86400); /** * sessionChallenge: should login sessions have a challenge key? (for extra security, recommended) * */ $config->sessionChallenge = true; /** * CHANGED - sessionFingerprint: should login sessions be tied to IP and user agent? * * More secure, but will conflict with dynamic IPs. * */ $config->sessionFingerprint = 2;
  3. This doesn't make any difference.
  4. Since a few weeks I have problems staying logged into ProcessWire admin. Behaviour is quite random, sometimes I can't even edit one field without being sent to the login page. Sometimes I manage to stay logged in for a few minutes, sometimes longer. It happens with different browsers, computers, operating systems. On same computers my other sites work fine. ProcessWire 3.0.98 at https://www.birthfactdeathcalendar.net
  5. Thanks all. I'll be working with a long time PW community member on this. Case closed.
  6. What do you want to know? We have about 1800 students, about 350 have attended a Lasercutting Workshop. Between Jan-Jun 2019 there were over 800 laser sessions on two machines. Eventually the reservation system can be extended to two CNC machines and one 3D printer. As soon as someone makes a reservation - only by staff at our desk, not by students online - it should show up on the calendar so we know a slot is taken. Reservations are standard one hour ex 9-10 or 15-16 etc. Ideally the form also checks if the student has attended a workshop and if the slot for that machine is free for a given time/date.
  7. We're looking for someone who can make an addon for our website using Formbuilder and publishing the pages to a Google Calendar instantly. The use is a setup for laser reservations for a modelbuilding lab, see www.mekano.info to have a bit of an idea. On the 'calendar' page you'll find a linked Google calendar that lists all events per day. These events are now all added by staff members in a shared Google calendar. Underneath the calendar is a list of recent use of our lasercutters, generated by a form where user, machine and start time are entered and duration is calculated by editing that form. I have a likely form to add a reservation to enter user, machine and time/date but we want them to go into our shared Google calendar 'immediately'. If you look at early June in the calendar you can see how it should look like. I know there are simple solutions to make this happen but haven't figured a working out. We want Google calendar so all our staff can subscribe and see the calendar on all their devices. On the other hand we want to keep a list of students who made reservations because at some point they are limited. If you're interested I can give you a login to see a bit more behind the curtains. Part of the website is public for students and guests, quite a few functional pages are only visible when you're logged in.
  8. I'll install it and pm you when done.
  9. Great. I can give you a login and you can export what's needed.
  10. The hosting is by OVH. I have five sites there, two with a lot of pages and three 'simple'. In the last year they moved servers to new locations which caused a few problems but apart from that I'm satisfied. At birthfactdeathcalendar.net all images apart from a few exceptions are linked to other sites like Wikipedia and such. This probably makes pages load slow as well. And the code used to make the a-z listings for 'people' and 'places' are maybe loading a lot that isn't used. As mentioned some of the resources are copy paste and definitely not optimised for Processwire. Any help or direction to improve things is most welcomed. The site is still growing, I'm close to 29.000 pages now, means that I added about 4.000 in eight months time....
  11. Can't even see if it's full: Error: Connection timed out after 20 seconds of inactivity Error: Failed to retrieve directory listing But my FTP program says it was only modified on 07/02/15. /site/assets/files was modified 09/04/19 but then I didn't add any files, just pages last night. And getting the listing fails as well. Last cached file is LazyCron.cache 09/05/19 13:02:54 But Hurray! site is back now – without doing anything at all :)
  12. The most recent items are 2019-09-05 12:21:59 guest https://www.birthfactdeathcalendar.net/rss/ Error: Uncaught Error: Call to a member function getRandom() on null in /home/birthfac/www/site/templates/bfd_rss_feed.php:174 Stack trace: #0 /home/birthfac/www/wire/core/TemplateFile.php(287): require() #1 /home/birthfac/www/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #2 /home/birthfac/www/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___render', Array) #3 /home/birthfac/www/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #4 /home/birthfac/www/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #5 /home/birthfac/www/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #6 /home/birthfac/www/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___renderPage', Array) #7 /home/birthfac/www/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array) #8 /home/birthfac/www/wire/core/WireHooks.php(822): Pr (line 174 of /home/birthfac/www/site/templates/bfd_rss_feed.php) and 2019-09-05 12:32:09 ? https://www.birthfactdeathcalendar.net/?/ Error: Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (in /home/birthfac/www/wire/core/WireSaveableItems.php line 168) Yesterday evening everything was working fine.
  13. @dragan Only read your post now... Sure I'd want to optimise my site a bit. It's the first one I made with Processwire so I can imagine a lot of my coding is sluggish and outdone, also pieced together from different sources. Where should I start? Knowing that I'm more of an enthusiast and not an experienced coder. Just now I have a sudden 500 Internal Server error and can't even get on the site anymore....
  14. How can I give permission to import pages from csv? I have an 'administrator' role that can add, create and edit pages but 'Import Pages From CSV' doesn't show up under 'Setup'. PW 3.0.98
  • Create New...