doutangu4978 2011-03-04 12: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 14: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条)

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料