Forum Replies Created

Viewing 15 replies - 1 through 15 (of 28 total)
  • Thread Starter Frances Allen

    (@frances-allen)

    Since my last message I have tried installing classic editor. The post page is different. There is still no + when I insert a paragraph, but at least there is a button I can click and the envira gallery appears in the right place.

    I notice there is now a deprecated message, so maybe the problem is with the theme’s interaction with the upgraded wp? /home/francesa/public_html/wp/wp-includes/functions.php?

    Thread Starter Frances Allen

    (@frances-allen)

    Yes, the + button has disappeared from every place where it is normally displayed.

    I tried deactivating all plugins (except envira related) and got a message that my site doesn’t include support for the “tadv/classic-paragraph” block.

    I hope this Imgur link works (1st time using site): https://imgur.com/a/GJwc77T

    Forum: Fixing WordPress
    In reply to: js problems
    Thread Starter Frances Allen

    (@frances-allen)

    Thank you Steve, how right you were.
    First the problems with Envira and customising a theme were resolved by the web host changing the PHP version from 5.6 (native) to 5.6, increasing the PHP limits for my account, and disabling a few rules of ModSecurity whatever that might be.
    Then this evening the original problem of the Visual Editor not working and bizarre things happening when trying to switch between Text and Visual Editor has been cracked by deactivating Cloudflare.
    I did appreciate your intervention, Steve, at a moment when I was despairing of wordpress behaving properly again. A great forum.

    Thread Starter Frances Allen

    (@frances-allen)

    Just to let people know, the problem has been resolved. After lengthy exchanges of emails with the support team for my web hosts, they advised me to try deactivating Cloudflare.
    It worked. Phew, I have got back properly functioning Text and Visual editors again. Thank you to those who offered help on this forum. I appreciated this generous support.

    Forum: Fixing WordPress
    In reply to: js problems
    Thread Starter Frances Allen

    (@frances-allen)

    My .htaccess file says:

    # BEGIN WordPress
    
    # WPhtc: Begin Custom htaccess
    php_value max_input_vars 2000
    # WPhtc: End Custom htaccess
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>
    
    # END WordPress

    Sorry, not quite sure what the httpd config files are?

    I meant to thank you earlier for being kind enough to look at my problems.

    Forum: Fixing WordPress
    In reply to: js problems
    Thread Starter Frances Allen

    (@frances-allen)

    I’ve checked backwards: ui , jquery , js , wp-includes
    They are all 755

    Forum: Fixing WordPress
    In reply to: js problems
    Thread Starter Frances Allen

    (@frances-allen)

    The permissions for wp-includes/js/jquery/ui/mouse.min.js are 644, ie rw-r–r–

    The owner and group are francesa (ie me

    The wordpress site is hosted on Greengeeks. The reason I kept talking about the Mac and iPad was in case the problem was not with my wp site n https://www.francesallen.com, but with my devices.

    Thread Starter Frances Allen

    (@frances-allen)

    I have tinymce.min.js (not tiny_mc.js) and wp-tinymce.php (not tinymce.php).
    Here are the latest errors that come up when I open a post to edit.
    I have now updated wp 4.7.5. (GB version) twice. I have changed to the theme 2016. I have deactivated and reactivated plugins many times. I have added define('CONCATENATE_SCRIPTS', false ); to wp-config.php. It looks to me as if file permissions are OK (eg mouse.min.js is 644).

    Before all this started I had been doing nothing other than writing the odd blog post, Now I see the probem is more widespread than visual editor. I can’t upload images to envira gallery as half the buttons are invisible or not working! I’m sure the two problems are related. I could sure do with some ideas.

    • This reply was modified 7 years, 6 months ago by Frances Allen.
    Thread Starter Frances Allen

    (@frances-allen)

    Dumb me! Sorry, that shows you the level of my competence.
    OK I have retried with https://francesallen.com/wp/wp-includes/js/tinymce/tiny_mce.js (my wp is in a folder, not at top level) and got file not found.
    This is not surprising because I see that there is no such file in the tinymce folder. I downloaded a fresh copy of the folder this morning and this is what it contains Hopefully I downloaded the correct folder?

    Thread Starter Frances Allen

    (@frances-allen)

    Ahir
    I’ve just clicked on the link https://example.com/wp-includes/js/tinymce/tiny_mce.js as you suggested and di inded get the attached error message, which means absolutely nothing to me.

    I dont understand if there is a directory example.com on my site – I dont see to have this. Don’t know whether it makes any difference that my wp files are not at the top level, ie they are at https://francesallen.com/wp/

    Anyhow, here are the errors in case you can throw light on what to do next.errors

    • This reply was modified 7 years, 6 months ago by Frances Allen.
    Thread Starter Frances Allen

    (@frances-allen)

    Thank you.
    I had already added the line to wp-config.
    There are no stray .htaccess files in wp-includes.
    However, I dont really understand what to do with your second point. If I click on this link it simply downloads tiny_mce.js to my Mac.

    Any more advice what I should do? This is driving me nuts. I have no interest or skill in looking inside the works. I just want wp to work as it has, smoothly, for over two years.

    • This reply was modified 7 years, 6 months ago by Frances Allen.
    Thread Starter Frances Allen

    (@frances-allen)

    Thank you for this suggestion – and for very helpfully telling me where to go.
    I’ve reinstalled. The problem is still there. Clicking on the visual button does nothing. However, I do notice that if I go back to text, this still works, whereas earlier trying visual and then returning to text meant neither worked.

    Any more suggestions guys?

    Thread Starter Frances Allen

    (@frances-allen)

    Still looking for someone to help me getthe next/previous links to work for my blog archive (which unlike the current blog is ascending).

    I assume I need to insert code such as
    `<?php previous_post_link(); ?> ? <?php next_post_link(); ?>’

    But where?

    I use the Chunk theme and in the Chunk-Child folder I have the following files:
    blog-archive page using Custom Archives,
    page_archives_custom.php
    fullwidthtemplate.php
    functions.php

    My site is https://www.francesallen.com

    Thread Starter Frances Allen

    (@frances-allen)

    So functions is now:

    <?php
    
    // Runs before the posts are fetched
    add_filter( 'pre_get_posts' , 'my_change_order' );
    // Function accepting current query
    function my_change_order( $query ) {
    	// Check if the query is for an archive
    	if($query->is_archive)
    		// Query was for archive, then set order
    		$query->set( 'order' , 'asc' );
    	// Return the query (else there's no more query, oops!)
    	return $query;
    }
    
    ?>

    Thread Starter Frances Allen

    (@frances-allen)

    I think I have found the culprit, without understanding why. The original version of functions also had the following lines:

    add_action('parse_query', 'no_nopaging');

    I removed these and all seems to be OK.

    Thank you for taking the time to tryto help me

Viewing 15 replies - 1 through 15 (of 28 total)