Code Monkey home page Code Monkey logo

clerk's People

Contributors

chr15m 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

Watchers

 avatar  avatar  avatar

clerk's Issues

Error connecting to server / Cannot declare class Error, because the name is already in use

I'm trying to get Clerk up and running in a simple Docker container for fun:

I've cloned the repo locally and I'm using this in a Dockerfile:

FROM php:7.4-apache  

# Add the project to /var/www/html
ADD www /var/www/html

# Sym link
RUN rm /var/www/html/server/index.php
RUN ln -s /var/www/html/server/mal.php /var/www/html/server/index.php

However, when building and running, I get the error message in the webUI:
"Error connecting to the server."

When I look at /server/index.php on the server I get the error:
Fatal error: Cannot declare class Error, because the name is already in use in /var/www/html/server/mal.php on line 46

So I tried to rename "Error" on line 46 to be, "Err" and then everything that relates to it. That fixes the issue and I don't get the error message anymore and the web UI loads, but then when I add a event to log, nothing is actually saved (which sounds like a different issue).

Is there something with newer-ish versions of PHP (7.4 in this case) and "Error" in the code on line 46? (I'm not super down with PHP, will need to investigate.)

Error connecting to the server

Unfortunately, I do not get the installation to work - Main page shows error:
clerk\src\main.wisp
Line 247: (m.render app-el (m "div" {:id "loader-error"} "Error connecting to the server."))))

What is "mal"?

It looks like a Lisp or Scheme variation, but attempts to search for it are not particularly helpful.

Unable to deploy Clerk's server

Hi !

So I tried to deploy Clerk on my website, but I couldn't seem to find my way. I have the same issue as #10 (I get the error message "Error connecting the server"). Reading #10 , I noticed the symlink index.php toward mal.php was indeed missing, so I added it. However, this is still not working : trying to load index.php yields Error 500 and loading index.html still yields the message "Error connecting the server".
Do you know where I did something wrong ?

Thank you !

Error class conflicts with PHP 7's built-in Error class.

With a clean installation running PHP 7, you'll get a PHP Fatal error: Cannot declare class Error, because the name is already in use in /var/www/site-name/server/mal.php on line 0

I think we'd just have to rename the Error class in mal.php to something like _Error. I'll submit a pull request if that's the case.

Ability to view logs from the site

Instead of downloading a csv file upon tapping an event name, we could have it expand a list of the recorded logs for that event. The csv file could be downloaded by tapping an appropriate icon beside the event name.

This might be a simple enough feature for me to learn a little wisp with.

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.