We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26503
    • 620 Posts
    getting an error in advanced search,

    here is the queryhook data getting passed to the script
    
    Array ( 
    	[version] => 1.2 
        [main] => Array ( 
        	[package] => extdata 
            [packagePath] => {core_path}components/extdata/controllers/ 
            [class] => ArtistAttributes
             ) 
         )
    


    the error it is returning [in the logs]

    
    (ERROR @ /index.php) ArtistAttributes::getSelectColumns() is not a valid static method.
    (ERROR @ /index.php) No class specified for loadClass
    (ERROR @ /index.php) Could not load class
    (ERROR @ /index.php) No class specified for loadClass
    (ERROR @ /index.php) Could not load class !
    (ERROR @ /index.php) No class specified for loadClass
    (ERROR @ /index.php) No class specified for loadClass
    (ERROR @ /index.php) Could not load class: ArtistAttributes from mysql.artistattributes.
    (ERROR @ /index.php) Could not load class: ArtistAttributes from mysql.artistattributes.
    (ERROR @ /index.php) Could not load class ArtistAttributes
    
    


    the schema for that table:

    
    <model package="extdata" baseClass="xPDOObject" platform="mysql" defaultEngine="MyISAM" version="1.1">
    
    	<!-- artist table definition related -->
    	<object class="ArtistAttributes" table="artist_attributes" extends="xPDOSimpleObject">
    		<field key="userkey" dbtype="int" precision="10" attributes="unsigned" phptype="integer" null="false" default="" />
    		<field key="title" dbtype="varchar" precision="255" phptype="string" null="true" />
    		<field key="banner" dbtype="varchar" precision="255" phptype="string" null="true" />
    		<field key="bio" dbtype="text" phptype="string" null="true" />
    		<composite alias="ArtistDiscography" class="ArtistDiscography" local="id" foreign="artistkey" cardinality="many" owner="local" />
    		<composite alias="ArtistGenremap" class="ArtistGenremap" local="id" foreign="artistkey" cardinality="many" owner="local" />
    		<composite alias="ArtistGigs" class="ArtistGigs" local="id" foreign="artistkey" cardinality="many" owner="local" />		
    		<composite alias="ArtistAudio" class="ArtistAudio" local="id" foreign="artistkey" cardinality="many" owner="local" />		
    		<composite alias="ArtistMedia" class="ArtistMedia" local="id" foreign="artistkey" cardinality="many" owner="local" />		
    		<composite alias="ArtistsManagers" class="ArtistsManagers" local="id" foreign="artistkey" cardinality="many" owner="local" />		
    	</object>
    
    




    so : I'm not getting any results, but my questions is: shouldn't this thing be looking for mysql.artist_attributes & not mysql.artistattributes??
      *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

      Sean Kimball CLP, CLS.
      Technical Director / Sr. Developer | BigBlock Studios
      ._______________________________________________.
      Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
      27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
      phone/fax: 905-426-5525
      • 5811
      • 1,717 Posts
      [packagePath] => {core_path}components/extdata/controllers/ 

      How do you specify the packagePath ?

      {core_path}components/extdata/model/ seems better
        • 26503
        • 620 Posts
        It was:


        {core_path}components/extdata/model/ seems better

          *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

          Sean Kimball CLP, CLS.
          Technical Director / Sr. Developer | BigBlock Studios
          ._______________________________________________.
          Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
          27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
          phone/fax: 905-426-5525