APD Toronto
asked on
Error when installing API client with Composer
Hi Experts,
When I try installing Google API Client as mentioned under step 2 of https://developers.google.com/google-apps/calendar/quickstart/php with the following command from the command prompt
...I get the following errors
because it is giving me ...already exists and is not an empty directory. I completely delete 'C:\Inetpub\vhosts\aces-pr oject.com\ crm-cor.ac es-project .com\utili ties\googl e_calendar \vendor directory and run the code above again from c:\...\google_calendar. Same error even if I deleted it.
As well I am running PHP under IIS with Plesk.
If I am ignoring the above error and still use my application I get
Any help will be appreciated.
When I try installing Google API Client as mentioned under step 2 of https://developers.google.com/google-apps/calendar/quickstart/php with the following command from the command prompt
php composer.phar require google/apiclient:^2.0
...I get the following errors
---
- https://github.com/google/google-api-php-client-services.git
fatal: destination path 'C:\Inetpub\vhosts\aces-project.com\crm-cor.aces-
project.com\utilities\google_calendar\vendor\google\apiclient-services' alr
eady exists and is not an empty directory.
- git@github.com:google/google-api-php-client-services.git
fatal: destination path 'C:\Inetpub\vhosts\aces-project.com\crm-cor.aces-
project.com\utilities\google_calendar\vendor\google\apiclient-services' alr
eady exists and is not an empty directory.
---
because it is giving me ...already exists and is not an empty directory. I completely delete 'C:\Inetpub\vhosts\aces-pr
As well I am running PHP under IIS with Plesk.
If I am ignoring the above error and still use my application I get
" <br />
<b>Warning</b>: require_once(C:\Inetpub\vhosts\aces-project.com\crm-cor.aces-project.com\utilities\google_calendar/vendor/autoload.php): failed to open stream: No such file or directory in <b>C:\Inetpub\vhosts\aces-project.com\crm-cor.aces-project.com\utilities\google_calendar\index.php</b> on line <b>80</b><br />
<br />
<b>Fatal error</b>: require_once(): Failed opening required 'C:\Inetpub\vhosts\aces-project.com\crm-cor.aces-project.com\utilities\google_calendar/vendor/autoload.php' (include_path='.;.\includes;.\pear.;C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\PEAR') in <b>C:\Inetpub\vhosts\aces-project.com\crm-cor.aces-project.com\utilities\google_calendar\index.php</b> on line <b>80</b><br />
"
Any help will be appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
By the way, on my local server I am not using any type of SSL.
ASKER
Open in new window