Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:window vista
Description
this is the my table creation .
CREATE TABLE billboard(id BIGINT AUTO_INCREMENT,title VARCHAR (255),country_id BIGINT,zone_id BIGINT,place VARCHAR(255),occassion VARCHAR(255),itinerary VARCHAR(255),created_at DATETIME NOT NULL,description TEXT NOT NULL,PRIMARY KEY(id)) ENGINE=INNODB;
public static function getInstance()
{ return Doctrine_Core::getTable('Billboard'); }this is the my Doctrine Table
// public function getBillboardsForAUser($userId, $limit, $offset=0)
public function getBillboardsForAUser($userId,$limit,$offset=0)
{
$query = $this->createQuery('b')
->where('b.title=?',$title);
// ->where('b.owner_id = ?', $userId);
$followings = Doctrine::getTable('Follow')->getAllFollowing($userId);
foreach($followings as $following)
$query->orderBy('b.created_at DESC')
->limit($limit)
->offset($offset);
return $query->execute();
}
plz help me what is the problem.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Project | Doctrine 2 - ORM [ 10032 ] | Doctrine 1 [ 10031 ] |
| Key | DDC-1744 | DC-1054 |
| Issue Type | Documentation [ 6 ] | Bug [ 1 ] |
| Security | All [ 10000 ] | |
| Component/s | DQL [ 10014 ] |
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DC-1054, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Doctrine 1, not 2 ticket.