• Resolved antonstepichev

    (@antonstepichev)


    Hello, David!
    Thank you for your powerful plug-in, but its power seems too much for such an unexperienced WP user like me) – I have strange “404 not found” tag cloud problem and can not resolve it – your kind suggestions and supportive links above does not help.

    When i use the code (mbruxelle’s working example: [mla_tag_cloud taxonomy=attachment_tag number=0 limit=10 mla_link_href=”/gal/?current_id={+term_id+}”]), i see a list of tags on resulting page. On tag mouse over i see “20 tags”, Mozilla shows “www.domenname/”gal/?current_id=36″” at the left bottom. When i click any tag i see “Not Found
    The requested URL /a€?/gal/ was not found on this server.”
    Note strange prefix “a€?” – it looks like a bug.

    When i use another code example from MLA support:
    [mla_tag_cloud]
    taxonomy=attachment_tag
    mla_link_href=”{+page_url+}?current_id={+term_id+}&mla_cloud_current={+request:mla_cloud_current+}”
    [/mla_tag_cloud]
    [mla_gallery]
    attachment_tag=”{+template:({+request:term_slug+}|a-bad-term)+}”
    [/mla_gallery]
    I also see a list of tags on resulting page. On tag mouse over i see “20 tags”, Mozilla shows “www.domenname/?page_id=174?current_id=36&mla_cloud_current=” link at the left bottom. When i click any tag on the page, it reloads but instead of gallery i see the same list of tags.

    I tried some other working examples from solved topics of MLA support – no success.
    I changed themes several times, even use 2012 with your child theme and three custom PHPs you suggested – no result.
    Dis-activating all plug-ins except MLA does not help too.

    I gave up at last and need your help.

    ==================================================
    David Lingren wrote:

    Thanks for your question and for your patience in awaiting my reply (I am traveling and have limited Internet access).

    Thanks as well for including the complete text of your shortcode; very helpful.

    It looks like your problem is caused by “smart quotes”/”curly quotes” in the shortcode text; often from copy/paste of a support topic. Be sure you use the “Text” tab, not the “Visual” tab in the WordPress editor and replace all of the curly-quote marks with plain-text quote marks. That’s why Mozilla shows the quotes before the “www.” and the strange prefix in your URL.

    I can’t test your shortcode while I am on the road, but if you carefully remove all the odd characters and quotes you should have better results. If that does not solve your problem it would be best to open a new support topic of your own so I can give you more specific help. Thanks for your interest in the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter antonstepichev

    (@antonstepichev)

    Hello David!
    Yes, you were right. When I manually replaced all curly quotes with plain-text quotes, the “404 page not found problem” was solved. Thanks!

    Unfortunately, my Gallery still does not work with Tagcloud.
    In first example the Gallery page is loading successfully now, but remains empty.

    First example tag page code:
    [mla_tag_cloud taxonomy=attachment_tag number=0 limit=10 mla_link_href=”/gal/?current_id={+term_id+}”]
    First example gallery page (/gal) code:
    [mla_gallery]
    post_mime_type=all
    tax_query= “array ( 0 => array ( ‘taxonomy’ => ‘attachment_tag’, ‘field’ => ‘id’, ‘terms’ => array( {+request:current_id+} ), ‘include_children’ => false ) )”
    mla_caption=”{+title+}”
    columns=1 posts_per_page=5 size=large link=none
    [/mla_gallery]

    Second example behaves the same way:

    [mla_tag_cloud]
    taxonomy=attachment_tag
    mla_link_href=”{+page_url+}?current_id={+term_id+}&mla_cloud_current={+request:mla_cloud_current+}”
    [/mla_tag_cloud]
    [mla_gallery]
    attachment_tag=”{+template:({+request:term_slug+}|a-bad-term)+}”
    [/mla_gallery]
    I see a list of tags on resulting page. On tag mouse over i see “20 tags”, Mozilla shows “www.domenname/?page_id=174?current_id=36&mla_cloud_current=” link at the left bottom. When i click any tag on the page, it reloads but instead of gallery i see the same list of tags.

    David, I apologize for I bothered you on your vocations. There is no need in answering before you come back. Have a good traveling!

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update and for the good news on your progress. Thanks as well for your patience in awaiting my reply. Rest assured that it was no bother at all to get your earlier messages while I was on the road.

    I entered your first example in my test system and it is working fine there. You wrote that your second example shows “https://www.domenname/?page_id=174?current_id=36” This implies that your Permalink Settings are set to “Plain”, which might explain the problem. If you go to the Settings/Permalinks screen and change your Permalink Settings to, for example, “Post name” your first example should work.

    You can fix the second example without changing your Permalinks setting. Look carefully at the “?page_id=174?current_id=36” part of your example. Plain permalinks append ?page_id= to the site’s base URL as a query argument. Your example has a second question mark, ?current_id=36. If you change the second question mark to an ampersand you should get better results. Try something like:

    
    [mla_tag_cloud]
    taxonomy=attachment_tag
    mla_link_href="{+page_url+}&current_id={+term_id+}
    [/mla_tag_cloud]
    

    Your tag cloud is not paginated, so the mla_cloud_current parameter is not required.

    I am marking this topic resolved, but please update it if you have any problems or further questions regarding the above suggestions.

    Thread Starter antonstepichev

    (@antonstepichev)

    Everything works fine, THANK YOU!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘strange “404 not found” and tagcloud issue’ is closed to new replies.