Page 1 of 2

Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 05:02
by prune
Hi

I installed this

https://github.com/mfscripts/Yetishare- ... cript-Free

But I get http 500 error

How do I check error logs in keyhelp so I know what is causing this error

Maybe this script does not support php 7?

Thank you.

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 07:50
by prune
hmm this script was released in 2012 and php 7.0 was out in 2015 so i guess it's not supported

is it safe to install php 5.x even when keyhelp has no cloudlinux?

thanks

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 09:08
by Alexander
The logs can be found here:

KeyHelp user area of the user, who owns the domain -> Domains -> Web server logs

You can install older PHP versions here:

Admin area -> Configuration -> PHP interpreters

Afterwards, assign the PHP version to the corresponding domain via the domain settings.

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 09:16
by prune
Thanks Alex

I remember installing php versions via ssh before now it can be done via admin area? Wow

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 09:19
by Alexander
You can do this since July 2017 ;).

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 09:30
by prune
How do you uninstall. There is no checkbox for that column?

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 09:32
by Tobi
You can't uninstall a version which is in use.

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 09:41
by prune
Thanks.

Now it does not show http 500 error

It now shows attached. That DB exist and I did import the .sql it said I should

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 09:54
by Florian
Hello,

check the tables in PHPmyadmin.

If they do not extist, something wrent wrong during the import of the database or you imported a wrong dump

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 10:08
by prune
Hi Florian

The sql I imported came with the zip. When I did import it there was an error. I can just delete that DB and re-import but same error always

Re: Yetishare on Keyhelp

Posted: Tue 17. Nov 2020, 10:33
by Alexander
What command have you tried to execute and what was the error message?

If there was an error, the database could not be imported and therefor you received the message about a missing database table.

Re: Yetishare on Keyhelp

Posted: Wed 18. Nov 2020, 07:35
by prune
I just follow this

https://github.com/mfscripts/YetiShare- ... LATION.txt

But I get these error

Re: Yetishare on Keyhelp

Posted: Wed 18. Nov 2020, 08:41
by Tobi
As it says in the error message.
No database selected
First select a database on the left menu and then import the data.

You probably tried to import from top level of your MariaDB server.
But on top level no database is selected so far.

Re: Yetishare on Keyhelp

Posted: Wed 18. Nov 2020, 10:11
by prune
I now selected a db on the left before clicking the import tab. But after I import the sql, I just get the phpmyadmin login page :/

Re: Yetishare on Keyhelp

Posted: Wed 18. Nov 2020, 10:18
by prune
Yes import finally worked. I just had to re-login manually after I get that login page

I usually login directly from the Database page...

Edit:

It really does not work with php 7 but it did with php 5.4. In Cpanel you can have php 5.2. Is this possible with KH?

Thanks!