[GH-ISSUE #141] PHP Notice: Use of undefined constant VERSION #117

Closed
opened 2026-02-25 21:34:12 +03:00 by kerem · 4 comments
Owner

Originally created by @t-keller on GitHub (Oct 22, 2016).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/141

Originally assigned to: @jasonmunro on GitHub.

Hello,

I tried to create an account by calling:

# php scripts/create_account.php toto toto

But I got:

PHP Notice: Use of undefined constant VERSION - assumed 'VERSION' in /usr/share/cypht/scripts/create_account.php on line 28

I think it's related to a recent commit: github.com/jasonmunro/cypht@87856c7c9e

Thank you

Originally created by @t-keller on GitHub (Oct 22, 2016). Original GitHub issue: https://github.com/cypht-org/cypht/issues/141 Originally assigned to: @jasonmunro on GitHub. Hello, I tried to create an account by calling: `# php scripts/create_account.php toto toto` But I got: `PHP Notice: Use of undefined constant VERSION - assumed 'VERSION' in /usr/share/cypht/scripts/create_account.php on line 28` I think it's related to a recent commit: https://github.com/jasonmunro/cypht/commit/87856c7c9e341409eb506b0f966926494128a645 Thank you
kerem 2026-02-25 21:34:12 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jasonmunro commented on GitHub (Oct 22, 2016):

Thanks for the feedback. I wanted to move the version def to the index file but I need to rethink that :) I will get this reverted.

<!-- gh-comment-id:255540906 --> @jasonmunro commented on GitHub (Oct 22, 2016): Thanks for the feedback. I wanted to move the version def to the index file but I need to rethink that :) I will get this reverted.
Author
Owner

@jasonmunro commented on GitHub (Oct 25, 2016):

VERSION location is reverted so this warning should be gone

<!-- gh-comment-id:256065922 --> @jasonmunro commented on GitHub (Oct 25, 2016): VERSION location is reverted so this warning should be gone
Author
Owner

@t-keller commented on GitHub (Oct 25, 2016):

Thank you ;)

<!-- gh-comment-id:256111267 --> @t-keller commented on GitHub (Oct 25, 2016): Thank you ;)
Author
Owner

@t-keller commented on GitHub (Oct 25, 2016):

Good luck ;)
Can't wait to test the software.

Le 22 oct. 2016 à 19:11, Jason Munro notifications@github.com a écrit :

Thanks for the feedback. I wanted to move the version def to the index file but I need to rethink that :) I will get this reverted.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<!-- gh-comment-id:256133964 --> @t-keller commented on GitHub (Oct 25, 2016): Good luck ;) Can't wait to test the software. > Le 22 oct. 2016 à 19:11, Jason Munro notifications@github.com a écrit : > > Thanks for the feedback. I wanted to move the version def to the index file but I need to rethink that :) I will get this reverted. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or mute the thread.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#117
No description provided.