Do you mean day.php? Are you sure it's not refreshing? You won't see it refresh because the refresh is done using an Ajax call. Try opening another browser and making a booking and see if that new booking appears in the other browser after a minute.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes this is the "home" http://192.168.18.249/mrbscubo/day.php?area=1&room=17
refresh in other PC does not run:-(
Why is entered room = 17? room in the old version was not set.
current: MRBS 1.4.11
old server MRBS 1.4.3
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I opened an access to internet.
link: http://147.162.18.10/mrbscubo/day.php?year=2015&month=02&day=17&area=1&room=17
You can try it and see the page.
The PHP Version 5.4.16
Browser tested IE, Mozilla Firefox and Chrome
I viewed the page source code day.php, generated by MRBS 1.4.3 and 1.4.11 MRBS (attached). the string <meta http-equiv="refresh" content="60"> is present but is in different positions. is that correct?
Thanks. Yes, you're right - it's not refreshing. In 1.4.11 the refresh is done by an Ajax call, which is why the meta refresh is in a different position - it's in a <noscript> element so that it's only executed if JavaScript is disabled.</noscript>
I can see that the Ajax requests are being issued by the client, but for some reason there's no response coming back from the server. I'll need to try and figure out why not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have identified the problem.
the page day.php regularly sends the command post for the refresh, every 60 seconds
if a user has logged in, the page refreshes
otherwise not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think that's the problem. There is something not right. The page should refresh even if the user is not logged in. Can you tell me whether it refreshes for an ordinary user (level 1) or just when an admin (level 2) is logged in?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
refresh both ordinary user (level 1) or admin (level 2) the result is the same. The page refreshes.
only I have this problem? :-(
I can send you the username and password for user and admin user by mail if you want to try the test.
I do not know what else to try ....
Forgive my English ... but I can not write well, I help with google translate ...;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. That's the result I would expect if everything's working properly, so I still don't understand what's going on. Could you give me a user login please? Just an ordinary user - doesn't have to be an admin.
Last edit: Campbell Morrison 2015-02-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. I still don't understand what is going on. Can you tell me what authentication scheme you are using? In other words what is $auth['type'] set to in your config file?
By the way, I have finished with the username now. You might want to delete it or change the password as it will otherwise be public.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, that's all you need to set. Which page do you mean by the home page?
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
On the page with current date (index.php)
Last edit: Anonymous 2015-02-16
Do you mean day.php? Are you sure it's not refreshing? You won't see it refresh because the refresh is done using an Ajax call. Try opening another browser and making a booking and see if that new booking appears in the other browser after a minute.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
Yes this is the "home"
http://192.168.18.249/mrbscubo/day.php?area=1&room=17
refresh in other PC does not run:-(
Why is entered room = 17? room in the old version was not set.
current: MRBS 1.4.11
old server MRBS 1.4.3
I can't see your site because the 192.168 network is a local network, so I'm not sure what's happening.
Can you tell me what version of PHP you are running (the information will be on the Help page) and what browser and version you are using?
Don't worry about the room=17 in the query string - that's OK.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
I opened an access to internet.
link: http://147.162.18.10/mrbscubo/day.php?year=2015&month=02&day=17&area=1&room=17
You can try it and see the page.
The PHP Version 5.4.16
Browser tested IE, Mozilla Firefox and Chrome
I viewed the page source code day.php, generated by MRBS 1.4.3 and 1.4.11 MRBS (attached). the string <meta http-equiv="refresh" content="60"> is present but is in different positions. is that correct?
Thanks. Yes, you're right - it's not refreshing. In 1.4.11 the refresh is done by an Ajax call, which is why the meta refresh is in a different position - it's in a <noscript> element so that it's only executed if JavaScript is disabled.</noscript>
I can see that the Ajax requests are being issued by the client, but for some reason there's no response coming back from the server. I'll need to try and figure out why not.
Can you check your PHP error log to see if there are any error messages in there?
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
I have a problem. php does not write errors in the log file. I'm trying to solve
I write here when I solved if I have some news
bye
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
I have identified the problem.
the page day.php regularly sends the command post for the refresh, every 60 seconds
if a user has logged in, the page refreshes
otherwise not.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
I don't think that's the problem. There is something not right. The page should refresh even if the user is not logged in. Can you tell me whether it refreshes for an ordinary user (level 1) or just when an admin (level 2) is logged in?
Sorry - the last post was from me.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
refresh both ordinary user (level 1) or admin (level 2) the result is the same. The page refreshes.
only I have this problem? :-(
I can send you the username and password for user and admin user by mail if you want to try the test.
I do not know what else to try ....
Forgive my English ... but I can not write well, I help with google translate ...;-)
I don't think the username and password will help thanks. I can see that it is failing when not logged in.
Can you upload the two test files to your MRBS directory and run test.php and let me know the output please?
Thanks
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
this is the result:
$ PHP_SELF: string (18) "/mrbscubo/test.php"
basename ($ PHP_SELF): string (8) "test.php"
$ maxLevel: string (1) "2"
Thanks. That's the result I would expect if everything's working properly, so I still don't understand what's going on. Could you give me a user login please? Just an ordinary user - doesn't have to be an admin.
Last edit: Campbell Morrison 2015-02-20
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
user: usermrbs
pw: mrbspassword
Thanks. I still don't understand what is going on. Can you tell me what authentication scheme you are using? In other words what is $auth['type'] set to in your config file?
By the way, I have finished with the username now. You might want to delete it or change the password as it will otherwise be public.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
yes, authentication is "config" ..
usermrbs disable.
Thanks. And what is $auth["session"]?
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
yes $auth["session"]
Sorry - what is it set to? Is it the default (ie 'php') or is it something else?
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
excuse me
$auth["session"] = "php"
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
news?
I still don't understand what is happening. Here is another test program for you to try. Could you let me know the output please?
Thanks