douquanhui5735 2015-04-21 08:21
浏览 48
已采纳

无法在Magento Admin中看到Widgets页面

new to Magento, so apologies if I am missing required information.. please let me know if so and I will elaborate/add more info.

I have inherited a project involving Magento for a large store (v 1.9.0.1). There has been no handover and no line of communication with the previous developer.

I am slowly working things out and teaching myself Magento, however I have just come across an issue where the Widgets page under CMS in the back end is simply blank with no options.

Further more, if I look in a static block that has a widget in and double clikc on it in the editor, I get the widget selection block, but the widget option block is missing with the following error:

Fatal error: Call to a member function setWidgetType() on a non-object in <server>/app/code/core/Mage/Widget/controllers/Adminhtml/WidgetController.php on line 62

I have cross referenced this php file with one from a vanilla install (where widgets work) and it is identical.

Finally, the widget renders fine on the live site?

Has anyone seen this before?

Once again, sorry if there is not enough information here, please let me know what else I should post.

Thanks a lot for anyone taking the time to respond.

Cheers.

  • 写回答

1条回答 默认 最新

  • dongtiao2105 2015-05-01 09:39
    关注

    I didn't get an answer to this, however I have resolved the issue myself, So I am posting it on here to help anyone else who comes across this.

    After some file comparison with a vanilla install, I found that the following files:

    Instance.php Options.php

    .. from the location:

    app/code/core/Mage/Widget/Block/Adminhtml/Widget/

    .. were missing. Simply uploading these from a working installation of Magento fixed the problem immediately.

    I realise this is probably why there was no answer - it is not going to be a common problem, however I am posting this just to point anyone in the right direction in case they happen to have the same issue.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 求快手直播间榜单匿名采集ID用户名简单能学会的
  • ¥15 DS18B20内部ADC模数转换器
  • ¥15 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历