Forum Replies Created

Viewing 15 replies - 1 through 15 (of 106 total)
  • Thread Starter londonnet

    (@londonnet)

    I read how wordpress multi site is installed these days and it looks like sunrise.php which appears to be responsible for the domain mapping part of multisite is no longer needed

    I removed /*define( ‘SUNRISE’, ‘on’ );

    and added define(‘COOKIE_DOMAIN’, $_SERVER[‘HTTP_HOST’] );

    to wp-config.php and now all appears to be running well other than I need to update my host so it has later versions of PHP so I can update my plugins

    Thanks for the help

    londonnet

    (@londonnet)

    Hey, this helped me get the admin and the main site backup but I still get the same fatel error for all the subsites.

    Is there a second step for getting this working with sunrise.php and multisite?

    Thanks

    Thread Starter londonnet

    (@londonnet)

    OK so I found on another post that the sunrise.php file and the fact I’m running multisite and domain redirect is playing a part in this. I have updated the sunrise.php with the below and this has at least allowed me to get into the main site and the admin screen.

    Old one (line 10 or 11):

    $dm_domain = $wpdb->escape( $_SERVER[ 'HTTP_HOST' ] );

    New one:

    $dm_domain = $_SERVER[ 'HTTP_HOST' ];

    I’ve been able to update the plugins used and the themes. 4 of the ones I’m not using are complaining of needing php 7.4. Nothing I can do about that till I rebuild the OS so I” remove those plugins for now

    However, I can not access any of the sub domains or sites and they all present the original critical error as before.

    Thread Starter londonnet

    (@londonnet)

    Does it actually need to be a child theme? I can see I can move the Site title and the site description around and position where I like. Can I add extra lines of text?

    Can I put a shortcut to my simple one field form in there and have it display the simple form?

    I think what I am asking to do is simple but I don’t understand why the feels complicated to achieve

    Thread Starter londonnet

    (@londonnet)

    Is anyone interested in being paid to develop extra templates?

    It’s not a skill I have

    Or is there a tutorial which can explain how I can write them myself?

    Any help is gratefully received

    Thread Starter londonnet

    (@londonnet)

    Hi community. Has anyone written any extra templates they are happy to share that may provide a simple submit at the end of a text box?

    Any support would be very appreciated. Thanks

    Thread Starter londonnet

    (@londonnet)

    Does anyone know if it is possible to put a widget or a text box or as I really want to achieve a small form on top of the header image?

    Perhaps I need to use a different theame.

    I’m keen to use this theame because it has great comparability with plugins.

    Any suggestions welcome. Thanks

    Thread Starter londonnet

    (@londonnet)

    I’ve tried twenty sixteen as a test and the performance was the same, switched back to twenty seventeen and now its super fast!!!!

    No idea what the bug was but it’s gone

    Thread Starter londonnet

    (@londonnet)

    Ahh OK got it.

    Thanks for the support. much appreciated

    Thread Starter londonnet

    (@londonnet)

    Many thanks for the support. I have implemented that and it works well.

    One quick question. Is it possible for the text to disappear the second the field is clicked rather than when you start typing?

    Thanks

    Thread Starter londonnet

    (@londonnet)

    Thanks for the link. I’ll take a look and see what I am blocking.

    Just so I know for sure. Which log file does the plugin write to?

    Thanks again for your help

    Thread Starter londonnet

    (@londonnet)

    OK, so I have found the issue. I have a firewall rule which is blocking traffic to and from a set of subnets out on the internet who were attempting to gain access ect. It looks like the plugin (Google) maybe trying to connect to something in that subnet.

    I’m not surprised, the subnets I am blocking are pretty big.

    Do you know what the plugin is trying to connect to?

    Thanks for your support. The last bit of information helped me to find what I was looking for. If it’s easy perhaps the plugin can generate an error message to say it is unable to connect to resource it needs.

    Regards

    Thread Starter londonnet

    (@londonnet)

    Yes if I disable the recapcha plugin the built in math capcha works just fine on any screen size.

    So the clue here must be that there is an issue perhaps with the theme I am using and the recapcha plugin???

    I’ll try another theme and see if that makes a diference

    Thread Starter londonnet

    (@londonnet)

    OK I get the same result if I use the internal math captcha and nothing in the logs.

    However If I change the window size The captcha functions more normally although unless my maths is shocking it is unable to read a correct answer and move on, it keeps asking for a new maths question. Go back to full size and we get a time out and http 500

    Thread Starter londonnet

    (@londonnet)

    I’ve checked my firewall config and there is nothing restrictive there.
    I have implemented the built in math captcha and I get the same result.

    I submit the answer and then there is a few second wait and then a timeout and HTTP 500 error with nothing hitting the logs

    So I have changed the logging level on httpd and now get the following

    Error

    [Thu Jul 27 10:30:02 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 63593 to 20178 : URL /index.php
    [Thu Jul 27 10:30:03 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 0 to 2 : URL /index.php, referer: http://site.com/
    [Thu Jul 27 10:30:24 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 63760 to 20260 : URL /index.php, referer: http://site.com/
    [Thu Jul 27 10:30:24 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 0 to 2 : URL /index.php, referer: http://site.com/
    [Thu Jul 27 10:30:34 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 47 to 49 : URL /wp-admin/admin-ajax.php, referer: http://site.com/wp-admin/admin.php?page=participants-database-manage_fields
    [Thu Jul 27 10:30:48 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 63764 to 20258 : URL /index.php, referer: http://site.com/
    [Thu Jul 27 10:30:48 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 0 to 2 : URL /index.php, referer: http://site.com/
    [Thu Jul 27 10:31:08 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 63761 to 20257 : URL /index.php, referer: http://site.com/
    [Thu Jul 27 10:31:08 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 0 to 2 : URL /index.php, referer: http://site.com/
    [Thu Jul 27 10:31:25 2017] [debug] mod_deflate.c(687): [client x.x.x.x] Zlib: Compressed 0 to 2 : URL /index.php, referer: http://site.com/

    Access

    x.x.x.x - - [27/Jul/2017:10:36:14 +0100] "GET / HTTP/1.1" 200 20195 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
    x.x.x.x - - [27/Jul/2017:10:36:27 +0100] "GET /?dm=4b898bea6ebcb95a7966fbf94c19186a&action=load&blogid=18&siteid=1&t=1776983260&back=http%3A%2F%2Fsite.com%2F HTTP/1.1" 200 20 "http://site.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
    172.16.10.91 - - [27/Jul/2017:10:36:27 +0100] "POST /wp-cron.php?doing_wp_cron=1501148187.2899420261383056640625 HTTP/1.1" 200 20 "http://mainsite.com/wp-cron.php?doing_wp_cron=1501148187.2899420261383056640625" "WordPress/4.8; http://mainsite.com"
    x.x.x.x - - [27/Jul/2017:10:36:49 +0100] "POST / HTTP/1.1" 500 20 "http://site.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
    x.x.x.x - - [27/Jul/2017:10:37:30 +0100] "-" 408 - "-" "-"

    Changing the size of the screen also looks like it makes a difference

    • This reply was modified 6 years, 9 months ago by londonnet.
Viewing 15 replies - 1 through 15 (of 106 total)