dongzhuifeng1843 2012-03-30 08:08
浏览 62

每个Magento Module SQL安装脚本都不再运行

I have a weird mistake, I'm working on Magento (1.5.1) but since I don't know when, installation scripts of modules doesn't work anymore, Magento seems not running SQL folders, for every kind of module. I tried to make a basic external php script using PDO and the same connection setting (host, dbname, loggin, pwd) and that works so I guess it's not a SQL permission problem. I'm totally disappointed.

(sorry for that bad English... of course I'm French)

Have a nice day !

  • 写回答

1条回答 默认 最新

  • duanqiongniu1469 2012-03-30 08:13
    关注

    Maybe your scripts have already been executed? Have a look into you core_resources table.

    To execute an install script again, you need to have the previous version number in DB: if your script is update-0.0.1-0.0.2, you should have version and data_version to 0.0.1 in order to execute it.
    If you want to install it, you shouldn't have any matching row in DB.


    edit: You'll also have to clear your cache, of course

    PS: your English is fine, at least for an other French :)

    评论

报告相同问题?

悬赏问题

  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来