Qloapps / QloApps

QloApps is a Free and Open-source hotel management and reservation system to take a hotel business online. QloApps offers a Property Management System (PMS), a Booking Engine, and an attractive Hotel Website. Elevate hotel operations with QloApps to streamline processes and provide an enhanced experience for both hoteliers and guests.
https://qloapps.com
Open Software License 3.0
4.5k stars 483 forks source link

Installation Error at 67% #7

Open viveksinha121 opened 7 years ago

viveksinha121 commented 7 years ago

Hi, During installation I am receiving an error while module installation is in progress.

Thanks

sumitwebkul commented 7 years ago

Hello Vivek, Thanks for showing interest in Qloapps. We have checked at our end and it is working fine. So it is not possible to know the issue exactly. This may be the problem of execution time of your server lets try once by increasing the max_execution_time of your server. So please try once with this solution.

knidie commented 7 years ago

same problem here stop on block installation

sumitwebkul commented 7 years ago

Hello knidie, Please install once after increasing the max_execution_time of your server. I hope problem will be resolved.

knidie commented 7 years ago

hi can you pleas teach me how to do that? my server is centos 7.

在 2016年9月26日,下午9:17,Sumit Panwar notifications@github.com 写道:

Hello knidie, Please install once after increasing the max_execution_time of your server and also increase the execution time of your database. I hope problem will be resolved.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/webkul/hotelcommerce/issues/7#issuecomment-249652184, or mute the thread https://github.com/notifications/unsubscribe-auth/APZsAODfhbt-pBtRvdzJKC8i_A5O1RQ9ks5quAw_gaJpZM4KEA54.

sumitwebkul commented 7 years ago

Hi, Increase variables , max_execution_time = 500 upload_max_filesize = 8M in your php.ini file and restart your server once. Then try to install the software one more time. Otherwise contact to your host provider to increase execution time.

sumitwebkul commented 7 years ago

Hello, It could be two reasons for occurring the above discussed issue. First may be the execution time issue, which solution I have explained you in last reply. Second may be that php5-curl is not installed on your server. So install php5-curl on your server first. So please try to install Qloapps after resolving these issues once. Maybe it will help you.

raygervais commented 7 years ago

Hello, After following your advice I cannot confirm that anything has changed. Instead, while reading the error log in the installer directory, I notice this:

[11-Jul-2016 22:18:41 Asia/Calcutta] PHP Fatal error:  Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/sumit/public_html/html/hotelcommerce/themes/hotel-theme/): failed to open dir: No such file or directory' in /home/sumit/public_html/html/hotelcommerce/tools/smarty/sysplugins/smarty_internal_utility.php:68
Stack trace:
#0 /home/sumit/public_html/html/hotelcommerce/tools/smarty/sysplugins/smarty_internal_utility.php(68): RecursiveDirectoryIterator->__construct('/home/sumit/pub...')
#1 /home/sumit/public_html/html/hotelcommerce/tools/smarty/Smarty.class.php(1440): Smarty_Internal_Utility::compileAllTemplates('.tpl', false, 0, NULL, Object(SmartyCustom))
#2 /home/sumit/public_html/html/hotelcommerce/install/controllers/http/smarty_compile.php(42): Smarty->compileAllTemplates('.tpl', false)
#3 /home/sumit/public_html/html/hotelcommerce/install/classes/controllerHttp.php(96): require_once('/home/sumit/pub...')
#4 /home/sumit/public_html/html/hotelcommerce/install/index.php(31): InstallControllerHttp::execute( in /home/sumit/public_html/html/hotelcommerce/tools/smarty/sysplugins/smarty_internal_utility.php on line 68

Does anyone else see similar? Or am I suffering from a different issue? Thank you!

sumitwebkul commented 7 years ago

Hello, We have to check this issue on your server but we will need your server credentials for it. So we recommend you to raise a ticket at https://webkul.uvdesk.com/ . We will resolve your issue there.

scorpionx1025 commented 7 years ago

I got the same problem with raygervais

My ENV :

ubuntu 16.04 server x64 apache2.4 php 7.0 mysql 5.7

sumitwebkul commented 7 years ago

Hello,

We have found that software is creating some problems with php 7.0 . We are working on these issue. For now we recommend you to use php lower version like php 5.6 and try to install the software with that version once. Hope your issue will be resolved.

scorpionx1025 commented 7 years ago

Hi , I downgrade to PHP 5.5.9-1ubuntu4.20 (cli) (built: Oct 3 2016 13:00:37)

But I meet the problem with install module : wkpaypaladaptive

I move wkpaypaladaptive from module dir to my home dir , then reinstall again.

Now I finish all installation , but the wkpaypaladaptive this module is very important ? Should I put into module dir again ?

sumitwebkul commented 7 years ago

Hello,

In this version of Qloapps wkpaypaladaptive module needs php5-curl to be installed on your server. We are in process in removing the dependency of php5-curl for installation of wkpaypaladaptive module. May be php5-curl is not installed on your server. So install php5-curl on your server first and try to install Qloapps after it once. Maybe it will help you.

scorpionx1025 commented 7 years ago

Really , forgot to install php5-curl extension.

Now installation already finish.

Thanks.

BTW , will support php7.0 ?

sumitwebkul commented 7 years ago

We will definitely work to support php7.0 . We have to check which changes in php7.0 are conflicting in Qloapps. Then we will start working on it.

evansadji commented 7 years ago

hello webkul so what is actually the PHP version of your system in order to make it running.. Mine is still using php7.0 & 7.1 .. but it's not working thankyou

sumitwebkul commented 7 years ago

Hello, You can use any PHP 5.4+ version like php v5.6 and others but versions lower than php7.0 . Thanks

evansadji commented 7 years ago

ok.. I will try thanks in advance

On 28 June 2017 at 21:12, Sumit Panwar notifications@github.com wrote:

Hello, You can use any PHP 5.4+ version like php v5.6 and others but versions lower than php7.0 . Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/webkul/hotelcommerce/issues/7#issuecomment-311672223, or mute the thread https://github.com/notifications/unsubscribe-auth/AJriC8LmP1cVRIZxqzQs95IaptNEq2htks5sIl9ogaJpZM4KEA54 .

EricAiken commented 6 years ago

I can confirm that problems still exists. Env:
CentOS7 el7 Apache 2.6 PHP 5.4.16-43 MariaDb 5.5.56 hotelcommerce V1.1

I solvled raygervais problem by manually creating the hotel-theme directory, however I now get the following error:

[Fri Feb 09 15:28:45.339646 2018] [:error] [pid 19093] [client 192.168.10.1:59308] PHP Fatal error: Class 'Parent' not found in /home/www/stayinsea/hotelcommerce/modules/hotelreservationsystem/classes/HotelBranchInformation.php on line 299, referer: http://192.168.10.100/hotelcommerce/install/index.php?restart=true

[Fri Feb 09 15:29:49.990928 2018] [:error] [pid 19091] [client 192.168.10.1:59332] PHP Warning: curl_setopt(): You must pass either an object or an array with the CURLOPT_HTTPHEADER, CURLOPT_QUOTE, CURLOPT_HTTP200ALIASES and CURLOPT_POSTQUOTE arguments in /home/www/stayinsea/hotelcommerce/install/models/install.php on line 634, referer: http://192.168.10.100/hotelcommerce/install/index.php?restart=true [ Fri Feb 09 15:29:54.624025 2018] [:error] [pid 19091] [client 192.168.10.1:59332] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/classes/Product.php on line 1220, referer: http://192.168.10.100/hotelcommerce/install/index.php?restart=true

[Fri Feb 09 15:29:55.544465 2018] [:error] [pid 19091] [client 192.168.10.1:59332] PHP Fatal error: Class 'Parent' not found in /home/www/stayinsea/hotelcommerce/modules/hotelreservationsystem/classes/HotelBranchInformation.php on line 299, referer: http://192.168.10.100/hotelcommerce/install/index.php?restart=true

EricAiken commented 6 years ago

Can someone publish their known working environment? OS? Ver? Apache? Db? PHP?

thanks

sumitwebkul commented 6 years ago

Ok, Please try once after replacing the file hotelcommerce/modules/hotelreservationsystem/classes/HotelBranchInformation.php From which we have attached. Also please install php5-curl on your server. Try installing after these changes. In case issue persists then we recommend you to raise a ticket at https://webkul.uvdesk.com/ with your ftp details and the url on which you are installing Qloapps. We will resolve your issue there. installIssue.zip

EricAiken commented 6 years ago

Thanks Sumit,

that seems to have taken care of the install and the need to manually create the directory. Site is up. I have one followup question. I'm seeing alot of the following errors to numerous URLS Any suggestions?

[Sat Feb 10 13:03:56.588698 2018] [:error] [pid 19104] [client 192.168.10.1:55674] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=authentication [Sat Feb 10 13:03:56.589080 2018] [:error] [pid 19104] [client 192.168.10.1:55674] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=authentication [Sat Feb 10 13:04:04.187137 2018] [:error] [pid 19090] [client 192.168.10.1:55678] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=my-account [Sat Feb 10 13:04:04.187499 2018] [:error] [pid 19090] [client 192.168.10.1:55678] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=my-account [Sat Feb 10 13:04:10.490383 2018] [:error] [pid 22475] [client 192.168.10.1:55686] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php [Sat Feb 10 13:04:10.490743 2018] [:error] [pid 22475] [client 192.168.10.1:55686] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php [Sat Feb 10 13:04:45.944462 2018] [:error] [pid 22010] [client 192.168.10.1:55694] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php [Sat Feb 10 13:04:45.944517 2018] [:error] [pid 22010] [client 192.168.10.1:55694] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php [Sat Feb 10 13:04:49.668674 2018] [:error] [pid 22010] [client 192.168.10.1:55694] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=my-account [Sat Feb 10 13:04:49.669065 2018] [:error] [pid 22010] [client 192.168.10.1:55694] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=my-account [Sat Feb 10 13:05:03.788174 2018] [:error] [pid 22477] [client 192.168.10.1:55708] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=history [Sat Feb 10 13:05:03.788540 2018] [:error] [pid 22477] [client 192.168.10.1:55708] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=history

On Fri, Feb 9, 2018 at 10:02 PM, Sumit Panwar notifications@github.com wrote:

Ok, Please try once after replacing the file hotelcommerce/modules/hotelreservationsystem/classes/HotelBranchInformation.php From which we have attached. Also please install php5-curl on your server. Try installing after these changes. In case issue persists then we recommend you to raise a ticket at https://webkul.uvdesk.com/ with your ftp details and the url on which you are installing Qloapps. We will resolve your issue there. installIssue.zip https://github.com/webkul/hotelcommerce/files/1713078/installIssue.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/webkul/hotelcommerce/issues/7#issuecomment-364628995, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnUqHxbawglua9FTLi90WpI7_Kw2Q1vks5tTTDygaJpZM4KEA54 .

-- Eric C. Aiken

EricAiken@gmail.com

sumitwebkul commented 6 years ago

Hello, We have to check these issues on your server. So we recommend you to raise a ticket at https://webkul.uvdesk.com/ with your ftp details and the admin url and login credentials. We will resolve your issue there. Thanks

robirbf commented 6 years ago

yes this is true

We have found that software is creating some problems with php 7.0 . We are working on these issue. For now we recommend you to use php lower version like php 5.6 and try to install the software with that version once. Hope your issue will be resolved.

im sucess install for change to PHP 5.6

thanks

EricAiken commented 6 years ago

Thanks for the feedback.

I have an open ticket for another issue, which really begs a point I posted on a forum.

Can you provide a know working configuration?

CentOS 6.x or 7.x Apache 2.2 or 2.4 or more precise. Php v? mysql/mariadb v?

php-curl V? what else V?

. . . I can build whatever, I just need some details. The install guide doesn't provide too many specifics. I guess another import point I've learned is what versions of prestashop?

Thanks in advance.

On Wed, Feb 14, 2018 at 10:40 PM, robirbf notifications@github.com wrote:

yes this is true

We have found that software is creating some problems with php 7.0 . We are working on these issue. For now we recommend you to use php lower version like php 5.6 and try to install the software with that version once. Hope your issue will be resolved.

im sucess install for change to PHP 5.6

thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/webkul/hotelcommerce/issues/7#issuecomment-365838655, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnUqGeI-dQ0AttRLVxtaa1WviF9xaSAks5tU9FWgaJpZM4KEA54 .

-- Eric C. Aiken

EricAiken@gmail.com

gispk47 commented 6 years ago

have you found a way to solve this this problom? i met the same error like this:

[Sat Feb 10 13:04:04.187137 2018] [:error] [pid 19090] [client 192.168.10.1:55678] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=my-account [Sat Feb 10 13:04:04.187499 2018] [:error] [pid 19090] [client 192.168.10.1:55678] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer:

EricAiken commented 6 years ago

Sorry I've not got to it. I've been toiling with getting a dev environment with eclipse and prestashop up and running. Getting closer

On Feb 28, 2018 7:36 PM, "gispk47" notifications@github.com wrote:

have you found a way to solve this this problom? i met the same error like this:

[Sat Feb 10 13:04:04.187137 2018] [:error] [pid 19090] [client 192.168.10.1:55678] PHP Notice: Undefined index: total_rooms_in_cart in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/ 549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer: http://192.168.10.100/hotelcommerce/index.php?controller=my-account [Sat Feb 10 13:04:04.187499 2018] [:error] [pid 19090] [client 192.168.10.1:55678] PHP Notice: Trying to get property of non-object in /home/www/stayinsea/hotelcommerce/cache/smarty/compile/54/9f/47/ 549f47fb4c94806074ba0e135e9aa030bfc03a06.file.blockcart.tpl.php on line 81, referer:

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/webkul/hotelcommerce/issues/7#issuecomment-369464030, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnUqHnvTz19aeG-FM8soPsJ8JxMKU2Tks5tZ2ysgaJpZM4KEA54 .

sumitwebkul commented 6 years ago

Hello, We are not getting this error at our end. So we need to check this issue on your server. So we recommend you to raise a ticket at https://webkul.uvdesk.com/ with your ftp details and the admin url and login credentials. We will resolve your issue there.