Fecmall

第 2 位会员

会员
个人信息
  • 加入于 2017-05-31 17:38:45
  • 城市 Qingdao
  • GitHub https://github.com/fecshop
  • 最后登录时间 12天前
  • 签名 净化自己,潜心编码
个人简介
Terry,Fecmall开源产品作者,12年电商经验一线程序员开发者,擅长规划产品,架构设计。
个人成就
  • 发表文章次数 744
  • 发布回复次数 5760
  • 个人主页浏览次数 683
优化建议 建议增加商品可以设置最少购买数量7年前

好的,后面加上这个功能,通过服务配置注入的方式设置。

多谢提的这个建议。

最近用在阿里云composer代码都有这个报错7年前

已经发布新版本,在打包下载上传到百度云盘,下午就好,你去百度云盘下载吧 下载地址: http://pan.baidu.com/s/1hs1iC2C 下载包:fecshop_2017_08_17.zip

fecshop nginx 的配置问题7年前

你在 www.fecshoptest.com
对应的路径下面的index.php 的顶部加上 echo 111;exit; 看看能访问不?

如果成功访问,说明 502 bad gateway 是php的错误,而不是nginx。然后你可以把断点持续的改变位置,看看问题出在哪里

如果访问失败,则说明是nginx有问题。

多考虑原理,然后各个点做试验,找出来问题所在。

初学者 用vagrant已经搭建好了虚拟机 用ssh一直连接不了7年前

ip默认好像是127.0.0.1 , 没有被占用吧?

密码是文档上面标注的。

另外注意ssh连接的端口,按照文档上面填写的修改ssh连接的端口

最近用在阿里云composer代码都有这个报错7年前

我发个版本,放到百度云盘里面,实在无法composer安装,就去百度云盘下载完整版本

最近用在阿里云composer代码都有这个报错7年前

上面是阿里云用的是中国镜像,下面是amazon云,log如下:

[root@ip-172-31-30-214 test]# composer create-project fancyecommerce/fecshop-app-advanced  fecsho_0817p 1.0.4.1
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing fancyecommerce/fecshop-app-advanced (1.0.4.1)
  - Installing fancyecommerce/fecshop-app-advanced (1.0.4.1): Loading from cache
Created project in fecsho_0817p
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 51 installs, 0 updates, 0 removals     
  - Installing yiisoft/yii2-composer (2.0.5): Loading from cache
  - Installing hightman/xunsearch (1.4.10): Loading from cache
  - Installing facebook/graph-sdk (5.6.1): Downloading (100%)         
  - Installing paragonie/random_compat (v2.0.10): Loading from cache
  - Installing ramsey/uuid (3.7.0): Downloading (100%)         
  - Installing psr/log (1.0.2): Loading from cache
  - Installing tubalmartin/cssmin (v4.1.0): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing pimple/pimple (v3.2.2): Loading from cache
  - Installing container-interop/container-interop (1.2.0): Loading from cache
  - Installing mrclay/props-dic (2.2.0): Loading from cache
  - Installing mrclay/jsmin-php (2.3.2): Loading from cache
  - Installing monolog/monolog (1.23.0): Loading from cache
  - Installing intervention/httpauth (2.0.3): Loading from cache
  - Installing mrclay/minify (3.0.1): Loading from cache
  - Installing natxet/cssmin (v3.0.4): Loading from cache
  - Installing tedivm/jshrink (v1.1.0): Loading from cache
  - Installing bower-asset/jquery (2.2.4): Loading from cache
  - Installing bower-asset/yii2-pjax (v2.0.6): Loading from cache
  - Installing bower-asset/punycode (v1.3.2): Loading from cache
  - Installing cebe/markdown (1.0.2): Loading from cache
  - Installing ezyang/htmlpurifier (v4.9.3): Loading from cache
  - Installing bower-asset/jquery.inputmask (3.3.7): Loading from cache
  - Installing yiisoft/yii2 (2.0.12): Loading from cache
  - Installing skeeks/yii2-assets-auto-compress (1.2.3.1): Loading from cache
  - Installing yiisoft/yii2-mongodb (2.1.4): Loading from cache
  - Installing phpoffice/phpexcel (1.8.1): Loading from cache
  - Installing yiisoft/yii2-redis (2.0.6): Loading from cache
  - Installing imagine/imagine (v0.5.0): Loading from cache
  - Installing fancyecommerce/fec (1.1.3.2): Loading from cache
  - Installing fancyecommerce/fec_admin (1.3.6.7): Loading from cache
  - Installing fancyecommerce/fecshop (1.1.4.3): Loading from cache
  - Installing swiftmailer/swiftmailer (v5.4.8): Loading from cache
  - Installing yiisoft/yii2-swiftmailer (2.0.7): Loading from cache
  - Installing scrivo/highlight.php (v8.9.1): Loading from cache
  - Installing mikevanriel/text-to-latex (1.0.1): Loading from cache
  - Installing cebe/markdown-latex (1.1.4): Loading from cache
  - Installing cebe/js-search (0.9.3): Loading from cache
  - Installing nikic/php-parser (v0.9.5): Loading from cache
  - Installing phpdocumentor/reflection-docblock (2.0.5): Loading from cache
  - Installing phpdocumentor/reflection (1.0.7): Loading from cache
  - Installing bower-asset/bootstrap (v3.3.7): Loading from cache
  - Installing yiisoft/yii2-bootstrap (2.0.6): Loading from cache
  - Installing yiisoft/yii2-apidoc (2.0.6): Loading from cache
  - Installing yiisoft/yii2-codeception (2.0.6): Loading from cache
  - Installing yiisoft/yii2-debug (2.0.9): Loading from cache
  - Installing bower-asset/typeahead.js (v0.11.1): Loading from cache
  - Installing phpspec/php-diff (v1.1.0): Loading from cache
  - Installing yiisoft/yii2-gii (2.0.5): Loading from cache
  - Installing fzaninotto/faker (v1.7.1): Downloading (100%)         
  - Installing yiisoft/yii2-faker (2.0.3): Loading from cache
facebook/graph-sdk suggests installing guzzlehttp/guzzle (Allows for implementation of the Guzzle HTTP client)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
mrclay/minify suggests installing firephp/firephp-core (Use FirePHP for Log messages)
mrclay/minify suggests installing leafo/lessphp (LESS support)
mrclay/minify suggests installing meenie/javascript-packer (Keep track of the Packer PHP port using Composer)
imagine/imagine suggests installing ext-imagick (to use the Imagick implementation)
imagine/imagine suggests installing ext-gmagick (to use the Gmagick implementation)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
Package yiisoft/yii2-codeception is abandoned, you should avoid using it. Use codeception/codeception instead.
Writing lock file
Generating autoload files
[root@ip-172-31-30-214 test]# ls

最近用在阿里云composer代码都有这个报错7年前

您好,我早上做了安装测试,没有问题的,可以安装,安装log如下:

[root@iZ942k2d5ezZ test]# composer create-project fancyecommerce/fecshop-app-advanced  fecsho_0817p 1.0.4.1
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing fancyecommerce/fecshop-app-advanced (1.0.4.1)
  - Installing fancyecommerce/fecshop-app-advanced (1.0.4.1)
    Downloading: 100%         

Created project in fecsho_0817p
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing yiisoft/yii2-composer (2.0.5)               
    Loading from cache

  - Installing hightman/xunsearch (1.4.10)
    Loading from cache

  - Installing facebook/graph-sdk (5.6.1)
    Downloading: 100%         

  - Installing paragonie/random_compat (v2.0.10)
    Loading from cache

  - Installing ramsey/uuid (3.7.0)
    Downloading: 100%         

  - Installing psr/log (1.0.2)
    Loading from cache

  - Installing tubalmartin/cssmin (v4.1.0)
    Loading from cache

  - Installing psr/container (1.0.0)
    Loading from cache

  - Installing pimple/pimple (v3.2.2)
    Loading from cache

  - Installing container-interop/container-interop (1.2.0)
    Loading from cache

  - Installing mrclay/props-dic (2.2.0)
    Loading from cache

  - Installing mrclay/jsmin-php (2.3.2)
    Loading from cache

  - Installing monolog/monolog (1.23.0)
    Loading from cache

  - Installing intervention/httpauth (2.0.3)
    Loading from cache

  - Installing mrclay/minify (3.0.1)
    Loading from cache

  - Installing natxet/cssmin (v3.0.4)
    Loading from cache

  - Installing tedivm/jshrink (v1.2.0)
    Loading from cache

  - Installing bower-asset/jquery (2.2.4)
    Loading from cache

  - Installing bower-asset/yii2-pjax (v2.0.6)
    Loading from cache

  - Installing bower-asset/punycode (v1.3.2)
    Loading from cache

  - Installing cebe/markdown (1.0.2)
    Loading from cache

  - Installing ezyang/htmlpurifier (v4.9.3)
    Loading from cache

  - Installing bower-asset/jquery.inputmask (3.3.7)
    Loading from cache

  - Installing yiisoft/yii2 (2.0.12)
    Loading from cache

  - Installing skeeks/yii2-assets-auto-compress (1.2.3.1)
    Loading from cache

  - Installing yiisoft/yii2-mongodb (2.1.4)
    Loading from cache

  - Installing phpoffice/phpexcel (1.8.1)
    Loading from cache

  - Installing yiisoft/yii2-redis (2.0.6)
    Loading from cache

  - Installing imagine/imagine (v0.5.0)
    Loading from cache

  - Installing fancyecommerce/fec (1.1.3.2)
    Loading from cache

  - Installing fancyecommerce/fec_admin (1.3.6.7)
    Loading from cache

  - Installing fancyecommerce/fecshop (1.1.4.3)
    Loading from cache

  - Installing doctrine/lexer (v1.0.1)
    Downloading: 100%         

  - Installing egulias/email-validator (2.1.2)
    Downloading: 100%         

  - Installing swiftmailer/swiftmailer (v6.0.1)
    Downloading: 100%         

  - Installing yiisoft/yii2-swiftmailer (2.1.0)
    Downloading: 100%         

  - Installing scrivo/highlight.php (v8.9.1)
    Loading from cache

  - Installing mikevanriel/text-to-latex (1.0.1)
    Loading from cache

  - Installing cebe/markdown-latex (1.1.4)
    Loading from cache

  - Installing cebe/js-search (0.9.3)
    Loading from cache

  - Installing nikic/php-parser (v0.9.5)
    Loading from cache

  - Installing phpdocumentor/reflection-docblock (2.0.5)
    Loading from cache

  - Installing phpdocumentor/reflection (1.0.7)
    Loading from cache

  - Installing bower-asset/bootstrap (v3.3.7)
    Loading from cache

  - Installing yiisoft/yii2-bootstrap (2.0.6)
    Loading from cache

  - Installing yiisoft/yii2-apidoc (2.0.6)
    Loading from cache

  - Installing yiisoft/yii2-codeception (2.0.6)
    Loading from cache

  - Installing yiisoft/yii2-debug (2.0.9)
    Loading from cache

  - Installing bower-asset/typeahead.js (v0.11.1)
    Loading from cache

  - Installing phpspec/php-diff (v1.1.0)
    Loading from cache

  - Installing yiisoft/yii2-gii (2.0.5)
    Loading from cache

  - Installing fzaninotto/faker (v1.7.1)
    Downloading: 100%         

  - Installing yiisoft/yii2-faker (2.0.3)
    Loading from cache

facebook/graph-sdk suggests installing guzzlehttp/guzzle (Allows for implementation of the Guzzle HTTP client)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
mrclay/minify suggests installing firephp/firephp-core (Use FirePHP for Log messages)
mrclay/minify suggests installing leafo/lessphp (LESS support)
mrclay/minify suggests installing meenie/javascript-packer (Keep track of the Packer PHP port using Composer)
imagine/imagine suggests installing ext-imagick (to use the Imagick implementation)
imagine/imagine suggests installing ext-gmagick (to use the Gmagick implementation)
egulias/email-validator suggests installing ext-intl (PHP Internationalization Libraries are required to use the SpoofChecking validation)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
Package yiisoft/yii2-codeception is abandoned, you should avoid using it. Use codeception/codeception instead.
Writing lock file
Generating autoload files
[root@iZ942k2d5ezZ test]# 

本地测试paypal支付时报错:syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM)7年前

@Blue_yii #2楼

这个bug是代码重构造成的疏漏,最近修复了一些bug,没有发布新版本,过段时间会发布一个新的版本上去。

本地测试paypal支付时报错:syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM)7年前

这个bug,处理了,还没发布新版本:

https://github.com/fecshop/yii2_fecshop/blob/master/services/payment/Paypal.php

179行代码改为:

$ipn = $this->_ipnMessageModel->find()
优化建议,建议Fecshop后台采用开源后台管理模板AdminLTE7年前

嗯,的确工作量很多,现在想做接口化,前后端彻底分离,appserver部分正在做。

vue 前端 开发演示地址:http://demo.fancyecommerce.com/ ,还在开发中,刚学vue不久。

vue 后台 ,如果有时间,可能找个类似eleme的后台来做,也有可能不做。

Yii2的缓存里,如何通配符查询?7年前

@laughmaker #2楼 奥,好像是,看来你只有自己开发了

表达式命中缓存的需求,没有出来过这种需求

关于vue的多语言切换问题7年前

@forecho #1楼 嗯,对于我的这个,需要在vue里面搞一个配置,然后通过配置来做localStorage

我实现了这个了,当时做的时候比较模糊

http://demo.fancyecommerce.com/

多谢

产品问题讨论7年前

这个功能并不是很容易实现,一般b2c跨境电商很少有这个功能,不过也有,譬如

https://www.tomtop.com/other-239/p-c3918.html

tomtop实现这个功能,你可以参考下:

1.用户需要一个有个国家选择,也就是用户的收货国家

2.运费是按照国家来计算的,没有考虑省市进去

3.多仓库,也就是发货的仓库

4.按照这些因素,就可以计算出来各个邮寄方式的运费,参考我发的链接 运费的这个计算比较的复杂。这里不一一列出

最终,不建议做这个,你看tomtop上面的时间也是很泛,有7-20天,这么大的跨度。 如果想做,也是可以的,不需要一个产品做一个设置,只需要根据相应的参数计算即可。 譬如: 发货仓库 + 收货国家 + 订单总重量 + 其他, 做一个计费公式即可。

刚安装 分类导航 不显示分类7年前

@mchaha #8楼 已经上传:

https://pan.baidu.com/s/1kVwRD2Z#list/path=/

fecshop数据测试包里面的js文件就是

后台点击产品信息管理时报错...7年前

表安装都有的:

你是不是很久之前安装,然后进行了升级?

您需要执行一下数据库安装:http://www.fecshop.com/doc/fecshop-guide/develop/cn-1.0/guide-fecshop-about-config.html

9.2部分的mysql安装

刚安装 分类导航 不显示分类7年前

@mchaha #5楼 我记得放上去新数据了,你是最近几天下载的数据吗?

刚安装 分类导航 不显示分类7年前

参看: http://www.fecshop.com/doc/fecshop-guide/develop/cn-1.0/guide-fecshop-about-config.html

9.2 部分。把数据安装上去。

具体的你可以去mongodb里面看看,是否安装成功,安装完成后,在mongodb里面会有数据的

你的mongo ,可以安装rockmongo,图形化界面的。

Your Site Analytics