Magento导出产品问题

发布于 2024-10-11 02:02:25 字数 123 浏览 1 评论 0原文

我使用 magento 产品导出的默认配置文件,当我单击运行配置文件时,我得到一个空白屏幕,我在数据库中有 1000 个产品。 导入就像魅力一样。 我也无法出口产品库存,但我能够出口客户。 我使用magento 1.4版本。 请帮忙

Im using default profile for magento product export when i click the run profile i get a blank screen i have 1000 products in the db.
Import works like charm.
Also im not able to export the product stocks also,but im able to export customers.
Im using magento 1.4 version.
Please help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我的鱼塘能养鲲 2024-10-18 02:02:25

在您的 Magento 目录中有一个 .htaccess 文件。打开它并找到以下几行:

php_value memory_limit 128M
php_value max_execution_time 18000

memory_limit 增加到 256M 或更高(如果您愿意)。通过在 Magento 目录中创建一个如下所示的文件来确认更改:

<?php phpinfo();

通过直接在浏览器中输入文件名来访问该文件,您应该能够看到 memory_limit 现在是多少。

In your Magento directory is an .htaccess file. Open it and find the following lines:

php_value memory_limit 128M
php_value max_execution_time 18000

Increase the memory_limit to 256M or even higher if you like. Confirm the change by creating a file in your Magento directory that looks like this:

<?php phpinfo();

Access the file by typing it's name directly into your browser, you should be able to see what memory_limit is now.

时光与爱终年不遇 2024-10-18 02:02:25

如果设置限制不起作用,我建议打开平面目录或使用 sql。我提供了一个仅链接的答案,现已过期,但 WayBackMachine 挽救了这一天(http://web.archive.org/web/20110112232603/http://basdebie.com/magento/magento-export-time-out-尝试-plain-sql)

SELECT DISTINCT P.entity_id, P.sku, V.value AS Name, T1.value AS ProdDesc, T2.value AS ShortDesc,
V3.value AS MetaTitle, V4.value AS MetaDescription,
C2.value AS CatName,
D.value AS Price,
G.parent_id AS Product_parent,
    CASE
        WHEN V2.Value = 'no_selection'
        OR V2.Value = '/'
                THEN NULL
        ELSE V2.value
    END AS Image
    FROM  mgnt_catalog_product_entity AS P INNER JOIN
    mgnt_catalog_product_entity_varchar AS V  ON P.entity_id = V.entity_id  AND V.attribute_id  = 60  LEFT JOIN
    mgnt_catalog_product_entity_varchar AS V2 ON P.entity_id = V2.entity_id AND V2.attribute_id = 74  LEFT JOIN
    mgnt_catalog_product_entity_varchar AS V3 ON P.entity_id = V3.entity_id AND V3.attribute_id = 71  LEFT JOIN
    mgnt_catalog_product_entity_varchar AS V4 ON P.entity_id = V4.entity_id AND V4.attribute_id = 73  LEFT JOIN
    mgnt_catalog_category_product AS C1 ON P.entity_id = C1.product_id LEFT JOIN
    mgnt_catalog_category_entity_varchar AS C2 ON C1.category_id = C2.entity_id AND C2.attribute_id = 33 LEFT JOIN
    mgnt_catalog_product_relation AS G ON P.entity_id = G.child_id LEFT JOIN
    mgnt_catalog_product_entity_text    AS T1 ON P.entity_id = T1.entity_id AND T1.attribute_id = 61  LEFT JOIN
    mgnt_catalog_product_entity_text    AS T2 ON P.entity_id = T2.entity_id AND T2.attribute_id = 62  LEFT JOIN
    mgnt_catalog_product_entity_decimal AS D  ON P.entity_id = D.entity_id  AND D.attribute_id  = 64
ORDER BY P.entity_id ASC

If setting limits doesn't work I suggest turning on flat catalog or use sql. I provided a link-only answer that is now expired, but the WayBackMachine saved the day (http://web.archive.org/web/20110112232603/http://basdebie.com/magento/magento-export-time-out-try-plain-sql)

SELECT DISTINCT P.entity_id, P.sku, V.value AS Name, T1.value AS ProdDesc, T2.value AS ShortDesc,
V3.value AS MetaTitle, V4.value AS MetaDescription,
C2.value AS CatName,
D.value AS Price,
G.parent_id AS Product_parent,
    CASE
        WHEN V2.Value = 'no_selection'
        OR V2.Value = '/'
                THEN NULL
        ELSE V2.value
    END AS Image
    FROM  mgnt_catalog_product_entity AS P INNER JOIN
    mgnt_catalog_product_entity_varchar AS V  ON P.entity_id = V.entity_id  AND V.attribute_id  = 60  LEFT JOIN
    mgnt_catalog_product_entity_varchar AS V2 ON P.entity_id = V2.entity_id AND V2.attribute_id = 74  LEFT JOIN
    mgnt_catalog_product_entity_varchar AS V3 ON P.entity_id = V3.entity_id AND V3.attribute_id = 71  LEFT JOIN
    mgnt_catalog_product_entity_varchar AS V4 ON P.entity_id = V4.entity_id AND V4.attribute_id = 73  LEFT JOIN
    mgnt_catalog_category_product AS C1 ON P.entity_id = C1.product_id LEFT JOIN
    mgnt_catalog_category_entity_varchar AS C2 ON C1.category_id = C2.entity_id AND C2.attribute_id = 33 LEFT JOIN
    mgnt_catalog_product_relation AS G ON P.entity_id = G.child_id LEFT JOIN
    mgnt_catalog_product_entity_text    AS T1 ON P.entity_id = T1.entity_id AND T1.attribute_id = 61  LEFT JOIN
    mgnt_catalog_product_entity_text    AS T2 ON P.entity_id = T2.entity_id AND T2.attribute_id = 62  LEFT JOIN
    mgnt_catalog_product_entity_decimal AS D  ON P.entity_id = D.entity_id  AND D.attribute_id  = 64
ORDER BY P.entity_id ASC
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文