doutangu4978 2011-03-04 04:45
浏览 54
已采纳

too long

Wamp returns the following PHP error when I press 'send' in my simplemodal wordpress plugin contact form (version 1.2.6)

The wordpress version is 3.1....

I haven't made any changes to the installation.... Any ideas? I'm building the website for a local charity

->

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\wordpress\wp-settings.php on line 219
Call Stack
#   Time    Memory  Function    Location
1   0.0014  418128  {main}( )   ..\smcf_data.php:0
2   0.0020  432192  require_once( 'C:\wamp\www\wordpress\wp-config.php' )   ..\smcf_data.php:3

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\wordpress\wp-settings.php on line 234
Call Stack
#   Time    Memory  Function    Location
1   0.0014  418128  {main}( )   ..\smcf_data.php:0
2   0.0020  432192  require_once( 'C:\wamp\www\wordpress\wp-config.php' )   ..\smcf_data.php:3

(it carries on like this for a while!)

UPDATE---------------------------------------------------------

Thankyou for all your input.....So - my version of PHP seemed to be to blame. I changed to 5.2, from 5.35, and now 'send' returns no PHP error. The new error (of course!) is returned within the form, rather than as a server error as such, and reads -"Unfortunately, a server issue prevented delivery of your message." Do I need to configure wamp for use with the mail function? I'm running 127- localhost :)

  • 写回答

3条回答 默认 最新

  • douye4254 2011-03-04 06:33
    关注

    Your first error was with WordPress and the version of PHP you were running.

    The second error is due to the fact that you probably do not have SMTP configured. You need to configure PHP (php.ini) to use either a local or remote SMTP server.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)
编辑
预览

报告相同问题?

悬赏问题

  • ¥50 苹果手机内购充值多点被限制如何不联系客服破解
  • ¥15 mes系统扫码追溯功能
  • ¥40 selenium访问信用中国
  • ¥15 电视大赛投票系统的c语言代码怎么做
  • ¥20 在搭建fabric网络过程中遇到“无法使用新的生命周期”的报错
  • ¥15 Python中关于代码运行报错的问题
  • ¥500 python 的API,有酬谢
  • ¥15 软件冲突问题,软件残留问题
  • ¥30 有没有人会写hLDA,有偿求写,我有一个文档,想通过hLDA得出这个文档的层次主题,有偿有偿!
  • ¥50 有没有人会写hLDA,有偿求写,我有一个文档,想通过hLDA得出这个文档的层次主题,有偿有偿!
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部