Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)
  • I just tried installing it on 2.8.5 and it’s not working for me, either. All my other plugins work fine, but when I try to activate AMP, it says

    Plugin could not be activated because it triggered a fatal error.

    Warning: require_once(/home/username/public_html/wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /home/username/public_html/wordpress/wp-content/plugins/anarchy_media/anarchy_media_player.php on line 20

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/username/public_html/wp-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/username/public_html/wordpress/wp-content/plugins/anarchy_media/anarchy_media_player.php on line 20

    Lines 19 and 20 of anarchy_media_player.php:

    require_once str_replace($_SERVER['SCRIPT_NAME'], '',
                             $_SERVER['SCRIPT_FILENAME']) . '/wp-config.php';

    This is a Firefox problem, not a WordPress problem. I have it in any rich-text field (WordPress, Gmail, Google Docs) on my work computer (Windows XP), but not on my home computer (Ubuntu). You can’t type an apostrophe ‘ or a slash / because it brings up the find tools.

    You solved it by uninstalling and re-installing Firefox? This did not work for me.

    Thread Starter endolith

    (@endolith)

    Thread Starter endolith

    (@endolith)

    The image is actually resized into the medium and thumbnail sizes at the time that you actually upload it.

    Ok. It should really create the thumbnail and medium size images when you ask it to create them (and allow other sizes on demand), but I understand why it wasn’t working.

    Thread Starter endolith

    (@endolith)

    And now when I try to re-upload them I get an “HTTP error”

    Crunching…
    file1.png
    DismissAn error occurred in the upload. Please try again later.
    Crunching…
    file2.png
    DismissAn error occurred in the upload. Please try again later.

    I am really getting sick of WordPress and all its bugs.

    Thread Starter endolith

    (@endolith)

    No, the original images are 485px × 1360px and 485px × 454px. In “medium” size (Add an Image in the rich text editor, Medium setting, as opposed to Thumbnail or Full size), the images are squished to fit in a 300px × 300px box (106px × 300px and 300px × 280px, respectively). I would rather see 300px × 841px for the first one (constrained only in the width dimension), but trying to change this setting does nothing.

    endolith

    (@endolith)

    Smart quotes are great, and should be on by default, but they should be turned off within code and pre tags, and there should be a tag for turning them off in other situations.

    Thread Starter endolith

    (@endolith)

    Note: When backing up your website as HTML, don’t click “HTML complete”. Just “HTML”, or it overwrites your file paths. :'(

    Thread Starter endolith

    (@endolith)

    …. and most of the posts survived. Some were truncated, but whatever, I made backups.

    Thread Starter endolith

    (@endolith)

    Alright screw it. I only have 12 posts, so I backed up the SQL database, backed up the actual content of the posts by saving them as HTML and copy-pasting them into Google Docs, went through and manually removed any non-ascii characters I could find in the hopes that they will convert without corruption, and now I’m going to use the plugin even though it’s only for old versions of WordPress.

    Thread Starter endolith

    (@endolith)

    Oh wait. phpinfo has mbstring.internal_encoding ISO-8859-1, which is Latin1. Is that the fundamental problem?

    Thread Starter endolith

    (@endolith)

    I tried this plugin on my test installation:

    http://g30rg3x.com/utf8-database-converter/

    but any posts with special characters were destroyed. Are there any other solutions for this? Are there alternatives to WordPress that don’t have problems like this?

    Thread Starter endolith

    (@endolith)

    In a default installation you should have these two lines in your config.php

    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    I do, in wp-config.php

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ”);

    Your DataBase and all your tables should be utf8_general_ci and this is crucial for all of us using other than latin characters. Backup and then read the link i provided you.

    They are not, though, and they are not configured this way by default. Why not? My brand new installation is all latin1_swedish_ci.

    Thread Starter endolith

    (@endolith)

    Go into the wordpress database for the one that you know you have entered multibyte characters and look at the wp_posts table.

    Are they ???? or actual characters?

    They are question marks in the phpMyAdmin display of wp_posts.

    DO you have access to a phpinfo() page?

    If you do have access to a phpinfo page do a search for “mbstring”.. “Multibyte Support” must be enabled.

    ‘–enable-mbstring’ ‘–enable-mbstr-enc-trans’ ‘–enable-mbregex’

    mbstring
    Multibyte Support enabled
    Japanese support enabled
    Simplified chinese support enabled
    Traditional chinese support enabled
    Korean support enabled
    Russian support enabled
    Multibyte (japanese) regex support enabled

    mbstring.internal_encoding ISO-8859-1

    I think the problem is collation. You should have all your DB utf8_general_ci.

    They are apparently set as latin1_swedish_ci by default?

    PS: That might happened because you installed WP via Fantastico.

    Ah, ok.

    So also check you config.php

    What am I checking for?

    Thread Starter endolith

    (@endolith)

    I can access phpMyAdmin, which shows my WordPress databases? I have three installations, including a brand new one, and it lists _wrdp1, _wrdp2, _wrdp3. Inside are “Tables” with “Collations”, some of which are utf8_general_ci and some of which are latin1_swedish_ci. On the brand new installation, they are all latin1_swedish_ci.

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