The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue May 08, 2012 7:07 pm 
Joomla! Intern
Joomla! Intern

Joined: Tue Oct 13, 2009 1:19 am
Posts: 70
Location: Mexico
I am extending the Jtable class to access the database, I have several table files they all work except one and I have no idea how to fix this

Here is one that works
Code:
<?php
defined('_JEXEC') or die('Restricted access');
class TableFl_Riders extends JTable
{
   var $id = null;
   var $name = null;
   var $type = null;
   var $state = 0;
   var $injured = 0;
   var $points = 0;
   var $points_last_race = 0;
   
   function __construct(&$db){
      parent::__construct( '#__fl_riders', 'id', $db );
   }
}


And the rest look the same exactly the same, bellow is the one that does not work

Code:
<?php
defined('_JEXEC') or die('Restricted access');
class TableFl_Users extends JTable
{
   var $id = null;
   var $credit = 0;
   var $last_debit = 0;
   var $leagues = null;
   var $street = null;
   var $town = null;
   var $city = null;
   var $state = null;
   var $country = null;
   var $zipcode = null;
   var $coordinates = null;
   var $phone = null;
   var $website = null;
   var $favoritebook = null;
   var $aboutme = null;
   var $birthdate = null;
   var $agreement = 0;
   
   function __construct(&$db){
      parent::__construct( '#__fl_users', 'id', $db );
   }
}


I checked the spelling is fine, the file name is fl_users.php, all files are stored in the component's directory tables folder, they all work except that one can someone help me figure out what is wrong with this

_________________
You can view my free Joomla! extensions and templates at:http://www.tlacaelelrl.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 



Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group