Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

rowan.bradley

Members
  • Joined

  • Last visited

Everything posted by rowan.bradley

  1. I develop a web site for my local choir. I really need a system that will allow me to test the website thoroughly automatically. Ideally I would like to be able to design test sequences which would for example look like: Go to URL http://choir-stmaryssaffronwalden.org, and check that the login page appears correctly (this implies that all elements of the page appear correctly, in the correct place, and visible). Log in as test.member with the correct password, and check that the welcome page appears correctly. Click the button See Ticklist, and check that the ticklist appears correctly. Go to the test-only page clear-ticks.php, and check that test.member's ticks are all blank. Set the first event to tick, and click Save Changes. Check that the tick has been registered on the form, and that nothing else has changed. Set the second event to cross, and click Save Changes. Check that the cross has been registered on the form, and that nothing else has changed. Click test.member's username link, and check that the Edit Member page appears correctly. etc. The key elements seem to be: to be able to find elements on the page by their ID or name or other properties, and to be able to click them or enter text or change selections etc. to be able to verify that all the expected elements on a newly displayed page appear in the correct place, and with the correct content, and are fully visible (i.e. that nothing that should not be there has appeared on top of them. It should be possible to test on multiple screen/window sizes It should be possible to test on multiple platforms and browsers, including Android, iOs, IE for Windows, Chrome for Windows, Firefox for Windows, Edge for Windows, Safari for Macintosh. For example, some Apple users currently have some problems with my website that I cannot find, because I don't have an Apple device. I need a way to test the system that will find these bugs, and allow me to fix them. Preferably it should be possible to develop the test script by a learning method (i.e. I put the system into learning mode, and follow the above steps, and it will learn the actions that I take and the way the website responds), although I don't mind writing code if that's the best way to do it. Preferably the test tool or system should be free to use (at least for small projects like this) because there is no source of funds for this apart from my pocket - the site does not earn any revenue and the choir does not have spare cash. Can you recommend the best way of doing this, or the best tools to use? Thank you - Rowan
  2. Yes, now I can see it in both browsers. So I suppose the design is OK, and I can publish this in the belief that people will be able to see it without annoying error messages. As you say, I suppose it must have been something to do with having recently updated the web page. The redirect is to allow me to use the web host that I use for my main web site (sylvesterbradley.org) but make the URL a lot shorter, which makes the QR code a lot smaller. It may be redundant now, but it wasn't when I started this (some years ago). Thank you - Rowan
  3. I have a web page s-br.org/rsbh.htm which gives a 404 error when using Chrome. When using Firefox, it works fine. Why can Chrome not see this page? What changes do I have to make to my website to enable Chrome users to see this page without confusing error messages? In any case, the error message "The page you are looking for is not found" is obviously misleading since the page is obviously there, since Firefox can see it. Thank you - Rowan
  4. Part of my web site design (PHP running on Linux server) sends a link to the user via e-mail containing a 32 character key as a GET parameter. So the link looks like this: https://sylvesterbradley.org/swchoir/edit_member.php?x=1&key=0V88jzAfEQfZ6QcIID5BdeuLvQxuGOiG. The user is asked to click the link, which takes him to a page where (if the link matches what we have stored in the database, and has not time expired) he can enter a new password. Sometimes when such a link is clicked, the $_GET variable is empty, i.e. is equal to []. Why might this be? How do I find out what is going wrong and fix it? Thank you - Rowan
  5. I am working on a website developed in PHP to run on a Linux Apache server. After some recent changes my session variables seem to have gone haywire. One of my pages creates a new session and then logs the value of the $_SESSION array using var_dump. Here's the result: [25-Jun-2021 11:53:00.220 BST 1] on , L_TRACE Session ID = 500qbjglhu2vsvupfp5810kmi1, $_SESSION = {"54b4368deba7f09e24d876746ae2b9db3923d76b45e772c946201c80d3b23a289c629d230a0e5493e91a048b1532df4e76cb12ffce6d065e38179519f8f067e9":{"form_security_tokens":{"account_update":{"20210624":[]}, "permalink":{"20210624":{"20210624xM1EM0WHHtO5uMOLzhdWZXl_1yiPnbaw":true, "20210624M9lPBD1YzVXM8KLaM7rwJnkDg9FtzA5f":true, "202106243aJlw_Iy5aYa4CNKcL_Q3MAfWETrYTbv":true, "20210624PYuE8WhOh11hhby1dWNF_u1T-vUGpybi":true, "20210624_SY8MAmGOE0fqTtaXqCl5fXt4YD9sZZA":true, "20210624YjJitJu-d8mxi2Or7UyPqhlOiBE73kOT":true}}, "manage_proj_update":{"20210624":{"20210624nxz7AccWkafXoNDLOotIzKA2vm9mV6zX":true, "20210624HJk2mTiaA8uWPPrShgfpCDqY86wR4o4L":true, "202106246TiBXRhlFl1vkU_FMXbwTJr5ThV5z0S5":true, "20210624rFq5H-wyklXbjCTY53qyoof4m_-Z44ti":true}}, "manage_proj_subproj_add":{"20210624":{"20210624efF-zupy7wW5GEJlZEI2gJAKYHtFynWL":true, "20210624ULLEQoUf1J10BUGJL259P1v-2fG20tZ-":true, "20210624ZDAuSPp9iFSQTifA0oMLkiJEcDvrUbzI":true, "20210624vzS-75bWzKN2JcFLr4GhOwxBV1iwcX2O":true}}, "manage_proj_cat_copy":{"20210624":{"20210624nxfXyJ4QUyXHgkfozskEJO6EP6YHxp2_":true, "20210624n7ii3c8YZGfdmH5j_NFigU9tPQbG_tVf":true, "20210624QWQmc1ZS6YGe1GnP1u1gOpmAeaYGQNyY":true, "20210624fMn693XyPFPjO5fcrlpsIgWBtiAZhQSX":true}}, "manage_proj_cat_add":{"20210624":{"20210624iOBTNfEg2p56U2Gh6bPPftTh-OndKWBm":true, "20210624o_oFXFi99uPSYWCyHcgNt-UWpbZuRhlL":true, "20210624xa7mW24mM3WI_bzBi_A3ZgJrY31w0pQA":true, "20210624Kye9oOZtNs6IgtGaOOh58bl6cIjsE-5V":true}}, "manage_proj_ver_copy":{"20210624":{"20210624yCtwU9Eh_Q8evhj0agL2ALBX-Kdq9Y15":true, "20210624G2twCmp8OWYxAc4S6h03wsgBxdSBiaX3":true, "20210624zk6avEJ39U0Y9Wa7kjNISNEDsmpKurCg":true, "20210624qiAANl5kjuWRaJE5_1sZ7_YZLdX14gTQ":true}}, "manage_proj_ver_add":{"20210624":{"20210624-nqc6IAVlEUacFTAUuIrq6CWefCk9CX0":true, "20210624ijNhHiwoCkXRGz4nrrlftV0-N5ftdCN3":true, "20210624def0dPDX29RFgnLtARuvTTcN1Yfg5g8w":true, "20210624c5YBW8bEMwaeWojPW2Ld4oVeILvJ2kGY":true}}, "manage_proj_custom_field_copy":{"20210624":{"20210624uAj2gYaBAjf44O9B2z3FSDZuyaaxlrPX":true, "202106244bRi43zT77-iuuYbsnkWTEgD0Pp__tH_":true, "20210624ELSRig10sRK6oZQZQ5j4uY4zW5GPFa15":true, "20210624Jkb9NwmjtUHF_QH9jId6OZpDlmsQR_Tx":true}}, "manage_proj_custom_field_update":{"20210624":{"20210624uy1f1wWNDxjAASnF_jpfr8HF8S2gtJqZ":true, "202106249RiEAPxF8vnRddfZuE1hpRLXxWQnxgD6":true}}, "manage_proj_custom_field_remove":{"20210624":{"20210624KPTOfkBgo6i9_a3BODrkQFWuCfnU2tmr":true, "20210624tjEFBSAbgYU-YIdW5e2zG1VEpPLYKMKl":true}}, "manage_proj_user_copy":{"20210624":{"20210624oq7p3wPpURu3pV8P7A4pU597B6meZscQ":true, "20210624Hl_UI17X9v67dtx0y65EeOX6MnPAqLHp":true, "20210624IoawzezIskw_akl379LRb287c4daJI91":true, "20210624-0Un7BjcjUux-jXAtsQER14uHWUf-4Qm":true}}, "manage_proj_user_update":{"20210624":{"20210624wOW4WAlBbmdtXTIk4eSbRe86jzEqaLxs":true, "20210624PyMu5HrLnMv4kPZCn9V6kMdfLSyrEGTE":true, "20210624NLbcLX1lLr7BGbtsoTDrAkpfnvMkxqUd":true, "20210624Sooy5j82uBSPT3zJhpkQlizQ59r86qlX":true}}, "manage_proj_user_remove":{"20210624":{"20210624EmCq8cpyWkaDc3t8oHybALHC3GHFiB7K":true, "2021062498fm0EQhCh3Pk2UqBOgbdFLDz1xPuPDF":true, "20210624Nx3_Q8iQbS9ir5mBIRLd135ebsAb3Bh7":true, "20210624JYOgd9KsHTbdapnZjqMJ4WqbK1XJ8Pw2":true}}, "manage_proj_user_add":{"20210624":{"20210624hdZgCQ5e7zV3klU63iptitW_UVNDEjbq":true, "20210624XJFXAa3_t8_dY-cAEZDCY9hG7U7VFdae":true, "20210624sueykQeNx3TLvNQtMUX_vhq2_1eMR8fw":true, "20210624Vm2b_KeiuKt8c6fh-DtG0_h6hAhAuj1Q":true}}, "manage_proj_custom_field_add_existing":{"20210624":{"20210624Zfs_GoBBDr-8AW0Co_6uEdCKMqskaTkm":true, "20210624BGzAgv0Pk8XRHCZXCkyRf44gTHGBLA_9":true}}, "bug_report":{"20210624":{"202106244ipSFZyEUEhbs3uqXmSsdF0G-2uppMm7":true}, "20210625":{"202106255ggFqd94_Pbw7xpkNXABmuOGRbaJhqf4":true}}, "bug_update_page":{"20210624":{"20210624V6io-MDvUK9ssjsrHPWQ78SFrQkXwlhc":true, "20210624f7Yi784qQbphDLqrXWtzws73au65zvbl":true, "20210624osexaQETKElgGMRKKlUM7xgQgGUVpFXp":true, "20210624MCQiRMhDwdAiqfS8Lp-VmSJcs5Vjy4Oc":true}}, "bug_update":{"20210624":{"20210624lrqPrbU_ol0GvDMYqe83qKlvhaq19yEo":true, "20210624el-3pG7G5wgrqexRuD3q70eYJBYLq4nS":true, "20210624SHvD_fTljhftCaERT8EaWRcNugiHkjXD":true, "20210624nN7wbCgmVsLKXnjBi1LWgvWNsc_xs4yv":true}}, "bug_monitor_add":{"20210624":{"20210624nW2fugQ_mVszNzk4uGg1iu139FebA5Ma":true, "202106248JuJ0JjVMQdldTKbu-fYNFblU5tnFvL3":true, "20210624LWXcYzzCWBwXxKh-vimr5FitR2ay8nCo":true, "20210624714rz70Eznm_G7KOT9OnoW8IomC_9sXq":true, "20210624CuuP4oe25zOlkKdqSuHyzE-aO81I6o2V":true, "20210624sWqPsELaRzM3Hby9AZ8TX7BZlEcOE2qn":true, "20210624b-MN0VDt3Oi3ncMW5NYbfga_xP7OuFMI":true, "20210624V1NeI5FmUhrRpE7E8WhYZhdRr0ECbHrq":true}}, "bug_stick":{"20210624":{"20210624Dt3vMbXHZ4P5s70aRfFQv4LILeCKZXiw":true, "20210624jROSXzGJvkJaV6RNJAFiVbS3QZu0Q2Yf":true, "202106240PBIELMS28-DJ3nH9bolbKdOsEd4PI60":true, "20210624jDRjAPEWXJsYBk7naHodkUff4UsNOuC0":true}}, "bug_report_page":{"20210624":{"20210624tb3bzzh0B90ukvVAXi3pmTNg-uTZQCvv":true, "202106246RGK405w--iYtnkJ-bfXQSBPaXrgU1sT":true, "20210624pvMrPbu5INJjmbyYOdoqpBAaJkVwQ4gB":true, "20210624OieySVVvkZytQNNt30ivajxNclMDG13i":true}}, "bug_change_status_page":{"20210624":{"20210624rNJ-tZn4goMIqCMgAp333hAD-tM0o68Z":true, "20210624ijZ_0iYWUuiSRZRpLYWja0hJ3RZK0OUu":true, "20210624AYyZiAa3xA17ShMBuTeyH_dR--IhBFRQ":true, "202106245tNsaVnOc9QrxsvFk3NOtIX00xu-PV-4":true}}, "bug_actiongroup_page":{"20210624":{"20210624PyA-5OyEh9VODubuE3p_uvluA5sTRj0s":true, "20210624vTDVOpfTxCL9I5QMkPI4KQeELAdKYLQZ":true, "20210624c0ndZml_Hqtm99g4TuZjVH5SqqGbMCjd":true, "202106243Wt_k4Wk_ZJUYS8VA_Be3btlobFfktke":true, "20210624wNXldn4Rck7QE-TMmuLzoZJuMkJx6NcF":true, "20210624-py2FfN9-4I5QybdVUYSkTJLk7QyqP9-":true, "20210624_ROPaWmy6L_re-zjix-1wxAUphG-kMmO":true, "20210624i9pdsVeviWKGxHSSsNNeM1qKre9udoXu":true}}, "tag_attach":{"20210624":{"20210624tI2mfeoH_XeYVcMB32_QVBuil6gljbU3":true, "20210624EHQKRf1j-PcCARkrNCuOJpvloMMPoRK0":true, "20210624GJP-wgrjgOuzWdy9JbWdobFm6Ee0k6e7":true, "20210624GZ4wj5IlEwxczV1OXSkMKW6QtgPYu56M":true}}, "bug_relationship_add":{"20210624":{"202106245rEM9z8nWh-Q1xqh_PCFXkh8SX5PRH0l":true, "20210624Fw5awNOs4F6chraP5eyXy95eWfWa2PLp":true, "20210624Vq6E57QFC0WNGaZbueVHc12s9Uz_tLbV":true, "20210624h92EOfUaAROkEkGKNaTr5b0uI6yiVKVZ":true}}, "bug_file_delete":{"20210624":{"20210624-FGHy5pbXqb11QhSlD-EVHUuH1itzTHq":true}}, "file_show_inline":{"20210624":{"20210624os6ny6dHn8D5YyI0g4wjbvdL_K7uM8HD":true}}, "bugnote_add":{"20210624":{"20210624224tdorca79kVrjJV994cRGisjiG5Eai":true, "20210624nBY25_0lRLJkqI3m9FskiwcyLTJk0vCL":true}}, "bugnote_delete":{"20210624":{"20210624VdaP5twbolVq7m0uZQewsDdSbOUF5vzw":true, "20210624AKZInAJZXScYpoeJzrbpTJ-EX3EZew65":true}}, "bugnote_set_view_state":{"20210624":{"20210624dlTy4NyaWMGwEQiLa5Vn612Ht12UNv5l":true, "20210624mBoeiw49ik4xuSFA7dF8z0PPAmuYHAaw":true}}}, "secure_session":false}, "session_id":"500qbjglhu2vsvupfp5810kmi1", "lasttouch":1624618379, "breadcrumbs":[{"shortname":"Login", "filename":"index.php"}, {"shortname":"EditMember", "filename":"edit_member.php"}], "request_index":53, "test_mode":0, "current_role":"1", "username_entered":"test.member", "login_member":null, "login_name":"Test Member", "auth_level":3, "Redirected":true, "redirect_time":1624618379.964, "edit_member_mode":"new_password", "edit_memberid":"136", "formdata":{"MemberId":"136", "FirstName":"Test", "LastName":"Member", "ChoirNum":"0", "Username":"test.member", "PasswordHash":"$2y$10$kicyiCZTVCjUUy8G\/6fJ2.BokRlOUVwCK6NJP60lE2xKGkKeOJhtG", "Email":"test.member@sylvesterbradley.org", "Address1":"", "Address2":"", "Town":"", "County":"", "Postcode":"", "Phone":"", "Mobile":"", "Student":"0", "DivisionAbbrev":"B2", "SectionId":"1", "Birthday":943920000, "Joined":943920000, "DefaultRole":"1", "MustChangePW":"0", "LastChangedPW":1549535706, "PasswordStatus":"2", "CPKey":"8UhlbhWnJ74q3twnREPqyXLFlquqgAAo", "CPExpires":1624625572, "LastTouch":1549536507, "SendReminders":"0", "Status":"1", "ChangedBy":"4", "ChangedOn":1493461887, "Enabled":"1", "Welcome":0, "OldPassword":"", "NewPassword":"", "ConfirmPassword":""}, "authenticated":"key", "pageerror":"There were errors in the data you entered. Please correct them and try again.", "fielderrors":{"LastName":"You must provide a last name.", "Email":"You must supply a valid e-mail address.", "NewPassword":"If you wish to change your password, please enter your desired new password (twice). If you do <u>not<\/u> wish to change your password, please leave both boxes empty."}} at line 805 in file: /home/sylvest/include/functions.php Called from my_session_start() at line 190 in file /home/sylvest/include/basic_init.php Called from require(/home/sylvest/include/basic_init.php) at line 135 in file /home/sylvest/public_html/swchoir/edit_member.php The first variable with the cryptic name makes no sense to me. I am 99.9% certain that I am not creating this session variable. So what is creating it? Where is it coming from? Does it matter? Thank you - Rowan
  6. I believe my hosting company will not allow me to use one hosting account to host more than one web-site, or more than one domain (even though the amount of space taken by these sites, and the traffic generated, is only a small fraction of what I'm allowed on one account). This is why I decided to use framed forwarding. Rowan
  7. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html lang="en"> <head><title>St. Mary's Saffron Walden Choir</title> <meta name="Keywords" content="choir choral church singing hymn anthem"><link rel="shortcut icon" href="https://sylvesterbradley.org/choir/images/tickicon.png"></head> <frameset rows="100%"> <frame title="https://sylvesterbradley.org/choir" src="https://sylvesterbradley.org/choir" name="mainframe" frameborder="0" noresize="noresize" scrolling="auto"> <noframes>Sorry, you don"t appear to have frame support. Go here instead - <a href="https://sylvesterbradley.org/choir">St. Mary's Saffron Walden Choir</a></noframes> </frameset> Am I right to think that the browser will fetch the frame using SSL, and that the request for the next page (which contains the user's username and password entries) will be sent using SSL? If not, why not? How do I make it more secure than this? Thank you - Rowan
  8. >They won't. I think they will. The fact that the URL is sylvesterbradley.org is a bit of a giveaway. >It's because your site isn't https I can access my site using either https or http. What do I have to do to "make my site https"? I can write a rewrite rule that makes the browser redirect to https://sylvesterbradley.org when the user inputs http://sylvesterbradley.org, but as far as I can see I can't do this for the domain choir-stmaryssaffronwalden.org (which is what I need to do to force the site to use https), because I don't have access to the .htaccess file on the 123-reg server. >Your site isn't registered with 123reg. My domain choir-stmaryssaffronwalden.org is registered with 123-reg. That's what I was referring to. It is them that told me that their web forwarding system would not work with https. I think they mean that it wont work with either the user URL https://choir-stmaryssaffronwalden.org or with the target of the redirection being https://sylvesterbradley.org Thanks - Rowan
  9. Now I have the equivalent problem with submit buttons. Here is my code: <button type="submit" formaction="http://choir-stmaryssaffronwalden.org/edit_member.php" name="memberlink04">See&nbsp;your&nbsp;Profile</button> The URL http://choir-stmaryssaffronwalden.org/edit_member.php works fine on its own, but when the above button is included in a frame, then when you click the button, nothing at all happens. I suppose that I need to do something equivalent to target='mainframe' but how do I do that in a button? Thanks - Rowan
  10. >Why can't you just build a stand alone website and add it to your hosting package as a sub-domain? Because I don't want users to know that actually this is hosted on my personal web server. >it's not https which means the login won't be encrypted I know this. My domain name registrar (123-reg.co.uk) tells me that for some reason that they haven't explained, they can't do web forwarding with https URLs. I have pointed out to them that nearly everyone will want to do this, partly just to get rid of the nasty "Not Secure" message that browsers nowadays put up, but so far they haven't responded. Thanks - Rowan
  11. Now I have the equivalent problem with submit buttons. Here is my code: <button type="submit" formaction="http://choir-stmaryssaffronwalden.org/edit_member.php" name="memberlink04">See&nbsp;your&nbsp;Profile</button> The URL http://choir-stmaryssaffronwalden.org/edit_member.php works fine on its own, but when the above button is included in a frame, then when you click the button, nothing at all happens. I suppose that I need to do something equivalent to target='mainframe' but how do I do that in a button? Thanks - Rowan
  12. I seem to have found a way of getting this to work. I have to include in each <a> element an attribute target='mainframe'. Then it seems to be able to send the request to the right place. I don't really understand why this is. What is the browser trying to do with a link pointing to http://choir-stmaryssaffronwalden.org/index.php if I don't include the target attribute? This URL seems complete and unambiguous to me, so I don't understand why the browser can't find it when the link is included in a frame, although it CAN find it when you enter the URL into the address bar. Thanks - Rowan
  13. I am developing a website at http://choir-stmaryssaffronwalden.org. Every request to this URL is forwarded by framed forwarding to my web server at sylvesterbradley.org. Links on my web pages don't work. For example, if you go to http://choir-stmaryssaffronwalden.org and then click the Help on this Page button, it correctly goes to the Help page. If you then click on the Login link in the breadcrumb trail, which is a link <a href="http://choir-stmaryssaffronwalden.org/index.php">Login</a>, it just sits there and doesn't do anything. If I enter the linked URL http://choir-stmaryssaffronwalden.org/index.php into a new browser tab, then it works fine. Can you explain why these links are not working? What do I have to do to make my links work correctly in this situation? Many thanks - Rowan
  14. I'm trying to include some images with shadows on the right hand side and bottom in my web sites, like the poster on this page (http://www.grantachorale.org.uk/event027.php), but often the bottom shadow gets cut off, like the lower image on this page (http://www.signuptosing.org/). I've tried many things to fix it, but I can't find a trick that works every time. It must be something to do with the width and height of the image, the width and height of the image with the shadow, and the width and height of the element that the image is inside. Can someone please advise me a reliable way of achieving what I'm trying to achieve? If you think you might know the asnwer and want to see my web pages, please send me an e-mail and I'll send you links to them. I can't find a way of incorporating the links (or even images of them) in this post - it keeps rejecting them beacuse I'm not important enough. Thanks - Rowan

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.