cancel
Showing results for 
Search instead for 
Did you mean: 

Composer issue - Could not open input file ??

SOLVED

Composer issue - Could not open input file ??

Hi all.

I'm stuck on this one if anyone can help out.

I was in the process of updating an extension using composer and SSH.

I get the following error:

Error: composer config repositories.ebizmarts composer https://packages.ebizmarts.com
Could not open input file: /home/u134-xk6jpykhywev/composer.phar

What does this mean and how can I fix it?

Thank you

Andy

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Composer issue - Could not open input file ??

Update: My hosting confirmed that the composer command was indeed using an old username and has rectified the issue.

May help someone else -

Thanks

Andy

View solution in original post

2 REPLIES 2

Re: Composer issue - Could not open input file ??

Just to update my OP

It seems that when I use composer to update a module, composer is trying to open the /composer.phar using an old path.

The path I'm running the composer command in is correctusername/www/domain/public_html/

But the error is reporting Could not open input file: /home/oldusername/compoer.phar

Re: Composer issue - Could not open input file ??

Update: My hosting confirmed that the composer command was indeed using an old username and has rectified the issue.

May help someone else -

Thanks

Andy