nickywin Posted April 26, 2010 Share Posted April 26, 2010 因为调用gmail邮箱发邮件,1.2的怎么搞都不好使,1.3rc貌似解决问题了,暂时不想全站升级,等1.3正式版再搞。是不是直接替换mail文件夹就可以?其他地方还要修改不?感谢感谢! Link to comment Share on other sites More sharing options...
21846657 Posted April 27, 2010 Share Posted April 27, 2010 PrestaShop邮件模块是mailalerts。我不知道你的问题是否和这个模块有联系。mail文件夹只存储各语言包的邮件模板,不处理与php发信相关的“逻辑”(business logic)。所以,单独替换这个文件夹并不能根本解决你的问题。但你的问题具体是什么? Link to comment Share on other sites More sharing options...
nickywin Posted April 27, 2010 Author Share Posted April 27, 2010 还是老问题,设gmail的smtp后,客户订单没有邮件反馈,最新的1.3试了下,没问题了。所以想将1.3的邮件发送替换到1.2里面去。 Link to comment Share on other sites More sharing options...
21846657 Posted April 27, 2010 Share Posted April 27, 2010 请先把mailalerts模块换成1.3RC3的试试吧。 Link to comment Share on other sites More sharing options...
nickywin Posted April 27, 2010 Author Share Posted April 27, 2010 分别替换了admin里的tag mail文件,mailalerts和mails文件,test email时出现index.php缺少对象提示,替换了index.php也不行,难道要整站替换才行? Link to comment Share on other sites More sharing options...
21846657 Posted April 27, 2010 Share Posted April 27, 2010 两个版本之间的modified的文件和tables相当多。等等1.3的final release吧。 Link to comment Share on other sites More sharing options...
nickywin Posted April 28, 2010 Author Share Posted April 28, 2010 还有,我尝试着按照主页的教程update网站,但是主页css好像失效了,后台数据库倒没事,这个比较郁闷啊!版主能指点下如何升级不? Link to comment Share on other sites More sharing options...
21846657 Posted April 29, 2010 Share Posted April 29, 2010 假设前提1:运行环境满足所升级PrestaShop版本的需求;假设前提2:没有修改第三步那些folders的文件;假设前提3:会使用FTP工具和SQL工具;假设前提4:无错误操作和意外事件,那么,升级的大概步骤是:1. 选择官方默认模板,export定制的语言包,清空smarty cache。2. 备份database到本地。3. 保存服务器上的旧文件到一个本地folder,再分别remove服务器上这个几个folders:/admin,/css,/js,/mails,/classes,/translations/,/tools,/themes/prestashop,/modules/官方模块(保留定制模块)[uPDATE] /root/所有文件(删除prestashop的root folder下所有文件)4. 从新的安装包里,找到并upload这些folders;同时,upload “install” folder5. FTP里,改admin为原来的名称6. 运行intall,并选择update。留意并保存database的错误记录。7. update完成后,remove "install" folder。8. BO设置与import定制语言包。9. 根据database错误记录debugging + 官方默认模板debugging + 后台debugging + 定制模板debugging10. 完成。p.s.: 不满足假设前提的步骤不在本基本步骤列表范围内。[uPDATE] 忘记prestashop的root folder了。已加入第3步。 Link to comment Share on other sites More sharing options...
nickywin Posted May 4, 2010 Author Share Posted May 4, 2010 版大,经过不断调试,终于远程服务器更新到1.3.0.6了,但是email还是不好使,设置gmail的smtp就是没反应,现象就是test那里半天没回应,然后contract us也是和另外老兄一样错误。本地明明没问题的,远程服务器是win2k8,本地是win2k8 r2,是不是iis还需要设置些啥或者php.ini也有关系?但我对比过应该都差不多啊,快疯了。。。。。。 Link to comment Share on other sites More sharing options...
nickywin Posted May 4, 2010 Author Share Posted May 4, 2010 最后开了openssl,可以用了,有待考验,测试完再上来 Link to comment Share on other sites More sharing options...
21846657 Posted May 5, 2010 Share Posted May 5, 2010 Congrats! 测试结果如何? Link to comment Share on other sites More sharing options...
nickywin Posted May 5, 2010 Author Share Posted May 5, 2010 版大。测试结果是email好使了,但是整站变慢了,具体现象为:1、网站现在无论打开还是刷新页面,都会延迟5-6秒,最慢时约10秒,而把网站整站备份到本地再打开,也是延迟2-4秒2、后台速度倒没有太大变化,保存数据库,发现容量比原来少了2/3,但具体produit倒没发现太大问题。3、log mysql都在1秒内,所以mysql也应该没有问题。cache目录也清空了,真不知道是哪里有问题。模板是基于默认修改,中间就修改了一个上次的注册页面和开openssl而已 Link to comment Share on other sites More sharing options...
nickywin Posted May 5, 2010 Author Share Posted May 5, 2010 还有,更严重问题w3wp进程当打开网页时占用cpu非常高搜索无法得到结果,晕,难道是1.3rc的问题? Link to comment Share on other sites More sharing options...
21846657 Posted May 5, 2010 Share Posted May 5, 2010 你的情况很有针对性啊,尤其是关于13RC3在IIS平台上的运行效果。请问你的产品和categories是多少?官方正在改进performance bottlenecks(与openssl的开启无关)。如果你能提交一份关于IIS方面的bug report,官方有希望在1.3final之前解决。但奇怪的是,每当我建议提交bug report的时候,我们很多人(Chinese fans)不会去做,而是去“坐”(在那里等)。 :-S Link to comment Share on other sites More sharing options...
nickywin Posted May 5, 2010 Author Share Posted May 5, 2010 产品只有500来个,深度3,4左右,现在还无法确定是iis问题还是prestashop版本问题,因为我本地是php-inst这个进程虚高。我现在重灌个1.2.5看看,太吐血了。 Link to comment Share on other sites More sharing options...
21846657 Posted May 6, 2010 Share Posted May 6, 2010 建议你把“深度”改为2再测试一下。 Link to comment Share on other sites More sharing options...
nickywin Posted May 6, 2010 Author Share Posted May 6, 2010 换回1.25,cpu占用正常了,20%~30%左右,但是邮件提醒又不好使了。 Link to comment Share on other sites More sharing options...
21846657 Posted May 6, 2010 Share Posted May 6, 2010 在1.25下,产品还是500多,深度也还是3, 4吗?是否开启Dynamic? Link to comment Share on other sites More sharing options...
nickywin Posted May 6, 2010 Author Share Posted May 6, 2010 对,其他啥都没改,前台换成1.3.0.6甚至刚出的0.7,都会卡一下,进程里有一个服务会满载,远程服务器是w3wp,本地是php服务器,已经提交bug了 Link to comment Share on other sites More sharing options...
21846657 Posted May 8, 2010 Share Posted May 8, 2010 bug report的地址或编号多少? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now