osCommerce:PHP 更新后支付模块停止工作
我的一位朋友向他的 osCommerce 寻求帮助;他的网络托管最近升级到了 PHP 5.3,并且当他运行 osCommerce 2.2 MS2 时,他收到了大量错误消息。
他决定隐藏这些,直到他在不久的将来更换整个网上商店,一切都运行良好,除了一件事:他无法对支付模块进行任何更改。当他改变一个值时,它会回到前一个值。
我以前从未使用过 osCommerce,因此我希望这里有人能让我走上正轨。
先感谢您!
A friend of mine asked for help with his osCommerce; his web hosting did recently upgrade to PHP 5.3, and as he's running osCommerce 2.2 MS2 he got plenty of error messages.
He decided to hide these until he replaces the whole webshop in a near future, and everything works well in exception of one thing: he can't do any changes in the payment modules. When he change a value it goes back to the previous one.
I've never worked with osCommerce before, so for this reason I hope someone here could get me on track.
Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
2.2 操作系统的 OSCommerce 与 PHP 5.3 不兼容,主要是 OSCommerce 使用已弃用的
"ereg_replace"
PHP 函数,正确的方法是回滚到以前的 PHP 版本,直到您可以升级OSCommerce,或者现在就升级OSCommerce。这里有一些"patch" 解决方案 以及 正确的升级路径OSCommerce at 2.2 os not compatible with PHP 5.3, largely with OSCommerce using the deprecated
"ereg_replace"
PHP function and the correct method would be to either roll back to a previous version of PHP until such a time as you can upgrade OSCommerce, or to upgrade OSCommerce now. here are a couple of links for "patch" solutions and for the correct upgrade path如果您收到错误并且只想摆脱错误消息,请使用此方法
,但强烈建议您更新已弃用的 OSCommerce 功能,这将是一个很好的解决方案
if you are getting error and you just want get rid of the error mesg then use this
but it is strongly recommended you update OSCommerce function that is deprecated that will be a good solution