Page 1 of 1

Site not working

Posted: Mon Feb 05, 2018 5:01 pm
by happydg
Hello,

My site isn't working

PHP Fatal error: The encoded file index.php requires a license file. The license file scj_pro.lic is corrupt

File scj_pro.lic is present in the root directory but it contains some text which obviosly does not apply to license.

It's a free licence.

Thank you.

Re: Site not working

Posted: Mon Feb 05, 2018 8:53 pm
by admin
Please copy scj_pro.lic from another site or scj_pro.free.lic
And please, run update

Re: Site not working

Posted: Mon Feb 05, 2018 11:01 pm
by happydg
Hello,

I just found scj2.free.lic and scj2.lic in scj directory and scj2.lic in the root of another website. But this website is running on version 2 and the website having problems is running on version 1.

What should i do?

Thank you.

Re: Site not working

Posted: Tue Feb 06, 2018 7:03 am
by admin
Copy a free license from any other site

Re: Site not working

Posted: Tue Feb 06, 2018 2:14 pm
by happydg
I copied licence files from v2 and renamed them in scj directory from:

scj2.free.lic to scj_pro.free.lic
scj2.lic to scj_pro.lic

And in root directory from

scj2.lic to scj_pro.lic

In ssh update it says:

$ env HTTP_HOST=mydomain.com php update.php
PHP Fatal error:
The license file .../scj/scj_pro.lic
for ../scj/includes/prepare.php is corrupt.
in Unknown on line 0

Re: Site not working

Posted: Wed Feb 07, 2018 4:18 am
by admin
No

scj_pro.free.lic -> scj_pro.lic

scj2.free.lic -> scj2.lic

I hope you have a copy of files you overwrite, dont you ?