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

pins do not show in/out (high/low) on index.html #1

Closed
GoogleCodeExporter opened this issue Jul 18, 2015 · 7 comments
Closed

pins do not show in/out (high/low) on index.html #1

GoogleCodeExporter opened this issue Jul 18, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

First of all, many thanks for making this software available.

I am not a php programmer, so forgive me if I’ve missed something obvious. My 
index.html page looks as the sample, but with no info as to a pin being high or 
low—simply an empty grey box.  My log shows
"PHP Parse error:  syntax error, unexpected '[' in /var/www/webiopi/gpio.php on 
line 19"

This on a Linux raspi 3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l GNU/Linux

Thanks much.


Original issue reported on code.google.com by evan...@gmail.com on 22 Aug 2012 at 5:52

@GoogleCodeExporter
Copy link
Author

Please post more details about your config.
which distro ?
apache, lighttpd, other ? version ?
PHP version ?

Have an idea but need more details to reproduce it.

Original comment by tro...@trouch.com on 22 Aug 2012 at 5:58

@GoogleCodeExporter
Copy link
Author

Sorry about not including the config details

uname -a
Linux raspi 3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l GNU/Linux
cat /proc/version
Linux version 3.1.9+ (grayg@dc4-arm-01) (gcc version 4.5.1 (Broadcom-2708)
) #90 Wed Apr 18 18:23:05 BST 2012
cat /etc/debian_version
6.0.5

apache2 -v
Server version: Apache/2.2.16 (Debian)
Server built:   Apr  1 2012 11:26:02

php -v
PHP 5.3.3-7+squeeze8 with Suhosin-Patch (cli) (built: Feb 10 2012 17:00:00)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

Thanks for the prompt reply!

Original comment by evan...@gmail.com on 22 Aug 2012 at 6:14

@GoogleCodeExporter
Copy link
Author

Okay, it's the PHP version as I use a feature available from PHP 5.4.
Replace gpio.php inside /var/www/webiopi with this one attached and please give 
a feedback.

Original comment by tro...@trouch.com on 22 Aug 2012 at 6:42

  • Changed state: Started

Attachments:

@GoogleCodeExporter
Copy link
Author

Sorry, no attachment...

Original comment by evan...@gmail.com on 22 Aug 2012 at 7:41

@GoogleCodeExporter
Copy link
Author

the attachement is on the issue web page

Original comment by tro...@trouch.com on 22 Aug 2012 at 7:53

@GoogleCodeExporter
Copy link
Author

in case you missed that, see 
http://code.google.com/p/webiopi/issues/detail?id=1#c3

Original comment by tro...@trouch.com on 23 Aug 2012 at 6:19

@GoogleCodeExporter
Copy link
Author

Original comment by tro...@trouch.com on 24 Aug 2012 at 4:53

  • Changed state: Verified

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

No branches or pull requests

1 participant