Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

everything seems to work except for cgiNodeInfo(); #32

Open
edwardsmarkf opened this issue Dec 13, 2016 · 4 comments
Open

everything seems to work except for cgiNodeInfo(); #32

edwardsmarkf opened this issue Dec 13, 2016 · 4 comments

Comments

@edwardsmarkf
Copy link

edwardsmarkf commented Dec 13, 2016

hello - (using CentOS-7)

so far so good, except i cannot seem to get <? cgiNodeInfo(); ?> working. i see this error:

EXCEPTION: cgiNodeInfo is not defined

i am not sure if this is the problem or not, but i already had node installed. so i did

which node;

and that gave me:

/usr/local/bin/node

so i used this in the first line of /cgi-bin/cgi-node.js and changed the SessionPath:

#!/usr/local/bin/node
SessionPath: '/tmp/'

however, this little script seems to work fine:

<?  write('test test');  ?>
<?  var xx = 123; write( xx + 45 );  ?>

any suggestions on getting cgiNodeInfo() working? i fear i did something horribly wrong in my setup.

@dan-willett
Copy link

It is a typo in the instructions. The correct function name is: CgiNodeInfo

Notice the Capitol C in Cgi

@edwardsmarkf
Copy link
Author

edwardsmarkf commented Dec 13, 2016

THANK YOU ! i was questioning my own sanity at the time.

However, the sanity is still in question, but now for reasons entirely unrelated to cgi-node.

@dan-willett
Copy link

Additional note: the name has been changed in the repository to a lower case c, and the current version is 2.1 ... but the download link has not been updated nor has a new release been made... Also, there is a bug fix that is in the repository ( 2.1 ) that is not in 2.0...

@chasen-bettinger
Copy link

Where can you test the cginodeinfo() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants