Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2016-08-16 10:33:46

yamyoume
Member
Registered: 2016-08-16
Posts: 6

When going to /domain.com/lhc_web i get a download "download" file

i can't even go to the installation page
i put the folder "lhc_web" in my public_html and when i go to my domain.con/lhc_web it downloads a file named "download" and in this file is the following

[== PHP ==]
<?php
/**
 * Copyright 2009-2015 Remigijus Kiminas
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

***_set('error_reporting', 0);
***_set('display_errors', 0);
***_set('session.gc_maxlifetime', 200000);
***_set('session.cookie_lifetime', 2000000);
***_set('session.cookie_httponly',1);

require_once "lib/core/lhcore/password.php";
require_once "ezcomponents/Base/src/base.php"; // dependent on installation method, see below

ezcBase::addClassRepository( './','./lib/autoloads');

spl_autoload_register(array('ezcBase','autoload'), true, false);

erLhcoreClassSystem::init();

// your code here
ezcBaseInit::setCallback(
 'ezcInitDatabaseInstance',
 'erLhcoreClassLazyDatabaseConfiguration'
);

$Result = erLhcoreClassModule::moduleInit();

$tpl = erLhcoreClassTemplate::getInstance('pagelayouts/main.php');
$tpl->set('Result',$Result);
if (isset($Result['pagelayout']))
{
	$tpl->setFile('pagelayouts/'.$Result['pagelayout'].'.php');
}

echo $tpl->fetch();

flush();
session_write_close();

if ( function_exists('fastcgi_finish_request') ) {
    fastcgi_finish_request();
};

erLhcoreClassChatEventDispatcher::getInstance()->executeFinishRequest();

but in my local wamp server it worked and i got to the installation

how do i install on my real website?

Edit: this is what i got in the Error_log

[== Undefined ==]

/home4/multipu7/public_html/lhc_web/error_log:
[20-Jul-2016 00:53:02] PHP Parse error:  syntax error, unexpected '{' in /home4/multipu7/public_html/lhc_web/lib/core/lhcore/password.php on line 10
[20-Jul-2016 00:53:15] PHP Parse error:  syntax error, unexpected '{' in /home4/multipu7/public_html/lhc_web/lib/core/lhcore/password.php on line 10
[20-Jul-2016 00:53:15] PHP Parse error:  syntax error, unexpected '{' in /home4/multipu7/public_html/lhc_web/lib/core/lhcore/password.php on line 10
[20-Jul-2016 00:53:27] PHP Parse error:  syntax error, unexpected '{' in /home4/multipu7/public_html/lhc_web/lib/core/lhcore/password.php on line 10
[20-Jul-2016 00:53:34] PHP Parse error:  syntax error, unexpected '{' in /home4/multipu7/public_html/lhc_web/lib/core/lhcore/password.php on line 10
[20-Jul-2016 00:56:11] PHP Parse error:  syntax error, unexpected '{' in /home4/multipu7/public_html/lhc_web/lib/core/lhcore/password.php on line 10
[20-Jul-2016 01:02:26] PHP Parse error:  syntax error, unexpected '{' in /home4/multipu7/public_html/lhc_web/lib/core/lhcore/password.php on line 10

Last edited by yamyoume (2016-08-16 11:00:48)

Offline

#2 2016-08-16 10:49:20

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: When going to /domain.com/lhc_web i get a download "download" file

If you are Tring to migrate from local to Web I suggest a new clean insallation on the Web. If you want move local to Web there are commercial support in the case you are unable to do. I cannot help you in that case.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2016-08-16 11:01:40

yamyoume
Member
Registered: 2016-08-16
Posts: 6

Re: When going to /domain.com/lhc_web i get a download "download" file

i'm not moving the files i copied fresh files

Offline

#4 2016-08-16 11:05:57

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: When going to /domain.com/lhc_web i get a download "download" file

I suggest to read the documentation  who explain how to install LHC. Have you followed the tutorial and set database?


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#5 2016-08-16 13:55:46

yamyoume
Member
Registered: 2016-08-16
Posts: 6

Re: When going to /domain.com/lhc_web i get a download "download" file

Sir i'm even there yet
my website is multipleplus.net alright
so if i got www.multipleplus.net/lhc_web
my browser downloads a file named "download" and i showed you the contents of it up top
and if I go www.multipleplus.net/lhc_web/index.php/install/install i get error 404 not found

Offline

#6 2016-08-16 14:00:40

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: When going to /domain.com/lhc_web i get a download "download" file

Seems you don't uploaded all files. index.php is missed. Also your server have a potential security issue as directory listen seems to be allowed.
You need to be able to understand how a server works and also how is necessary to use a web application.

I suggest to disallow directory listing and remove lhc_web download again the zip file from livehelperchat.com unzip with 7Zip and be sure all file is upload in your server without error.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#7 2016-08-16 14:45:43

yamyoume
Member
Registered: 2016-08-16
Posts: 6

Re: When going to /domain.com/lhc_web i get a download "download" file

thanks for the help, it was my bad i was uploading the files from my wamp website folder and those are not fresh
a month ago i had the same problem ,
i just uploaded fresh files from the .zip archive and it's working

Offline

#8 2016-08-16 15:22:37

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: When going to /domain.com/lhc_web i get a download "download" file

Hi,
Thank you for your feedback! I AM happy to heard you have resolved!


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer