Forum
Welcome, Guest
Please Login to access forum.
Re:no image:loc on gnews sitemap (1 viewing) 
Go to bottom
TOPIC: Re:no image:loc on gnews sitemap
#5352
biguphosting
Fresh Boarder
Posts: 8
User Offline
Re:no image:loc on gnews sitemap Karma: 0  
I just ran "grep -Ril og:image" and I found

    administrator/components/com_jmap/sql/install.mysql.utf8.sql
    administrator/components/com_jmap/models/ajaxserver.php
    administrator/components/com_jmap/installscript.php
    administrator/components/com_jmap/framework/file/metainfo.php
    administrator/components/com_jmap/views/metainfo/tmpl/default_list.php
    administrator/components/com_jmap/js/metainfo.js
    plugins/system/jmap/jmap.php


And there's a table jmap_metainfo on my database but it's empty.

one of these files tries to pull the info from that table but, as it is empty, throws nothing in return.

How do I make this work?


I'm looking at file administrator/components/com_jmap/framework/file/metainfo.php line 106
Code:

105 // Check if the link as primary key already exists in this table 106 $selectQuery = "SELECT" . $this->dbo->quoteName('id') . 107 "\n FROM " . $this->dbo->quoteName('#__jmap_metainfo') . 108 "\n WHERE" . 109 $this->dbo->quoteName('linkurl') . " = " . $this->dbo->quote($dbRecord[COM_JMAP_METAINFO_LINK]); 110 $linkExists = $this->dbo->setQuery ( $selectQuery )->loadResult(); 111 112 // If the link exists just update it, otherwise insert a new one 113 if($linkExists) { ........
This code isn't running. Table isn't filling, as the query on line 106 isn't being executed. What do I need to do to make this work?
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author
    emo
no image:loc on gnews sitemap
biguphosting
    thread link
thread linkthread link Re:no image:loc on gnews sitemap
John Dagelmore
    thread link
thread linkthread linkthread link Re:no image:loc on gnews sitemap
biguphosting
    thread link
thread linkthread linkthread linkthread link Re:no image:loc on gnews sitemap
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread link Re:no image:loc on gnews sitemap
biguphosting
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:no image:loc on gnews sitemap
biguphosting
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:no image:loc on gnews sitemap
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:no image:loc on gnews sitemap
biguphosting
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:no image:loc on gnews sitemap
John Dagelmore
Go to top