Site not working

Post Reply
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Site not working

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Site not working

Post by admin »

Please copy scj_pro.lic from another site or scj_pro.free.lic
And please, run update
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Site not working

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Site not working

Post by admin »

Copy a free license from any other site
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Site not working

Post 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
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Site not working

Post 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 ?
Don't forget to run script update
Post Reply