tju070

第 58 位会员

会员
个人信息
  • 加入于 2017-06-16 10:56:51
  • 最后登录时间 6年前
个人成就
  • 发表文章次数 5
  • 发布回复次数 21
  • 个人主页浏览次数 6
请问fecshop线上appadmin的账号是什么6年前

收到,麻烦把demo的html5地址也给我

本地安装的fecshop,验证码出不来6年前

重新编译PHP, 加入了php-gd与freetype的支持

本地安装的fecshop,验证码出不来6年前

php调用imagettftext方法出错,Mac上的php环境默认不支持FreeType与php-gd.

本地安装的fecshop,验证码出不来6年前

出来了,多谢多谢

本地安装的fecshop,验证码出不来6年前

redis.mongodb在yiisoft目录下安装的位置

但代码中的调用是

'class'    => 'yii\redis\Connection'
'class' => 'yii\mongodb\Connection'

在yiisoft/yii2目录下建了两个link, 指向到上一层目录,还是不能出验证码;刚刚提到Session的问题,是按要求配置的

php的redis版本为3.1.2, mongodb版本为1.2.9, mongo版本为1.6.14

appadmin保存商品出错6年前

是的,现在可用了,之前忽略了这个环节

appadmin保存商品出错6年前

用源码安装xunsearch 未成功,后来改用docker作为xunsearch服务器 再运行了/vendor/fancyecommerce/fecshop/shell/search下的fullSearchSync.sh 数据可保存,跟踪下来还有点js的错误,继续排除

appadmin保存商品出错6年前

其中有一个原因是本地的xunsearch没装,我先试着将xunsearch配置好,再看问题是否还在

安装后,只能访问首页,访问分类和产品报错4046年前

我也遇到这个问题,使用上面的配置可解决

首页加载无样式6年前

首页正常了,但首页上所有的链接都失效(404 Not found)

首页加载无样式6年前

问题找到了,是Nginx阻止了对于 /customer/ajax的访问,需要调整nginx的配置,你这里的nginx配置码是不是可以发出来,我当前的配置如下

  1 server {
  2     listen 80;
  3     server_name appfront.fecshoptest.com appfront.fecshoptest.es;
  4     #server_name appfront.fecshoptest.com appfront.fecshoptest.es;
  5     index index.html index.php;
  6     location ~ .*\.(php) $
  7     {
  8         root /Users/tju/Workspace/xry/fecshop/appfront/web;
  9         fastcgi_pass 127.0.0.1:9000;    #php-fpm的默认端口是9000
 10         fastcgi_index index.php;
 11         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 12         include fastcgi_params;
 13     }
 14 }
首页加载无样式6年前

谢谢你的代码,我试着自己解决,辛苦你了

首页加载无样式6年前

应该是下面一段码执行的时候出了问题

loginInfoUrl = currentBaseUrl+"/customer/ajax";
	logoutUrl 	 = $(".logoutUrl").val();
	product_id   = $(".product_view_id").val();
	product_id	 = product_id ? product_id : null;
	jQuery.ajax({
		async:true,
		timeout: 6000,
		dataType: 'json', 
		type:'get',
		data: {
			'currentUrl':window.location.href,
			'product_id':product_id
		},
		url:loginInfoUrl,
		success:function(data, textStatus){ 
			welcome = $('.welcome_str').val();
			logoutStr = $('.logoutStr').val();
			if(data.loginStatus){
				customer_name = data.customer_name;
				str = '<span id="welcome">'+welcome+' '+customer_name+',</span>';
				str += '<span id="js_isNotLogin">';
				str += '<a href="'+logoutUrl+'" rel="nofollow">'+logoutStr+'</a>';
				str += '</span>';
				$(".login-text").html(str);
			}
			if(data.favorite){
				$(".myFavorite_nohove").addClass("act");
				$(".myFavorite_nohove a").addClass("act");
			}
			if(data.favorite_product_count){
				$("#js_favour_num").html(data.favorite_product_count);
			}
			if(data.csrfName && data.csrfVal && data.product_id){
				$(".product_csrf").attr("name",data.csrfName);
				$(".product_csrf").val(data.csrfVal);
			}
			if(data.cart_qty){
				$("#js_cart_items").html(data.cart_qty);
			}
			
			
		},
		error:function (XMLHttpRequest, textStatus, errorThrown){}
	});
	
首页加载无样式6年前

我Nginx的端口没有用80, 用的是8080,若改成80也是出错,出错信息表示customer/ajax这个请求找不到,将customer/ajax改成customer/ajax123, customer/ajax456也是一样的效果,跟参数无关

首页加载无样式6年前

OS: MacOS 10.12.5 PHP: 5.6.30 MySQL: 5.7.18 MongoDB: 3.4.4 php extension: mongo, mongodb

首页加载无样式6年前

发群里了

首页加载无样式6年前

自己部署的,手动版

首页加载无样式6年前

补充:

CSS, JS, PNG文件正常加载 
Your Site Analytics