Jump to content

pixelusin

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by pixelusin

  1. Thorpe, Is this the line of code you were referring to? if (($user = get_user_by_username($username)) && !$user->validated) { Where$user would be $username? I'm really not very good at PHP! Thanks, Tami
  2. Thorpe, I understand your question but I'm not sure how or where to find the information you are asking about. The error occurs when someone clicks on the Register link. Would that be a place to start looking for the place where $user defined might be? I'm not the most knowledgeable about PHP.
  3. Maybe I've been asking the question the wrong way? I was hoping someone could tell me what's wrong with this line of code as it pertains to the Customstyle plugin. When I click on the Register button, I get this error message: Fatal error: Call to a member function getObjects() on a non-object in /home/content/l/e/s/lesbionix/html/mod/customstyle/start.php on line 70 And heres line 70 from the Start.php file" $customstyle_object = $user->getObjects($metadata_name, 1, 0); line: 70 This is the rest of that code" function get_custom_style_from_metadata($user, $metadata_name){ $returnArray = false; $user = get_entity($user); line: 70 $customstyle_object = $user->getObjects($metadata_name, 1, 0); $customConfig = get_metadata_for_entity($customstyle_object[0]->guid); if($customConfig){ foreach($customConfig as $metadataObject){ $returnArray[$metadataObject['name']] = $metadataObject['value']; } } return $returnArray; } If I disable the CustomStyle plugin the problem goes away. Any ideas as to what might be the problem? I'd appreciate the help!
  4. I'm running the ELGG Social Networking software and seem to be having a problem with a mod. This is the error message that I am getting when I click on the register link: *** Fatal error: Call to a member function getObjects() on a non-object in /home/content/l/e/s/lesbionix/html/mod/customstyle/start.php on line 70 *** and this is the line in question: *** $customstyle_object = $user->getObjects($metadata_name, 1, 0); *** I get this error when I try and register to the site. I'm running a "siteaccess mod" that allows me to "wall off" the site and require a password. The "customstyle mod" is a mod that allows users to "pimp their profiles." Yeah, I know, one shouldn't have ANYTHING to do with the other, but this is the situation I am having! Any help you all could give me would be greatly appreciated. I posted the question in the ELGG forum and got NOTHING! Hopefully you all can help me! Thanks in advance for the help, Tami
  5. Thanks gentlemen for the help. I've been struggling with for way too long. Thanks!!!!!!
  6. Ok, this is the error messages that I get when I go to http://www.pixelusin.com/, Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/content/p/i/x/pixelusin/html/header.php on line 12 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/p/i/x/pixelusin/html/header.php on line 14 Access denied for user: 'pixelusin@68.178.232.57' (Using password: YES) I can get into the phpmyadmin area and can connect to the server. I'm guessing that I have a password problem. Any ideas as to how to fix this and/or what does it really mean?
  7. Ok, before you laugh, let me explain. I contracted to have some php workd done on my http://www.pixelusin.com site. The guy was a little flaky so I changed the password. Then my home computer crashed and I lost all of my password information. Any ideas how I can get into the cpanel of the software short of starting over again? Thanks in advance for the help!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.