+ Post New Thread
Results 1 to 1 of 1

Thread: OnArcade script error: href URL is not properly formatted

  1. #1
    Join Date
    Mar 2013

    OnArcade script error: href URL is not properly formatted

    I i had little issue with my onarcade site

    in place where game comments should appear (game page) was a text "href URL is not properly formatted".

    OnArcade script support helped me to solve this.
    He wanted to see this file: templates/mytemplatename/file.php
    Then the cause was Facebook comments. I needed to replace this:

    <div class="fb-comments" data-href="{$_SERVER['REQUEST_URI']}" data-num-posts="5" data-width="359"></div>

    by this:

    <div class="fb-comments" data-href="{$file['url']}" data-num-posts="5" data-width="359"></div>

    Also i had some issue with permissions, because it dont wanted to save the file into cache, so i had to change file.php permissions to 777 and also cache_template folder and its files to 777
    and it was solved.
    Last edited by Fli; 06-12-2024 at 06:22 PM.

+ Post New Thread

Similar Threads

  1. How do you scale properly on facebook?
    By lovevashikaran in forum SEO - Search Engine Optimisation
    Replies: 0
    Last Post: 05-11-2019, 06:55 AM
  2. Replies: 0
    Last Post: 11-27-2017, 09:04 PM
  3. How to properly add subdomain in zPanel
    By Fli in forum MySQL, Apache, PHP
    Replies: 1
    Last Post: 05-19-2016, 06:30 AM
  4. Replies: 0
    Last Post: 09-28-2014, 08:34 AM
  5. onArcade script short game description and how to fix
    By Fli in forum General Webmaster Discussion
    Replies: 0
    Last Post: 10-26-2013, 09:53 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
 Protected by : ZB BLOCK  &  StopForumSpam