Closed ed29 closed 8 years ago
Hi! The community around this extension is vibrant and friendly, and you will surely get help, but we need more details. The kind of error you described simply does not happen if everything is set up properly, so please tell us more about your server - http server, php version, operating system... The more details, the better.
Strangely enough, I had that happening the other day and it stumped me too! I am running 1.9.2.4 on Nginx/Percona and PHP-FPM (5.5). The even stranger thing is that this happened when testing the dev environment on Firefox for centOS 6.7, also latest version. First thing I did was clear the OPcache, and that yielded no result. Then the next thing was trying it from another browser, and low and behold, it worked normally. So I closed and reopened FireFox on centOS, and that didn’t help either. I think I ended up rebooting the centOS box entirely, and then it was working again. But it sure was strange. I have a feeling that it was more browser cache related than anything else.
Hope that helps.
Sincerely,
Martin Lerch
On May 8, 2016, at 12:20 AM, ed29 notifications@github.com wrote:
Hi:
my magento version is 1.9.2.2,affter click the submit order botton,it will jump to shopping cart page.
hhvm
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Inchoo/Inchoo_PHP7/issues/41
Update - So I can reproduce this issue right now on my system, but only on centOS 6.7 using Firefox. Whenever I request the checkout page it starts to load but then swaps over to the cart page instead. Very strange behavior. So now I am looking for a solution as well.
The site works fine on Mac Safari, Firefox and Chrome, as well as Windows 10 IE, Firefox and Chrome.
Thanks,
Martin
On May 8, 2016, at 12:20 AM, ed29 notifications@github.com wrote:
Hi:
my magento version is 1.9.2.2,affter click the submit order botton,it will jump to shopping cart page.
hhvm
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Inchoo/Inchoo_PHP7/issues/41
@mrlerch Thank you for your exprience
@icurdinj Here is my server information:
1.PHP
My server is ubuntu 14.04,use ondrej's repository:
deb http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
install newest php7.0-fpm with:
apt-get install php7.0 php-pear php7.0-fpm php7.0-mysql php7.0-gd php7.0-mcrypt php7.0-curl php7.0-soap
The file list of /etc/php/7.0/fpm/conf.d is:
lrwxrwxrwx 1 root root 39 May 10 00:59 10-mysqlnd.ini -> /etc/php/7.0/mods-ava ilable/mysqlnd.ini
lrwxrwxrwx 1 root root 39 May 10 00:59 10-opcache.ini -> /etc/php/7.0/mods-ava ilable/opcache.ini
lrwxrwxrwx 1 root root 35 May 10 00:59 10-pdo.ini -> /etc/php/7.0/mods-availab le/pdo.ini
lrwxrwxrwx 1 root root 35 May 10 01:08 15-xml.ini -> /etc/php/7.0/mods-availab le/xml.ini
lrwxrwxrwx 1 root root 40 May 10 00:59 20-calendar.ini -> /etc/php/7.0/mods-av ailable/calendar.ini
lrwxrwxrwx 1 root root 37 May 10 00:59 20-ctype.ini -> /etc/php/7.0/mods-avail able/ctype.ini
lrwxrwxrwx 1 root root 36 May 10 00:59 20-curl.ini -> /etc/php/7.0/mods-availa ble/curl.ini
lrwxrwxrwx 1 root root 35 May 10 01:08 20-dom.ini -> /etc/php/7.0/mods-availab le/dom.ini
lrwxrwxrwx 1 root root 36 May 10 00:59 20-exif.ini -> /etc/php/7.0/mods-availa ble/exif.ini
lrwxrwxrwx 1 root root 40 May 10 00:59 20-fileinfo.ini -> /etc/php/7.0/mods-av ailable/fileinfo.ini
lrwxrwxrwx 1 root root 35 May 10 00:59 20-ftp.ini -> /etc/php/7.0/mods-availab le/ftp.ini
lrwxrwxrwx 1 root root 34 May 10 00:59 20-gd.ini -> /etc/php/7.0/mods-availabl e/gd.ini
lrwxrwxrwx 1 root root 39 May 10 00:59 20-gettext.ini -> /etc/php/7.0/mods-ava ilable/gettext.ini
lrwxrwxrwx 1 root root 37 May 10 00:59 20-iconv.ini -> /etc/php/7.0/mods-avail able/iconv.ini
lrwxrwxrwx 1 root root 36 May 10 00:59 20-json.ini -> /etc/php/7.0/mods-availa ble/json.ini
lrwxrwxrwx 1 root root 38 May 10 00:59 20-mcrypt.ini -> /etc/php/7.0/mods-avai lable/mcrypt.ini
lrwxrwxrwx 1 root root 38 May 10 00:59 20-mysqli.ini -> /etc/php/7.0/mods-avai lable/mysqli.ini
lrwxrwxrwx 1 root root 41 May 10 00:59 20-pdo_mysql.ini -> /etc/php/7.0/mods-a vailable/pdo_mysql.ini
lrwxrwxrwx 1 root root 36 May 10 00:59 20-phar.ini -> /etc/php/7.0/mods-availa ble/phar.ini
lrwxrwxrwx 1 root root 37 May 10 00:59 20-posix.ini -> /etc/php/7.0/mods-avail able/posix.ini
lrwxrwxrwx 1 root root 40 May 10 00:59 20-readline.ini -> /etc/php/7.0/mods-av ailable/readline.ini
lrwxrwxrwx 1 root root 37 May 10 00:59 20-shmop.ini -> /etc/php/7.0/mods-avail able/shmop.ini
lrwxrwxrwx 1 root root 41 May 10 01:08 20-simplexml.ini -> /etc/php/7.0/mods-a vailable/simplexml.ini
lrwxrwxrwx 1 root root 36 May 10 00:59 20-soap.ini -> /etc/php/7.0/mods-availa ble/soap.ini
lrwxrwxrwx 1 root root 39 May 10 00:59 20-sockets.ini -> /etc/php/7.0/mods-ava ilable/sockets.ini
lrwxrwxrwx 1 root root 39 May 10 00:59 20-sysvmsg.ini -> /etc/php/7.0/mods-ava ilable/sysvmsg.ini
lrwxrwxrwx 1 root root 39 May 10 00:59 20-sysvsem.ini -> /etc/php/7.0/mods-ava ilable/sysvsem.ini
lrwxrwxrwx 1 root root 39 May 10 00:59 20-sysvshm.ini -> /etc/php/7.0/mods-ava ilable/sysvshm.ini
lrwxrwxrwx 1 root root 41 May 10 00:59 20-tokenizer.ini -> /etc/php/7.0/mods-a vailable/tokenizer.ini
lrwxrwxrwx 1 root root 36 May 10 01:08 20-wddx.ini -> /etc/php/7.0/mods-availa ble/wddx.ini
lrwxrwxrwx 1 root root 41 May 10 01:08 20-xmlreader.ini -> /etc/php/7.0/mods-a vailable/xmlreader.ini
lrwxrwxrwx 1 root root 41 May 10 01:08 20-xmlwriter.ini -> /etc/php/7.0/mods-a vailable/xmlwriter.ini
lrwxrwxrwx 1 root root 35 May 10 01:08 20-xsl.ini -> /etc/php/7.0/mods-availab le/xsl.ini
2.MAGENTO
Here is the file list of app/etc/modules:
lrwxrwxrwx 1 root root 87 May 7 23:59 Aschroder_SMTPPro.xml -> ../../../.modman/Magento-SMTP-Pro-Email-Extension/app/etc/modules/Aschroder_SMTPPro.xml
-rw-r--r-- 1 www-data www-data 1356 Jan 1 13:28 Belvg_All.xml
-rw-r--r-- 1 www-data www-data 1501 Jan 1 13:28 Belvg_Framer.xml
-rw-r--r-- 1 www-data www-data 1429 Jan 1 13:28 Belvg_Jquery.xml
lrwxrwxrwx 1 root root 76 May 7 23:59 BL_CustomGrid.xml -> ../../../.modman/mage-enhanced-admin-grids/app/etc/modules/BL_CustomGrid.xml
-rw-r--r-- 1 www-data www-data 155 Oct 27 2015 Cm_RedisSession.xml
-rw-r--r-- 1 www-data www-data 219 Jan 1 12:24 CommerceStack_CsApiClient.xml
-rw-r--r-- 1 www-data www-data 225 Jan 1 12:24 CommerceStack_CsNotification.xml
-rw-r--r-- 1 www-data www-data 219 Jan 1 12:24 CommerceStack_Recommender.xml
lrwxrwxrwx 1 root root 56 May 7 23:59 CosmoCommerce_Alipay.xml -> ../../../.modman/magento-alipay/CosmoCommerce_Alipay.xml
drwxr-xr-x 2 www-data www-data 4096 Feb 4 20:22 disable
-rw-rw-rw- 1 www-data www-data 181 Apr 18 13:09 Hackathon_PSR0Autoloader.xml
lrwxrwxrwx 1 root root 60 May 8 00:01 Inchoo_PHP7.xml -> ../../../.modman/Inchoo_PHP7/app/etc/modules/Inchoo_PHP7.xml
-rw-r--r-- 1 www-data www-data 11515 Oct 27 2015 Mage_All.xml
-rw-r--r-- 1 www-data www-data 1241 Oct 27 2015 Mage_Api2.xml
-rw-r--r-- 1 www-data www-data 1207 Oct 27 2015 Mage_Api.xml
-rw-r--r-- 1 www-data www-data 1299 Oct 27 2015 Mage_Authorizenet.xml
-rw-r--r-- 1 www-data www-data 1219 Oct 27 2015 Mage_Bundle.xml
-rw-r--r-- 1 www-data www-data 1258 Oct 27 2015 Mage_Captcha.xml
-rw-r--r-- 1 www-data www-data 1257 Oct 27 2015 Mage_Centinel.xml
-rw-r--r-- 1 www-data www-data 1222 Oct 27 2015 Mage_Compiler.xml
-rw-r--r-- 1 www-data www-data 1300 Oct 27 2015 Mage_ConfigurableSwatches.xml
-rw-r--r-- 1 www-data www-data 1168 Oct 27 2015 Mage_Connect.xml
-rw-r--r-- 1 www-data www-data 1241 Oct 27 2015 Mage_CurrencySymbol.xml
-rw-r--r-- 1 www-data www-data 1275 Oct 27 2015 Mage_Downloadable.xml
-rw-r--r-- 1 www-data www-data 1236 Oct 27 2015 Mage_ImportExport.xml
-rw-r--r-- 1 www-data www-data 1212 Oct 27 2015 Mage_Oauth.xml
-rw-r--r-- 1 www-data www-data 1224 Oct 27 2015 Mage_PageCache.xml
-rw-r--r-- 1 www-data www-data 1267 Oct 27 2015 Mage_Persistent.xml
-rw-r--r-- 1 www-data www-data 1273 Oct 27 2015 Mage_Weee.xml
-rw-r--r-- 1 www-data www-data 1215 Oct 27 2015 Mage_Widget.xml
-rw-r--r-- 1 www-data www-data 1597 Oct 27 2015 Mage_XmlConnect.xml
-rw-rw-rw- 1 www-data www-data 796 Apr 18 13:09 MVentory_API.xml
-rw-rw-rw- 1 www-data www-data 829 Apr 18 13:09 MVentory_Productivity.xml
-rw-r--r-- 1 www-data www-data 959 Oct 27 2015 Phoenix_Moneybookers.xml
-rw-rw-rw- 1 www-data www-data 166 Feb 28 12:11 Qualityunit_Pap.xml
lrwxrwxrwx 1 root root 94 May 7 23:59 Spranks_SaveAdminCredentials.xml -> ../../../.modman/Spranks_SaveAdminCredentials/app/etc/modules/Spranks_SaveAdminCredentials.xml
-rw-r--r-- 1 www-data www-data 182 Jan 1 12:21 xonu_sbe.xml
3.HTTP SERVER
The http server is nginx 1.8.1 with pagespeed module,i install nginx and pagespeed with: https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source#build-instructions
And the nginx config is:
server {
server_name www.gn-art.com *.gn-art.com;
root /www/gn-art.com/;
index index.php;
location /zixun/ {try_files $uri $uri/ /zixun/index.php?$args;}
location / {try_files $uri $uri/ /index.php?$args;}
location ~ ^/(app|includes|lib|media/downloadable|pkginfo|report/config.xml|var)/ { internal; }
location /media/ {limit_req zone=two burst=30;}
location ~* .php$ {
expires off;
fastcgi_keep_conn on;
#fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
#fastcgi_pass 127.0.0.1:9000;#hhvm
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
limit_req zone=one burst=3;
}
pagespeed off;
pagespeed EnableFilters lazyload_images,defer_javascript,insert_dns_prefetch,prioritize_critical_css;
pagespeed FileCachePath /var/ngx_pagespeed_cache;
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {add_header "" "";}
location ~ "^/pagespeed_static/" { }
location ~ "^/ngx_pagespeed_beacon$" { }
}
If something else is needed,please let me known,i will provide to you,thank you.
Guys, it looks like this is unrelated to PHP 7 at all. Can you try what happens with your sites here when served by PHP 5?
@icurdinj Got it,maybe i will check my magento myself,thank you.
close this issue
Hi:
My magento version is 1.9.2.2,affter click the submit order botton,it will jump to shopping cart page.