General discussion of OpenCATS

Moderators: RussH, cptr13

Forum rules: Just remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but keep comments directed to the topic at hand.
By twilonc9
#2646
This command # php composer.phar install didn't work for me. I'm on Hostgator.
Everything else was smooth sailing. Do you know where I can get the command for Hostgator? Great tutorial!
User avatar
By cptr13
#2647
Ok thanks for posting here.

First thing, I'd like to check what php version you're running.

Please log back in through putty by SSH (The CPanel-SSH) Section of the documention)
When you're logged in to putty (Black screen)
Type the following: php -v

That should tell you what php version you're using.

We need to make sure it's php 5.6
User avatar
By cptr13
#2656
If you have any websites or anything else running on your hostgator account, switching php versions MAY break them....back it up first !!!!
By twilonc9
#2665
Thank you so much. I already changed it on Hostgator side previously, what appears to be happening is the Putty is pulling the defaulted php in hostgator. My hostgator is running on 5.6 but Putty is not recognizing that. I need a way to bypass this...

Thank you.
User avatar
By cptr13
#2666
Actually, I just ran into something similar a couple days ago. I think you need to try this.

Putty back into your opencats directory

Instead of the normal composer command, try this instead of the command listed in the documentation:

php56 composer.phar install

Let me know if that works. If not, I'll dig around.
By twilonc9
#2667
Regrettably, that didn't work either. :|. It tells me command not found.

Thank you so much for helping me through this.
User avatar
By cptr13
#2668
ok, try this.

You need to find the location of the php5.6

Should be in the opt dir

So do the following.

cd /opt

ls

This should give you a directory listing. HOPEFULLY, you should see more than one php directory. HOPEFULLY you will see a php directory and a php56 directory. If you see a php56 or php5.6, then you're good.

Now do the following.
cd back into your opencats directory

and try the following command
If the directory was php56:
/opt/php56/bin/php composer.phar install

If the directory was php5.6:
/opt/php5.6/bin/php composer.phar install

Try that and let us know if it works.
By twilonc9
#2669
:D :D :D Thank you so much. I was able to bypass with that command!!! Thank you again.

I am now getting an error For Step 2 of Database Connectivity
Cannot connect to database.
Access denied for user '�twilsonc_OTJS'@'localhost' (using password: YES)
One or more tests failed. Please correct the errors and try again.

What am I doing wrong?

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me