stephanediondev / readerself

Replaced by a new version
https://github.com/stephanediondev/feed
Other
158 stars 26 forks source link

Cannot import OPML file (Bug) #16

Open GLLM opened 10 years ago

GLLM commented 10 years ago

I tried the simplest file to import (github doens not display code :( ):

<?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0">
    <head>
        <title>Subscriptions from Reader Self</title>
        <docs>http://dev.opml.org/spec2.html</docs>
        <ownerEmail>whatever@domain.com</ownerEmail>
    </head>
    <body>
        <outline title="Home - Design" text="Home - Design" >
            <outline title="Freshome.com - Interior Design &amp; Architecture Magazine" text="Freshome.com - Interior Design &amp; Architecture Magazine" xmlUrl="http://freshome.com/feed/" type="rss" htmlUrl="http://freshome.com" />
        </outline>
    </body>
</opml>

I get a big red screen with the following debug info :

debug

date: 2014-03-14 16:21:46 elapsed_time: 0.1596 memory_get_peak_usage: 492 952 memory_get_usage: 458 288

errors (1) E_WARNING | simplexml_load_file(): I/O warning : failed to load external entity "/volume1/@tmp/phpRXJyoP" | /volume1/web/readerself/application/controllers/subscriptions.php | 456

queries (3)

SELECT stg.* FROM settings AS stg WHERE stg.stg_is_global = 1 GROUP BY stg.stg_id ORDER BY stg.stg_code ASC 0.00577092170715332031

SELECT mbr.* FROM members AS mbr WHERE mbr.mbr_id = '1' GROUP BY mbr.mbr_id 0.00084996223449707031

SELECT cnt.* FROM connections AS cnt WHERE cnt.mbr_id = '1' AND token_connection IS NOT NULL AND token_connection = 'b8e86a663f8efd1c4e717e460b65bdf85265b6c4' GROUP BY cnt.cnt_id 0.00077104568481445312

Additional question : do you create a folder at import if it does not already exist in selfreader ?

a+ GLLM