I installed WebCalendar 1.0.5 and webcal-5.x-1.x-dev. WebCalendar worked fine in standalone mode. I installed WebCalendar in a folder named webcal10 under my Drupal installation. I could browse to WebCalendar and set it up just fine. But when I added user-app-drupal-1.0.x.php to my webcal10/includes folder, renamed it to user-app-drupal.php, and changed settings.php to "user_inc: user-app-drupal.php" (without the quotes), then I get an error message
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
SELECT u.uid FROM sessions s, users u WHERE s.sid = 'e225d24ea52bc3c0ad152e0a48d994c1' AND s.uid=u.uid
The WebCalendar troubleshooting guide suggested that "This is a PHP/MySQL configuration issue." But if it were, I would expect standalone access to also be affected.
Any ideas what the problem might be?
Thanks,
Bill
Comments
Comment #1
bdornbush commentedI just went back to my site and tried again to logon to http://site/webcal10. I got page not found. So I clicked on the calendar menu option in Drupal, and there it is! It works for both logged in and anonymous access.
I checked settings.php and I see user_inc: user.php
So how is it working?
Comment #2
bdornbush commentedI mis-spoke (typed??). I can access WebCalendar either through http://site/webcal10 and I get WebCalendar, or I can access WebCalendar through Drupal by clicking on the menu item "calendar."
Puzzling....
Comment #3
bdornbush commentedI wish there were a way to delete prior comments :-(
My original post was correct. If I use "user_inc: user-app-drupal.php" then I get the error message. If I use "user_inc: user.php" then I can see the calendar either by browsing to the webcalendar directory, or by going through Drupal. If I go through Drupal, I must also login to WebCalendar separately.
So I still need ideas how to fix the original problem of "Can't connect to local MySQL server through socket" when I have user-app-drupal.php in place rather than user.php.
Comment #4
ddv commentedI don't know the answer, but I'm having the same problems with the same configuration. I've been searching for an answer and see many others with similar complaints, but no answers.
Comment #5
nancydruYeah, the lack of responses is kind of upsetting. I've had WebCalendar on my 4.7.4 site for almost 6 months now and have never been able to use WebCal correctly (basically all I have ever been able to do is present the iframe, but have to log in directly to WebCalendar). Now that I am almost through with converting to 5.1, I'm wondering if I should abandon WebCalendar in favor of something else. The problem is that I like WebCalendar.
Comment #6
jaredwiltshire commentedHey guys. Sorry there has been a very distinct lack of responses from me. I'm just about finished uni for the semester and I promise I'll do a big review of the issue queue within the next week.
Comment #7
nancydruWell, if you run across any remaining issues from me, you can close them. I'm no longer using WebCal.
Comment #8
jaredwiltshire commentedWebCalendar 1.0.x is no longer supported. Try using WebCalendar 1.1.2.
Comment #9
ddv commentedDo you realize that WebCalendar 1.0.x is the production version? 1.1.2 is listed as a development version. To quote their website "The 1.1 releases are not intended for production environment."
Under the circumstances it seems a bit premature to abandon 1.0 support. Just my 2¢.