Code Monkey home page Code Monkey logo

Comments (3)

mitsukarenai avatar mitsukarenai commented on May 24, 2024

return $text;, pas return $html2; 😉

from rss-bridge.

qwertygc avatar qwertygc commented on May 24, 2024

Hmm, toujours la même erreur :

( ! ) Warning: file_get_contents(): Filename cannot be empty in D:\www\rss-bridge-master\vendor\simplehtmldom\simple_html_dom.php on line 76
Call Stack

Time Memory Function Location

1 0.0010 289224 {main}( ) ..\index.php:0
2 0.0140 943096 BridgeAbstract->setDatas( ) ..\index.php:93
3 0.0140 943808 CaptaineconomicsBridge->collectData( ) ..\Bridge.php:51
4 1.0341 8774712 CaptaineconomicsExtractContent( ) ..\CaptaineconomicsBridge.php:31
5 1.0341 8774712 file_get_html( ) ..\CaptaineconomicsBridge.php:18
6 1.0341 8779968 file_get_contents ( ) ..\simple_html_dom.php:76

( ! ) Fatal error: Call to a member function find() on a non-object in D:\www\rss-bridge-master\bridges\CaptaineconomicsBridge.php on line 19
Call Stack

Time Memory Function Location

1 0.0010 289224 {main}( ) ..\index.php:0
2 0.0140 943096 BridgeAbstract->setDatas( ) ..\index.php:93
3 0.0140 943808 CaptaineconomicsBridge->collectData( ) ..\Bridge.php:51
4 1.0341 8774712 CaptaineconomicsExtractContent( ) ..\CaptaineconomicsBridge.php:31

Des idées ?

from rss-bridge.

ArthurHoaro avatar ArthurHoaro commented on May 24, 2024

Ca dit que $url est vide, donc ton objet DOM est null. Et tu ne peux pas appeler la méthode find() sur null qui n'est pas un objet.

EDIT : Prend exemple sur les bridges existantes.

from rss-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.