Hi @deapness,
Sorry to hear of the problem you are having.
I have tested the latest version of Appointments plugin on my test site and found it’s working fine without any issue even i tested it setting wp-debug to true.
Could you please try deleting and re-installing fresh latest version of Appointments plugin?
Kind Regards,
WPMU DEV
Hi WPMU DEV,
Thanks for the fast reply!
I tried deleting and reinstalling with the latest Appointments plugin (1.4.4) and still am experiencing this issue.
Hi @deapness,
Thanks for your reply. This isn’t something we can replicate at all. It sounds like that one file isn’t actually getting installed, or possibly isn’t accessible on your site for some reason.
Could I ask for you to download the plugin directly here:
http://downloads.wordpress.org/plugin/appointments.zip
And then install the files manually via FTP?
Or if you could simply verify the following folder exists on your site:
/appointments/includes/gcal/service/
Along with the file Google_Utils.php, that would help.
Could you let us know if that’s the case?
Thanks,
David
Hi David,
I tried doing as you suggested but the error still is happening.
Here is a screenshot confirming the folder/file:
View post on imgur.com
Thanks!
Hi @deapness,
Hmm, that’s really strange. Could I ask for you to check the file and folder permissions on your server for that file and also the /service/ folder?
Could you let us know what the permissions are?
Thanks,
David
Hi David,
I’ve tried setting the appointments folder and everything in it to 777 just to test and it still is causing the same error.
Something to note: I have tried this plugin on different websites on the same server and sometimes it has the error and sometimes it doesn’t.
Thanks!
Hi @deapness,
Could you please try editing the following Appointments plugin file on line number 20 as shown below?
Appointments plugin file:
plugins/appointments/includes/gcal/auth/Google_OAuth2.php
Before Editing:
require_once "service/Google_Utils.php";
After Editing:
require_once plugin_dir_path( __FILE__ )."includes/gcal/service/Google_Utils.php";
Best Regards,
WPMU DEV
Hi WPMU DEV,
I have got it to work based on these last instructions! It was a little bit different, though:
I replaced line 20 with this code:
require_once plugin_dir_path( __FILE__ )."Google_Utils.php";
And duplicated the “Google_Utils.php” file into /gcal/auth/
Then I got similar errors in the /gcal/io/ folder so I changed lines 18-20 in Google_IO.php to
require_once plugin_dir_path( __FILE__ ).'Google_HttpRequest.php';
require_once plugin_dir_path( __FILE__ ).'Google_CurlIO.php';
require_once plugin_dir_path( __FILE__ ).'Google_REST.php';
And it worked!
Hi @deapness,
Awesome, great to see you made that worked.
If I can be of any further assistance please don’t hesitate to ask 🙂
Cheers,
WPMU DEV