magento 1.9

时间:2017-07-23 08:07:15

标签: magento attributes product

在magento 1.9中 当我去目录 - >属性 - >管理属性

并点击添加新属性

然后屏幕空白......

当我编辑属性时,屏幕也会变为空白

您可以在图片enter image description here

中看到

请解决此问题......

1 个答案:

答案 0 :(得分:0)

要查看确切的错误,您需要在ClassLoader cl = Main.class.getClassLoader(); URL stageConfig = cl.getResource("project-development.yml"); Swarm swarm = new Swarm().withConfig(stageConfig); // Create one or more deployments JAXRSArchive deployment = ShrinkWrap.create(JAXRSArchive.class); deployment.addAsWebInfResource(new ClassLoaderAsset("META-INF/persistence.xml", Main.class.getClassLoader()), "classes/META-INF/persistence.xml"); // Add resource to deployment //deployment.addClass(PmsPersonService.class); deployment.addClass(Person.class); // deployment.addClass(EntityManagerProvider.class); deployment.addAsWebInfResource(new ClassLoaderAsset("META-INF/load.sql", Main.class.getClassLoader()), "classes/META-INF/load.sql"); deployment.addResource(RestApplication.class); deployment.addResource(HelloWorldEndpoint.class); deployment.addAllDependencies(); swarm.start(); swarm.deploy(deployment); 中取消注释脚本。如下:

找到这一行" index.php"并删除#sign。之后刷新编辑属性页面。