Closed GoogleCodeExporter closed 9 years ago
If you get a white page with no information after installing or update there is
mostly an error in your config.
Try the following steps:
There are 2 files that include your database settings. The one that is
responsible for white pages is php/class.db.php. Make shure the database
settings (user, pass, host...) are correct. You can call the follwing URL to
get a clear error message:
http://localhost/measureit/php/measureit_functions.php?do=navigation_main
Original comment by lalelu...@gmail.com
on 6 Aug 2012 at 6:06
This is the error i get when i call the above URL
Fatal error: Cannot re-assign auto-global variable _REQUEST in
C:\xampp\htdocs\measureit\php\measureit_functions.php on line 660
I dont have the first idea on how to diagnose this error. Any help
appreciated.
Original comment by elio...@gmail.com
on 7 Aug 2012 at 1:17
I can interprete this error. It means I am an idiot.....
This ist a really really really stupid error from the programmer.... me....
Please replace your php\measureit_functions.php with this version. This should
solve the problem. tell me please it this will solve the problem..
Original comment by lalelu...@gmail.com
on 7 Aug 2012 at 6:24
Attachments:
Hi,
I copied the file over the existing and reboot and tried again.
I get a little further this time. Now when I call http:\\localhost\measureit I
get a web page with three tabs on top (Home, Start Position, Setup) and a box
under the Home Tab that contains the text "start position" but nothing else
Selecting either of the "start position" or "Setup" tabs just gives me a blank
page.
If it helps when I call URL
http://localhost/measureit/php/measureit_functions.php?do=navigation_main
I get the following response:
[{"sensor":{"x":"0","sensor_id":"0","sensor_title":"Sensor
0","sensor_clamp":"0","position_id":"1","position_time":"2012-08-07
20:12:21","position_description":"start
position","position_sensor":"0","measure_history":"365","measure_currency":"Euro
","measure_sensor":"0","measure_range":"","measure_timeframe":"0","measure_timez
one":"GMT0","measure_timezone_diff":"0","positions":{"1":{"position":"1","time":
"2012-08-07 20:12:21","description":"start position"}}}}]
Hopefully, this gives you some clue to what is happening.
Tested with Mozilla Firefox Ver 14.0.1
Original comment by elio...@gmail.com
on 8 Aug 2012 at 11:25
Oughhh
this is difficult. Everything is just fine when you see the start page....
The output from the data you get is also fine.
btw: You do not have to reboot your PC. Measureit is not a windows thing... ;)
OK. Everything looks fine and it does not work.
I have testet it also with Firefox 14.0.1 and everything is ... fine :(
If you are interested to help me find the error we had to do some debugging.
Try the following Steps:
1. Install the Firefox extension "Firebug"
https://addons.mozilla.org/firefox/addon/firebug/
2. Open Firebug by clicking on the bug icon in the right upper corner from
Firefox
3. After Firebug is opened change to the "Konsole" tab in Firebug. If there are
any errors you can see them there.
Every request that is send to the server creates one line with a little arrow
in front of it. With a click on the arrow you can expand the result. I attach
you a screenshot with open Firebug.
4. Reproduce your steps until you get a white page. Then send me the error
message
If there is a option that I can reach your installation I can do the debugging
for you. If yes send me the URL to your installation per Email.
Meanwhile thank you for your help.
Original comment by lalelu...@gmail.com
on 8 Aug 2012 at 4:46
Attachments:
I have attached a screen dump of Firebug console output when calling
http:\\myhostname\measureit
I have made my server available to access on the internet but I need to send
you the IP address and username/passwords privately if possible.
Original comment by elio...@gmail.com
on 9 Aug 2012 at 11:30
Attachments:
ok
a problem with the language settings... interesting.. I can not reproduce it
here...
Please do not change anything in your current config. You can send me your IP,
USER,PASS.... to this email address:
measureitsoft at gmail.com
Just set a temporary user and pass you can change later. Then I will take a
look on it
Thank you for your help
Original comment by lalelu...@gmail.com
on 9 Aug 2012 at 4:41
The details sent via email and the web server is online.
Original comment by elio...@gmail.com
on 10 Aug 2012 at 2:15
Original comment by lalelu...@gmail.com
on 10 Aug 2012 at 9:02
I seem to have the same issue. Can the solution be posted?
Thank you
Original comment by lind...@gmail.com
on 10 Feb 2013 at 5:27
Do you have a white start page or the error from the missing lng ist not
defined?
The next version from measureit is just ready and I am working on the
installation instructions.
If you are using a linux system or you are using a win system?
If you are a linux user please wait 2 or 3 days and try the next version where
both errors are solved.
Thanks for feedback
Original comment by lalelu...@gmail.com
on 10 Feb 2013 at 7:16
Hello,
i have this error.
Warning: require_once(/usr/local/measureit/measureit.cfg.php): failed to open
stream: No such file or directory in
C:\xampp\htdocs\measureit\measureit_public_html\php\class.db.php on line 2
Fatal error: require_once(): Failed opening required
'/usr/local/measureit/measureit.cfg.php' (include_path='.;C:\xampp\php\PEAR')
in C:\xampp\htdocs\measureit\measureit_public_html\php\class.db.php on line 2
Please for help
Original comment by gregor.p...@gmail.com
on 24 Sep 2014 at 9:41
Hi Gregor,
forget the timezone .. :)
Your error message told me you are on a windows system. I stop the windows
support from measureit since about 2 years. The last running version was I
think 113
https://github.com/lalelunet/measureit/wiki/Windows
If you are not the windows super administrator, programmer .... do not try this
out. This was freaky enough for me to get it running on windows ;)
I am not longer willing waste private lifetime to get something running on
windows...
Buy a Raspberry Pi install the image and save energy and nerves. A PI consumes
about 6 watt if it will be very busy..
Original comment by lalelu...@gmail.com
on 24 Sep 2014 at 9:59
sory :D i have buy yet a raspberry PI cost nothing.
Thnx to you
Original comment by gregor.p...@gmail.com
on 24 Sep 2014 at 10:15
Original issue reported on code.google.com by
elio...@gmail.com
on 6 Aug 2012 at 12:13