[TH] Custom Fields [Deleted]

@Waindigo , after uninstall this addon I have many server errors

Please Help :cry:

When try to edit any resource i get this error:


Code:
Server Error

Mysqli prepare error: Table 'pijanitv_xenforo2.xf_resource_field_category' doesn't exist

    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
    XenForo_Model->fetchAllKeyed() in XenResource/Model/ResourceField.php at line 78
    XenResource_Model_ResourceField->getResourceFields() in XenResource/Model/ResourceField.php at line 55
    XenResource_Model_ResourceField->getResourceFieldsForEdit() in XenResource/ControllerPublic/Resource.php at line 738
    XenResource_ControllerPublic_Resource->_getResourceAddOrEditResponse() in XenResource/ControllerPublic/Resource.php at line 858
    XenResource_ControllerPublic_Resource->actionEdit() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/pijanitv/public_html/index.php at line 13

In Admin CP I have tons of this errors:

Code:
Server Error Log
Error Info
ErrorException: Undefined index: prefix_cache - library/XenResource/ControllerPublic/Resource.php:493
Generated By: Unknown Account, A moment ago
Stack Trace

#0 /home/pijanitv/public_html/library/XenResource/ControllerPublic/Resource.php(493): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/pijanitv/...', 493, Array)
#1 /home/pijanitv/public_html/library/XenResource/ControllerPublic/Resource.php(155): XenResource_ControllerPublic_Resource->_displayFilterOptions(Array, Array)
#2 /home/pijanitv/public_html/library/*******/SearchResourceName/ControllerPublic/Resource.php(21): XenResource_ControllerPublic_Resource->actionIndex()
#3 /home/pijanitv/public_html/library/*******/FilterResourceAuthor/ControllerPublic/Resource.php(41): *******_SearchResourceName_ControllerPublic_Resource->actionIndex()
#4 /home/pijanitv/public_html/library/*******/ResourcesPagination/ControllerPublic/Resource.php(12): *******_FilterResourceAuthor_ControllerPublic_Resource->actionIndex()
#5 /home/pijanitv/public_html/library/FireDaemon/ResourceManager/ViewCount/ControllerPublic/Resource.php(7): *******_ResourcesPagination_ControllerPublic_Resource->actionIndex()
#6 /home/pijanitv/public_html/library/XenForo/FrontController.php(347): FireDaemon_ResourceManager_ViewCount_ControllerPublic_Resource->actionIndex()
#7 /home/pijanitv/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/pijanitv/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}

Request State

array(3) {
  ["url"] => string(83) "http://www.pijanitvor.com/index.php?resources/&order=rating_weighted&begin=U&page=4"
  ["_GET"] => array(4) {
    ["resources/"] => string(0) ""
    ["order"] => string(15) "rating_weighted"
    ["begin"] => string(1) "U"
    ["page"] => string(1) "4"
  }
  ["_POST"] => array(0) {
  }
}

Code:
Server Error Log
Error Info
ErrorException: Undefined index: featured_count - library/XenResource/Model/Category.php:503
Generated By: Unknown Account, 2 minutes ago
Stack Trace

#0 /home/pijanitv/public_html/library/XenResource/Model/Category.php(503): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/pijanitv/...', 503, Array)
#1 /home/pijanitv/public_html/library/XenResource/Model/Category.php(474): XenResource_Model_Category->_applyRecursiveCountsToGrouped(Array, 0)
#2 /home/pijanitv/public_html/library/XenResource/ControllerPublic/Resource.php(67): XenResource_Model_Category->applyRecursiveCountsToGrouped(Array)
#3 /home/pijanitv/public_html/library/*******/SearchResourceName/ControllerPublic/Resource.php(21): XenResource_ControllerPublic_Resource->actionIndex()
#4 /home/pijanitv/public_html/library/*******/FilterResourceAuthor/ControllerPublic/Resource.php(41): *******_SearchResourceName_ControllerPublic_Resource->actionIndex()
#5 /home/pijanitv/public_html/library/*******/ResourcesPagination/ControllerPublic/Resource.php(12): *******_FilterResourceAuthor_ControllerPublic_Resource->actionIndex()
#6 /home/pijanitv/public_html/library/FireDaemon/ResourceManager/ViewCount/ControllerPublic/Resource.php(7): *******_ResourcesPagination_ControllerPublic_Resource->actionIndex()
#7 /home/pijanitv/public_html/library/XenForo/FrontController.php(347): FireDaemon_ResourceManager_ViewCount_ControllerPublic_Resource->actionIndex()
#8 /home/pijanitv/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/pijanitv/public_html/index.php(13): XenForo_FrontController->run()
#10 {main}

Request State

array(3) {
  ["url"] => string(83) "http://www.pijanitvor.com/index.php?resources/&order=download_count&begin=E&page=20"
  ["_GET"] => array(4) {
    ["resources/"] => string(0) ""
    ["order"] => string(14) "download_count"
    ["begin"] => string(1) "E"
    ["page"] => string(2) "20"
  }
  ["_POST"] => array(0) {
  }
}


Code:
Server Error Log
Error Info
ErrorException: Undefined index: featured_count - library/XenResource/ControllerPublic/Resource.php:89
Generated By: Unknown Account, A moment ago
Stack Trace

#0 /home/pijanitv/public_html/library/XenResource/ControllerPublic/Resource.php(89): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/pijanitv/...', 89, Array)
#1 /home/pijanitv/public_html/library/*******/SearchResourceName/ControllerPublic/Resource.php(21): XenResource_ControllerPublic_Resource->actionIndex()
#2 /home/pijanitv/public_html/library/*******/FilterResourceAuthor/ControllerPublic/Resource.php(41): *******_SearchResourceName_ControllerPublic_Resource->actionIndex()
#3 /home/pijanitv/public_html/library/*******/ResourcesPagination/ControllerPublic/Resource.php(12): *******_FilterResourceAuthor_ControllerPublic_Resource->actionIndex()
#4 /home/pijanitv/public_html/library/FireDaemon/ResourceManager/ViewCount/ControllerPublic/Resource.php(7): *******_ResourcesPagination_ControllerPublic_Resource->actionIndex()
#5 /home/pijanitv/public_html/library/XenForo/FrontController.php(347): FireDaemon_ResourceManager_ViewCount_ControllerPublic_Resource->actionIndex()
#6 /home/pijanitv/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/pijanitv/public_html/index.php(13): XenForo_FrontController->run()
#8 {main}

Request State

array(3) {
  ["url"] => string(83) "http://www.pijanitvor.com/index.php?resources/&order=rating_weighted&begin=U&page=4"
  ["_GET"] => array(4) {
    ["resources/"] => string(0) ""
    ["order"] => string(15) "rating_weighted"
    ["begin"] => string(1) "U"
    ["page"] => string(1) "4"
  }
  ["_POST"] => array(0) {
  }
}



Still, I am waiting for new version of this Mod couse, like you said to me in PM, you have to make better uninstalling code couse this mode in uninstalling process delete some database rows of default official Xenforo Resource manager Mod.

hi have the same error when i uninstall ! all my resource prefix and icons are deletet , i cant edit any Ressource …. i hope he will bring out a fix ! i will deinstall the addon
 
@Waindigo

when i deinstall your addon , he is deleting my ressource prefix and my ressource icons, and its deleting in the mysql some tables : xf_resource_field', xf_resource_field_category, xf_resource_field_group, xf_ressource_prefix
 
@Sunka what do you did after deinstall ???
Like you said, uninstall code is bad couse it deleted some original database fields. @Waindigo said to me that for now only solution is to install add on one more time (if you uninstalled first) and then disable it. From then, 2 updates rised, but uninstall code is still unchanged and it is very bad couse it makes official xenforo add on ruined and disfunctional.
 
Does someone else have the same problem when you search for a custom field on advanced search?

"Please specify a search query or the name of a member."

It doesn't accept my entry for the custom field, I also must put a entry for the keyword (normal search) or give a user name.
 
Does someone else have the same problem when you search for a custom field on advanced search?

"Please specify a search query or the name of a member."

It doesn't accept my entry for the custom field, I also must put a entry for the keyword (normal search) or give a user name.

I think you also need to install Waindigo's search add-on - it will allow you to have zero input in the search query field.
 
  • Like
Reactions: sbj
I think you also need to install Waindigo's search add-on - it will allow you to have zero input in the search query field.
God be with you, thanks so much. I disabled all of my add-ons to see which one interferes with this add-on and I couldn't find what the problem is. Didn't think about installing a new add-on to solve the problem.
For all people, you need this add-on also installed.
 
@all
Is someone interested in enhancing this add-on and want to share the costs with me? You can pm me for more information.
 
Posting would transition from something like this:
2IfINrA.jpg


To this:
APIePQv.jpg



Edit: On a side note, I don't seem to be able to edit any of my custom fields.

Edit2: In fact, if I edit the post, it seems to clear all of the fields that I had previously saved, and as a result, they no longer show up.

wow :) help me change?
 
Is it possible to insert the value of the custom fields directly into the body of the post rather than displaying it above or below the post? For example, any values from the custom fields will not show in RSS.
Thanks
 
Is it possible to insert the value of the custom fields directly into the body of the post rather than displaying it above or below the post? For example, any values from the custom fields will not show in RSS.
Thanks
This is not possible, I can understand how the fields not appearing in the RSS feed can be problematic, this can possibly be added to the feed. Please contact me via PM at waindigo.org if you would like to contribute to add this feature.
 
hi have the same error when i uninstall ! all my resource prefix and icons are deletet , i cant edit any Ressource …. i hope he will bring out a fix ! i will deinstall the addon

@Sunka what do you did after deinstall ???

@Waindigo

when i deinstall your addon , he is deleting my ressource prefix and my ressource icons, and its deleting in the mysql some tables : xf_resource_field', xf_resource_field_category, xf_resource_field_group, xf_ressource_prefix

Like you said, uninstall code is bad couse it deleted some original database fields. @Waindigo said to me that for now only solution is to install add on one more time (if you uninstalled first) and then disable it. From then, 2 updates rised, but uninstall code is still unchanged and it is very bad couse it makes official xenforo add on ruined and disfunctional.

@Waindigo - any news about new uninstall code?
It is not good that uninstalling add-on produce unfunctional default xenforo add-on. Sorry, but I have to say that silence about that on your side is not good for your reputation, nor official silence about that (@Mike @Kier) is good.
Now my situation is to have your add-on installed and disabled, and I can not uninstalling him. I posted here about that problem in August, 3 months later nothing new, just silence. Many users have this add-on installed, and anyone who also have installed Resources add-on, will have same problems and errors in situation that he want to uninstall your add-on, this add-on.

My posts about this problem:
 
@Waindigo - any news about new uninstall code?
It is not good that uninstalling add-on produce unfunctional default xenforo add-on. Sorry, but I have to say that silence about that on your side is not good for your reputation, nor official silence about that (@Mike @Kier) is good.
Now my situation is to have your add-on installed and disabled, and I can not uninstalling him. I posted here about that problem in August, 3 months later nothing new, just silence. Many users have this add-on installed, and anyone who also have installed Resources add-on, will have same problems and errors in situation that he want to uninstall your add-on, this add-on.

My posts about this problem:
the same question
 
@Waindigo - after last update, and then uninstall add-on, same error.
When you try to edit resource and save prefix or when you try to edit resource prefixes in ACP, error show up.

Code:
Mysqli prepare error: Unknown column 'prefix_id' in 'field list'

    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632
    Zend_Db_Adapter_Abstract->update() in XenForo/DataWriter.php at line 1640
    XenForo_DataWriter->_update() in XenForo/DataWriter.php at line 1609
    XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1405
    XenForo_DataWriter->save() in XenResource/ControllerPublic/Resource.php at line 1086
    XenResource_ControllerPublic_Resource->actionSave() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/pijanitv/public_html/index.php at line 13
 
Code:
The following error occurred:
Mysqli prepare error: Unknown column 'prefix_cache' in 'field list'

    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632
    Zend_Db_Adapter_Abstract->update() in XenResource/Model/Prefix.php at line 461
    XenResource_Model_Prefix->rebuildPrefixCategoryAssociationCache() in XenResource/Model/Prefix.php at line 392
    XenResource_Model_Prefix->updatePrefixCategoryAssociationByPrefix() in XenResource/ControllerAdmin/Prefix.php at line 156
    XenResource_ControllerAdmin_Prefix->actionSave() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/pijanitv/public_html/admin.php at line 13
 
Top Bottom