AbanteCart Community
Shopping Cart Operations => Support => Topic started by: Rey on December 28, 2016, 03:17:13 AM
-
Hello, I have a VPS server with CentOS 6.8 64 bit installed.
I had successfully downloaded and extracted Abantecart v1.2.9. Now when I go to the /install/ directory via browser, I get the first page absolutely fine(The License agreement page) but when I click Next to go to the Compatibility Validation page it just shows a blank page. No error or anything.
I had even turned on PHP error reporting but still no info or error.
Can someone please help in this regard?
Thank you.
-
is something in httpd.error log ? i mean /var/log/apache2/httpd.error file
-
is something in httpd. error log ? i mean /var/log/apache2/httpd .error file
There is nothing in httpd error logs nor php error logs, have already checked. I am really lost, been banging my head into this since past 2 days. :(
Have 4 other websites hosted on the same server, but they all are working fine.
Please find attached more info about the server, please see if it helps.
Thank you.
-
what about public_html/system/logs ? Is something there?
-
what about public_html/system/logs ? Is something there?
Yes, please find attached.
Thanks.
-
looks like output buffering disabled for php (or ob-lib for php does not installed on server. not sure. i use debian based linux. )
Please check output_buffering directive inside your php.ini file.
output_buffering = ON
also you can check it via phpinfo(); function
-
Using phpinfo(); Output_buffering is shown as 0 | No Value.
In php (dot) ini output_buffering is Off. Should i just change the value to On or any other numeric value?
Thanks.
-
yes. you should to enable it.
Switch value to 1 (or "On")
-
Enabled output_buffering, restarted httpd, still same blank page on pressing continue from the license agreement page. No progress :(
-
I am sure there must be other people with the same issue? Anyone please?
-
Enabled output_buffering, restarted httpd, still same blank page on pressing continue from the license agreement page. No progress :(
cause is in output buffering 100%.
Try to add
phpinfo(); exit;
into first line of your /install/index.php file after open-tag "<?php" and check it via browser.
-
output buffering master value is shown as 1. I had enabled it via php . ini.
-
ok. let's debug together.
Please replace file public_html/core/helper/utils.php
with attached.
i added var_dump there. You will see output of headers list. please post it here
-
Got this as output after replacing core/helper/utils.php with the one you provided.
-
hm.... it must be different.
ok.. please replace again (see attach)
will be output buffer content
-
btw, can you send response body for your blank page?
i mean html-code by CTRL+U press shortcut
-
This is the output after uploading second utils file.
-
There is nothing in the page source as well. The page source is completely blank too.
-
what about session settings in php. i mean session cookies.
Do you see it saved in your browser?
Is session id the same after page reload?
Probably session set cookie via http-headers and sends some data every time on request.
Please check it. Just open license-page and do refresh. Note session id in cookies before/after load.
-
Yes, I see cookies.
There was 1 cookie named: PHPSESSID
There were 2 cookies named : PHPSESSID_AC
1 cookie named: default
and 1 cookie named: install_0b073fcfe1b0
I reloaded the page many times, the value of the cookies was not changing.
I cleared the cookies and reloaded the page, now there is only 1 new cookie PHPSESSID_AC, whose value is different than the previous PHPSESSID_AC cookie.
Thanks.
-
what about public_html/system/logs ? Is something there?
Yes, please find attached.
Thanks.
Was this fixed? There is a space somewhere in your file before <?php tag
Can you attach your utils.php file in here?
-
No it was not fixed. I still see same error in system/logs.
Which file should I check for a space before <?php tag?
I am using the same utils.php which was attached by abolabo in previous posts.
Thanks.
-
Can you please attach your core/helper/utils.php file in here?
-
try to add this
ob_start();
after opened-tag <?php inside file /public_html/install/index.php
it must to enable buffering anyway
-
@eCommerce Core please find attached the utils.php
@abolabo Finally, I can reach the settings page after adding ob_start();
in /install/index.php
But still it shows that Output buffering is off(please see attached image), but I have turned it on in php.ini and phpinfo(); too shows that OB is on. It is very confusing now..
Thanks.
-
...as i told
so you should to check all php,ini files in your centos.
not sure how many it. In debian based linux stores few. For apache, for shell-mode (cli) etc.
You should check what file applied. The better way to see it in phpinfo(); output in browser.
Also be sure that echo output_buffering=On without ; at the line begining (not commented)
-
Thanks. As far as I know, there is only one php.ini which is being used at the moment.
I will double check again and report back. Thank you for helping out. :)
-
Hello, any news about this problem? I have the same issue, installation without softaculous on Cpanel and blank page after i click next on licence agreement page :-[ :-[ :-[
-
Hello, any news about this problem? I have the same issue, installation without softaculous on Cpanel and blank page after i click next on licence agreement page :-[ :-[ :-[
Yes, as stated above, I managed to reach the next page after adding ob_start();
at the top of this page - /install/index.php
Installation went successfully after doing the same.