Code Monkey home page Code Monkey logo

glype's People

Contributors

vincentclee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

glype's Issues

ERROR: template failed to load.

After enter url, I try default and simple theme:
ERROR: template failed to load. Please ensure you have correctly installed any custom themes and check you have not removed any files from the default theme.

Couple of problems with php8

I was getting a couple of issues running your code with php8 (v8.0.6)

The first was -> Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /opt/htdocs/admin.php:349

Its depreceated, so I've changed this

    if ( ! isset($magicQuotes) ) {
        $magicQuotes = get_magic_quotes_gpc();
    }

to this

    if ( ! isset($magicQuotes) ) {
        $magicQuotes = false;
    }

and that seems to fix it, def quick-and-dirty - I'm sure you can do better

I was also getting an error on line 991 of browser.php saying status was not an int

  PHP Warning:  curl_exec(): Could not call the CURLOPT_WRITEFUNCTION in /opt/htdocs/browse.php on line 877
  PHP Fatal  error:  Uncaught TypeError: header(): Argument #3 ($response_code) must be of type int, string given in /opt/htdocs/browse.php:991     

I fixed this by added a line to check the header line starts Status: before grabbing the status, now the proxy mostly works - It seems really odd that the status thing wasn't a problem before - I'm obviously missing something you've done elsewhere, or how the old library worked??

anyway, this

    # Extract the status code (can occur more than once if 100 continue)
    if ( $this->status == 0 || ( $this->status == 100 && ! strpos($header, ':') ) ) {
        $this->status = substr($header, 9, 3);
    }

become this

    # Extract the status code (can occur more than once if 100 continue)
    if ( $this->status == 0 || ( $this->status == 100 && ! strpos($header, ':') ) ) {
        if ( substr($header,0,8) == 'Status: ')
            $this->status = intval(substr($header, 9, 3));
    }

So now it's mostly working, but I seem to be getting either a very old version of the sites or maybe the mobile version, or an old mobile version? Or maybe the version of the site when it can't find out enough about the client?

I can't see anything obvious in the admin that might fix the web page formatting - any idea???

docker

hi, is it available via docker?

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.