Git Product home page Git Product logo

atheos-terminal's People

Contributors

hlsiira avatar

Watchers

 avatar

Forkers

uyefe

atheos-terminal's Issues

Terminal don't want to open

When I click to the Terminal button (I have just installed the plugin), he don't want to open.
I have checked the webpage with the Chrome's inspector and:
image
How I can fix this problem?

Typing a command in Terminal only shows "Array"

Setup the Atheos in docker, installed Terminal Plugin and ran commands. All commands show response as "Array" and not the output of the command
Observed the following error in /var/log/apache2/error.log

Array to string conversion in /var/www/html/plugins/Terminal/terminal.php on line 147

Issue can be corrected by using implode so that Array is converted to string correctly.

diff --git a/terminal.php b/terminal.php
index f8b74d2..f12b28d 100644
--- a/terminal.php
+++ b/terminal.php
@@ -139,7 +139,7 @@ if (strtolower($command === "exit")) {
$command = explode(" && ", $command);
debug($command);
foreach ($command as $c) {

  •           $output .= $Terminal->process($c);
    
  •           $output .= implode("\n",$Terminal->process($c));
      }
    

}

@@ -151,4 +151,4 @@ $output = array(

Common::send("success", $output);

Terminal does not process inputs in Safari, iPadOS 11

On New Line, the text field skips few lines only; no input is being processed.

IMG_1608

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15

Build 8c1c349, PHP 7.3 on NGINX.

Unable to operate plugin

  1. Install the latest development branch of Atheos
  2. Setup, install, login
  3. Install Terminal through the Marketplace
  4. Open Terminal through the right hand bar
  5. This window opens:
    image
  6. Type something into the window. This happens:
    image

The Terminal window is now frozen. You can close it and reopen it, but upon typing anything, it freezes again.

When it freezes, the following error is written to the PHP log:

PHP Fatal error:  Uncaught Error: Call to undefined method Common::sendJSON() in <FOLDER>\plugins\Terminal\terminal.php:137
Stack trace:
#0 {main}
  thrown in <FOLDER>\plugins\Terminal\terminal.php on line 137

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.