Link Directory (LD) [Deleted]

Get this error on install.

Code:
ErrorException: Fatal Error: Call to undefined method phc_LinkDirectory_Helper_Helper::sendScreenshot() - library/phc/LinkDirectory/CronEntry/LDScreenshot.php:30
Generated By: Unknown Account, 2 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(42) "https://www.mydomain.com/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(19) "/admin.php?add-ons/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
which version?
 
Minor issue ... I have "Position in the navigation" @ /admin.php?options/list/phc_linkdirectory set to 'Middle' but it's now moved the navigation entry from the middle to immediately after 'Forums'

Screen Shot 2016-01-20 at 11.26.50.webp
 
Trying to understand VIP links ....
1. 'VIP Group' @ /admin.php?options/list/phc_linkdirectory vs User Group Permission 'Can bumb Links' - these would appear to achieve the same thing?
2. How can an Admin/Moderator bump/VIP a link? Doesn't appear to be any method to do so, despite having 'Can bumb Links' permission.
 
First this error when try to install to newest (2.0) version:
Code:
Callback phc_LinkDirectory_Listener_Listener::template_post_render is invalid (Invalid Method).

And when try to update again shows this:
Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate column name 'logo_file_date' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Sunka, 1 minute ago
Stack Trace
#0 /home/nginx/domains/pijanitvor.com/public/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/nginx/domains/pijanitvor.com/public/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/nginx/domains/pijanitvor.com/public/library/phc/LinkDirectory/Install/19772000.php(127): Zend_Db_Adapter_Abstract->query('ALTER TABLE  `p...')
#3 /home/nginx/domains/pijanitvor.com/public/library/phc/LinkDirectory/Install.php(165): phc_LinkDirectory_Install_19772000->install(19770051)
#4 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Model/AddOn.php(211): phc_LinkDirectory_Install::Install(Array, Array, Object(SimpleXMLElement))
#5 /home/nginx/domains/pijanitvor.com/public/library/ConvEss/Model/AddOn.php(24): XenForo_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'phc_LinkDirecto...')
#6 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Model/AddOn.php(169): ConvEss_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'phc_LinkDirecto...')
#7 /home/nginx/domains/pijanitvor.com/public/library/XenForo/ControllerAdmin/AddOn.php(237): XenForo_Model_AddOn->installAddOnXmlFromFile('/tmp/phpYCA0H9', 'phc_LinkDirecto...')
#8 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_AddOn->actionUpgrade()
#9 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/nginx/domains/pijanitvor.com/public/admin.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(70) "https://www.pijanitvor.com/admin.php?add-ons/phc_LinkDirectory/upgrade"
  ["_GET"] => array(1) {
    ["add-ons/phc_LinkDirectory/upgrade"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["server_file"] => string(0) ""
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
Last edited:
Couple of questions on the sidebar ...

Screen Shot 2016-01-20 at 11.46.24.webp

1. With collapsed categories, when I click on the expand link [+] they are not expanding. Working @ xendmade.com though, so not sure why wouldn't be working on my site?

2. With collapsed categories active, I think the link count displayed should be the sum total including those in all sub-categories. Looks like they contain far less links otherwise.

3. Is there Style Properties I can set to darken the sidebar headings ("Categories", "Top Links") and add a slight background colour to them? My theme's properties appear to be different than default here.
 
tried installing the new version several times. no luck. get this error.

I'm on latest XF.

Code:
Server Error

Mysqli statement execute error : Duplicate column name 'logo_file_date'

    Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
    Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
    Zend_Db_Adapter_Abstract->query() in phc/LinkDirectory/Install/19772000.php at line 127
    phc_LinkDirectory_Install_19772000->install() in phc/LinkDirectory/Install.php at line 165
    phc_LinkDirectory_Install::Install()
    call_user_func() in XenForo/Model/AddOn.php at line 215
    XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
    XenForo_Model_AddOn->installAddOnXmlFromFile() in AddOnInstaller/ControllerAdmin/AddOn.php at line 32
    AddOnInstaller_ControllerAdmin_AddOn->actionInstallUpgrade() in XenForo/FrontController.php at line 351
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/my path and domain.com/admin.php at line 13
 
3. Is there Style Properties I can set to darken the sidebar headings ("Categories", "Top Links") and add a slight background colour to them? My theme's properties appear to be different than default here.

just add a "background color" to your extra.css:

.linkListSidebar h3 {
background: #cd313b;
border-bottom: 1px solid #fafafa;
color: #e7e7e7;
font-size: 12pt;
margin-bottom: 5px;
padding-bottom: 2px;
}
 
@au lait
Critical error, causing /reports/ to error and not load ...
Code:
ErrorException: Fatal Error: Cannot redeclare class phc_LinkDirectory_ReportHandler_Links -library/phc/LinkDirectory/ReportHandler/LD.php:0

Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(32) "/reports/"
  ["_GET"] => array(1) {
    ["/reports/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Code:
Server Error Log
Error Info
ErrorException: Undefined index: scheme - library/XenForo/Helper/Http.php:35

Stack Trace
#0 library/XenForo/Helper/Http.php(35): XenForo_Application::handlePhpError(8, 'Undefined index...', '...', 35, Array)
#1 library/XenForo/Helper/Http.php(18): XenForo_Helper_Http::getExtraHttpClientOptions('www.tyrewarmers...')
#2 library/phc/LinkDirectory/Helper/URL.php(70): XenForo_Helper_Http::getClient('www.tyrewarmers...', Array)
#3 library/phc/LinkDirectory/CronEntry/Cron.php(52): phc_LinkDirectory_Helper_URL->fetchPageData('www.tyrewarmers...')
#4 [internal function]: phc_LinkDirectory_CronEntry_Cron::runLinksCheck(Array)
#5 library/XenForo/Model/Cron.php(357): call_user_func(Array, Array)
#6 library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#7 library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 7.9977540969849, '')
#8 library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9977540969849, '', false)
#9 library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 deferred.php(23): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
  ["url"] => string(36) "/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(10) "/admin.php"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Scenario: Editing an existing link that doesn't have an image, choosing/defaulting OG:Image, and submitting.
If the site does not have an og:image meta in its source, then you get;
Code:
Please correct the following errors:
1. Image: malformed
 
Scenario: Editing an existing link that doesn't have an image, choosing/defaulting OG:Image, and submitting.
If the site does not have an og:image meta in its source, then you get;
Code:
Please correct the following errors:
1. Image: malformed

I guess this is because there is no "og:image" at the source-website available.
This is the normal behaviour, when no "og:image" is being found.
 
Last edited:
I guess this is because there is no "og:image" at the source-website available.
This is the normal behaviour, when no "og:image" is being found.
Yeah, but rather than asking me to correct the error and that it's malformed it should probably be informative and advise that the URL server is not providing og:image?
 
tried installing the new version several times. no luck. get this error.

I'm on latest XF.

Code:
Server Error

Mysqli statement execute error : Duplicate column name 'logo_file_date'

    Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
    Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
    Zend_Db_Adapter_Abstract->query() in phc/LinkDirectory/Install/19772000.php at line 127
    phc_LinkDirectory_Install_19772000->install() in phc/LinkDirectory/Install.php at line 165
    phc_LinkDirectory_Install::Install()
    call_user_func() in XenForo/Model/AddOn.php at line 215
    XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
    XenForo_Model_AddOn->installAddOnXmlFromFile() in AddOnInstaller/ControllerAdmin/AddOn.php at line 32
    AddOnInstaller_ControllerAdmin_AddOn->actionInstallUpgrade() in XenForo/FrontController.php at line 351
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/my path and domain.com/admin.php at line 13

Confirmed. Received the same error on first-time install.
 
Back
Top Bottom