4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 21:26:37 +00:00

Migrated affiliates to the database.

This commit is contained in:
Buster Neece 2014-05-20 23:52:39 -05:00
parent 2cf8eb5b52
commit 881f6a19fe
31 changed files with 380 additions and 114 deletions

View File

@ -1,125 +1,21 @@
<?
$affiliates = array(
array(
'name' => 'Ponyhoof',
'url' => 'http://ponyhoof.little.my',
'description' => 'Ponify Facebook and make it 20% cooler!',
'image' => \DF\Url::content('affiliates/ponyhoof.png'),
),
/*
array(
'name' => 'Journey of the Spark',
'url' => 'http://fimsparkmovie.tumblr.com/',
'description' => 'A Full Length Fan-Created Movie',
'image' => \DF\Url::content('affiliates/jots.png'),
),
*/
array(
'name' => 'PonyMC',
'description' => 'A Ponyville Live! Minecraft Partner',
'url' => 'http://ponymc.com/',
'image' => '//ponymc.com/img/logos/random_logo.php?width=150&height=150', // \DF\Url::content('affiliates/ponymc.png'),
),
array(
'name' => 'Legends of Equestria',
'url' => 'http://legendsofequestria.com/',
'description' => 'A Pony-Themed MMORPG',
'image' => \DF\Url::content('affiliates/loe.png'),
),
array(
'name' => 'PonySquare/BronySquare',
'url' => 'http://www.ponysquare.com/',
'custom' => '<a href="http://www.ponysquare.com/" target="_blank">PonySquare</a> &amp; <a href="http://www.bronysquare.com/" target="_blank">BronySquare</a>',
'description' => 'Pony-Driven Social Networks',
'image' => \DF\Url::content('affiliates/squared.png'),
),
array(
'name' => 'Brony Aerospace',
'url' => 'http://bronyaerospace.net/',
'description' => 'Launching Rockets Pony-Style!',
'image' => \DF\Url::content('affiliates/aerospace.png'),
),
array(
'name' => 'Brony@Home',
'url' => 'http://bronyathome.org/',
'description' => 'Distributed Computing for the Greater Good',
'image' => \DF\Url::content('affiliates/bronyathome.png'),
),
array(
'name' => 'Derpy Hooves News',
'url' => 'http://www.derpyhoovesnews.com/',
'description' => 'Aderpable Pony News Site',
'image' => \DF\Url::content('affiliates/dhn.png'),
),
array(
'name' => 'Bronies For Good',
'url' => 'http://broniesforgood.org/',
'description' => 'Promoting Brony Kindness and Philanthropy',
'image' => \DF\Url::content('affiliates/bfg.png'),
),
array(
'name' => 'Brony Musician Directory',
'url' => 'http://bronymusic.com/',
'description' => 'Profiles and Biographies of Pony Musicians',
'image' => \DF\Url::content('affiliates/bmd.png'),
),
/*
array(
'name' => 'MTMS Gaming',
'url' => 'http://steamcommunity.com/groups/MaximumServers',
'description' => 'Home of TF2 Servers and L4D Servers',
'image' => \DF\Url::content('affiliates/mtms.png'),
),
*/
array(
'name' => 'Las Pegasus Gaming',
'url' => 'http://laspegasus.net/',
'description' => 'A Community Brony Gaming Site',
'image' => \DF\Url::content('affiliates/lpp.png'),
),
array(
'name' => 'HoofSounds',
'url' => 'https://hoofsounds.little.my/',
'description' => 'Pony Radio in Your Browser!',
'image' => \DF\Url::content('affiliates/hoofsounds.png'),
),
);
shuffle($affiliates);
$num_affiliates = count($affiliates);
$col1_length = ceil($num_affiliates / 2);
$col1 = array_splice($affiliates, 0, $col1_length);
$cols = array($col1, $affiliates);
$affiliates = \Entity\Affiliate::fetch(true);
$columns = \DF\Utilities::columns($affiliates, 2);
?>
<div class="footer-inner">
<div class="row-fluid">
<div class="span8">
<div class="headline"><h3>Friends &amp; Affiliates</h3></div>
<div class="row-fluid">
<? foreach($cols as $column): ?>
<? foreach($columns as $column): ?>
<div class="span6">
<ul class="media-list">
<? foreach($column as $affiliate): ?>
<li class="media">
<div class="media-object pull-left">
<a href="<?=$affiliate['url'] ?>" target="_blank">
<img src="<?=$affiliate['image'] ?>" style="width: 40px;">
<a href="<?=$affiliate['web_url'] ?>" target="_blank">
<img src="<?=\DF\Url::content($affiliate['image_url']) ?>" style="width: 40px;">
</a>
</div>
<div class="media-body">
@ -127,7 +23,7 @@ $cols = array($col1, $affiliates);
<? if (isset($affiliate['custom'])): ?>
<?=$affiliate['custom'] ?><br>
<? else: ?>
<a href="<?=$affiliate['url'] ?>" target="_blank"><?=$affiliate['name'] ?></a><br>
<a href="<?=$affiliate['web_url'] ?>" target="_blank"><?=$affiliate['name'] ?></a><br>
<? endif; ?>
<small><?=$affiliate['description'] ?></small>
</h4>

View File

@ -0,0 +1,69 @@
<?php
namespace Entity;
use \Doctrine\Common\Collections\ArrayCollection;
/**
* @Table(name="affiliates")
* @Entity
*/
class Affiliate extends \DF\Doctrine\Entity
{
public function __construct()
{
$this->timestamp = time();
$this->is_approved = true;
}
/**
* @Column(name="id", type="integer")
* @Id
* @GeneratedValue(strategy="IDENTITY")
*/
protected $id;
/** @Column(name="name", type="string", length=255) */
protected $name;
/** @Column(name="description", type="text", nullable=true) */
protected $description;
/** @Column(name="image_url", type="string", length=255) */
protected $image_url;
public function setImageUrl($new_url)
{
if ($new_url)
{
if ($this->image_url && $this->image_url != $new_url)
@unlink(DF_UPLOAD_FOLDER.DIRECTORY_SEPARATOR.$this->image_url);
$this->image_url = $new_url;
}
}
/** @Column(name="web_url", type="string", length=255) */
protected $web_url;
/** @Column(name="timestamp", type="integer") */
protected $timestamp;
/** @Column(name="is_approved", type="boolean") */
protected $is_approved;
/**
* Static Functions
*/
public static function fetch($only_approved = true)
{
$records = self::fetchArray();
if ($only_approved)
$records = array_filter($records, function($record) { return $record['is_approved']; });
shuffle($records);
return $records;
}
}

View File

@ -12,6 +12,7 @@ class Rotator extends \DF\Doctrine\Entity
public function __construct()
{
$this->timestamp = time();
$this->is_approved = true;
}
/**
@ -27,19 +28,37 @@ class Rotator extends \DF\Doctrine\Entity
/** @Column(name="image_url", type="string", length=255, nullable=true) */
protected $image_url;
public function setImageUrl($new_url)
{
if ($new_url)
{
if ($this->image_url && $this->image_url != $new_url)
@unlink(DF_UPLOAD_FOLDER.DIRECTORY_SEPARATOR.$this->image_url);
$this->image_url = $new_url;
}
}
/** @Column(name="web_url", type="string", length=255, nullable=true) */
protected $web_url;
/** @Column(name="timestamp", type="integer") */
protected $timestamp;
/** @Column(name="is_approved", type="boolean") */
protected $is_approved;
/**
* Static Functions
*/
public static function fetch()
public static function fetch($only_approved = true)
{
$records = self::fetchArray();
if ($only_approved)
$records = array_filter($records, function($record) { return $record['is_approved']; });
shuffle($records);
return $records;

View File

@ -0,0 +1,49 @@
<?php
return array(
'method' => 'post',
'enctype' => 'multipart/form-data',
'elements' => array(
'name' => array('text', array(
'label' => 'Affiliate Name',
'class' => 'half-width',
'required' => true,
)),
'description' => array('textarea', array(
'label' => 'Description',
'class' => 'full-width half-height',
'required' => true,
)),
'web_url' => array('text', array(
'label' => 'Web URL',
'description' => 'Include full address (with http://).',
'class' => 'half-width',
'required' => true,
)),
'image_url' => array('file', array(
'label' => 'Upload New Icon',
'description' => 'To replace the existing icon associated with this station, upload a new one using the file browser below. Icons should be 150x150px in dimension and preferably alpha-transparent 32-bit PNGs.',
)),
'is_approved' => array('radio', array(
'label' => 'Is Active (Currently Visible)',
'multiOptions' => array(
0 => 'No',
1 => 'Yes',
),
'default' => 1,
'required' => true,
)),
'submit' => array('submit', array(
'type' => 'submit',
'label' => 'Save Changes',
'helper' => 'formButton',
'class' => 'ui-button',
)),
),
);

View File

@ -20,6 +20,16 @@ return array(
'label' => 'Description',
'class' => 'full-width half-height',
)),
'is_approved' => array('radio', array(
'label' => 'Is Active (Currently Visible)',
'multiOptions' => array(
0 => 'No',
1 => 'Yes',
),
'default' => 1,
'required' => true,
)),
'submit' => array('submit', array(
'type' => 'submit',

View File

@ -0,0 +1,70 @@
<?php
use \Entity\Affiliate;
use \Entity\Affiliate as Record;
class Admin_AffiliatesController extends \DF\Controller\Action
{
public function permissions()
{
return $this->acl->isAllowed('administer affiliates');
}
public function indexAction()
{
$records = $this->em->createQuery('SELECT r FROM Entity\Affiliate r ORDER BY r.id ASC')
->getArrayResult();
$this->view->records = $records;
}
public function editAction()
{
$form = new \DF\Form($this->current_module_config->forms->affiliate);
if ($this->_hasParam('id'))
{
$id = (int)$this->_getParam('id');
$record = Record::find($id);
$form->setDefaults($record->toArray(FALSE, TRUE));
}
if($_POST && $form->isValid($_POST) )
{
$data = $form->getValues();
if (!($record instanceof Record))
$record = new Record;
$files = $form->processFiles('rotators');
foreach($files as $file_field => $file_paths)
{
if (!empty($file_paths))
$data[$file_field] = $file_paths[1];
}
if ($data['image_url'])
\DF\Image::resizeImage($data['image_url'], $data['image_url'], 336, 280);
$record->fromArray($data);
$record->save();
$this->alert('Changes saved.', 'green');
$this->redirectFromHere(array('action' => 'index', 'id' => NULL));
return;
}
$this->view->headTitle('Edit Record');
$this->renderForm($form);
}
public function deleteAction()
{
$record = Record::find($this->_getParam('id'));
if ($record)
$record->delete();
$this->alert('Record deleted.', 'green');
$this->redirectFromHere(array('action' => 'index', 'id' => NULL, 'csrf' => NULL));
}
}

View File

@ -24,6 +24,7 @@ class Admin_RotatorsController extends \DF\Controller\Action
{
$id = (int)$this->_getParam('id');
$record = Record::find($id);
$form->setDefaults($record->toArray(FALSE, TRUE));
}
@ -37,9 +38,13 @@ class Admin_RotatorsController extends \DF\Controller\Action
$files = $form->processFiles('rotators');
foreach($files as $file_field => $file_paths)
$data[$file_field] = $file_paths[1];
{
if (!empty($file_paths))
$data[$file_field] = $file_paths[1];
}
\DF\Image::resizeImage($data['image_url'], $data['image_url'], 336, 280);
if ($data['image_url'])
\DF\Image::resizeImage($data['image_url'], $data['image_url'], 336, 280);
$record->fromArray($data);
$record->save();

View File

@ -0,0 +1,57 @@
<?
$this->headTitle('Manage Affiliates');
?>
<div class="buttons">
<?=$this->button(array(
'type' => 'link',
'class' => 'large success',
'href' => $this->routeFromHere(array('action' => 'edit')),
'icon' => 'icon-plus-sign',
'text' => 'Add New Affiliate',
)) ?>
</div>
<table class="table table-striped table-bordered table-condensed">
<colgroup>
<col width="25%" />
<col width="10%" />
<col width="65%" />
</colgroup>
<thead>
<tr>
<th>Actions</th>
<th>Image</th>
<th>Link/Description</th>
</tr>
</thead>
<tbody>
<? foreach($this->records as $record): ?>
<tr class="input">
<td class="center">
<div class="btn-group">
<?=$this->button(array(
'type' => 'small',
'href' => $this->routeFromHere(array('action' => 'edit', 'id' => $record['id'])),
'text' => 'Edit',
)) ?>
<?=$this->button(array(
'type' => 'small',
'class' => 'danger confirm-delete',
'href' => $this->routeFromHere(array('action' => 'delete', 'id' => $record['id'])),
'text' => 'Delete',
)) ?>
</div>
</td>
<td class="center" <? if (!$record['is_approved']): ?>style="opacity: 0.2;"<? endif; ?>><img src="<?=\DF\Url::content($record['image_url']) ?>"></td>
<td>
<div><big><?=$record['name'] ?></big></div>
<div><?=$this->link($record['web_url']) ?></div>
<? if ($record['description']): ?>
<div><?=$record['description'] ?></div>
<? endif; ?>
</td>
</tr>
<? endforeach; ?>
</tbody>
</table>

View File

@ -24,6 +24,7 @@ if ($skin == "dark")
<li><a href="<?=$this->route(array('module' => 'admin', 'controller' => 'artists')) ?>"><i class="icon-star"></i> Artists</a></li>
<li><a href="<?=$this->route(array('module' => 'admin', 'controller' => 'podcasts')) ?>"><i class="icon-rss"></i> Podcasts</a></li>
<li><a href="<?=$this->route(array('module' => 'admin', 'controller' => 'rotators')) ?>"><i class="icon-refresh"></i> Rotating Banners</a></li>
<li><a href="<?=$this->route(array('module' => 'admin', 'controller' => 'affiliates')) ?>"><i class="icon-group"></i> Affiliates</a></li>
<li class="nav-header">Manage System Settings</li>
<li><a href="<?=$this->route(array('module' => 'admin', 'controller' => 'users')) ?>"><i class="icon-user"></i> User Accounts</a></li>

View File

@ -43,7 +43,7 @@ $this->headTitle('Manage Rotator Banners');
)) ?>
</div>
</td>
<td class="center"><img src="<?=\DF\Url::content($record['image_url']) ?>"></td>
<td class="center" <? if (!$record['is_approved']): ?>style="opacity: 0.2;"<? endif; ?>><img src="<?=\DF\Url::content($record['image_url']) ?>"></td>
<td>
<div><big><?=$this->link($record['web_url']) ?></big></div>
<? if ($record['description']): ?>

View File

@ -156,3 +156,93 @@ Stack trace:
[14-Apr-2014 23:36:25 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[14-Apr-2014 23:36:25 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[14-Apr-2014 23:36:25 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:05:53 America/New_York] PHP Strict standards: Declaration of Entity\Role::fetchSelect() should be compatible with DF\Doctrine\Entity::fetchSelect($add_blank = false, Closure $display = NULL, $pk = 'id', $order_by = 'name') in /www/ponyvillelive.com/public_html/app/models/Entity/Role.php on line 0
[20-May-2014 00:05:53 America/New_York] PHP Stack trace:
[20-May-2014 00:05:53 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:05:53 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:05:53 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:05:53 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:05:53 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:05:53 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:05:53 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:05:53 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:05:53 America/New_York] PHP Strict standards: Declaration of Entity\Station::fetchArray() should be compatible with DF\Doctrine\Entity::fetchArray($order_by = NULL, $order_dir = 'ASC') in /www/ponyvillelive.com/public_html/app/models/Entity/Station.php on line 0
[20-May-2014 00:05:53 America/New_York] PHP Stack trace:
[20-May-2014 00:05:53 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:05:53 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:05:53 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:05:53 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:05:53 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:05:53 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:05:53 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:05:53 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:05:54 America/New_York] PHP Strict standards: Declaration of Entity\Settings::fetchArray() should be compatible with DF\Doctrine\Entity::fetchArray($order_by = NULL, $order_dir = 'ASC') in /www/ponyvillelive.com/public_html/app/models/Entity/Settings.php on line 0
[20-May-2014 00:05:54 America/New_York] PHP Stack trace:
[20-May-2014 00:05:54 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:05:54 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:05:54 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:05:54 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:05:54 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:05:54 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:05:54 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:05:54 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:06:04 America/New_York] PHP Strict standards: Declaration of Entity\Role::fetchSelect() should be compatible with DF\Doctrine\Entity::fetchSelect($add_blank = false, Closure $display = NULL, $pk = 'id', $order_by = 'name') in /www/ponyvillelive.com/public_html/app/models/Entity/Role.php on line 0
[20-May-2014 00:06:04 America/New_York] PHP Stack trace:
[20-May-2014 00:06:04 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:06:04 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:06:04 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:06:04 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:06:04 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:06:04 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:06:04 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:06:04 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:06:04 America/New_York] PHP Strict standards: Declaration of Entity\Station::fetchArray() should be compatible with DF\Doctrine\Entity::fetchArray($order_by = NULL, $order_dir = 'ASC') in /www/ponyvillelive.com/public_html/app/models/Entity/Station.php on line 0
[20-May-2014 00:06:04 America/New_York] PHP Stack trace:
[20-May-2014 00:06:04 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:06:04 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:06:04 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:06:04 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:06:04 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:06:04 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:06:04 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:06:04 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:06:04 America/New_York] PHP Strict standards: Declaration of Entity\Settings::fetchArray() should be compatible with DF\Doctrine\Entity::fetchArray($order_by = NULL, $order_dir = 'ASC') in /www/ponyvillelive.com/public_html/app/models/Entity/Settings.php on line 0
[20-May-2014 00:06:04 America/New_York] PHP Stack trace:
[20-May-2014 00:06:04 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:06:04 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:06:04 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:06:04 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:06:04 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:06:04 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:06:04 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:06:04 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:09:34 America/New_York] PHP Strict standards: Declaration of Entity\Role::fetchSelect() should be compatible with DF\Doctrine\Entity::fetchSelect($add_blank = false, Closure $display = NULL, $pk = 'id', $order_by = 'name') in /www/ponyvillelive.com/public_html/app/models/Entity/Role.php on line 0
[20-May-2014 00:09:34 America/New_York] PHP Stack trace:
[20-May-2014 00:09:34 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:09:34 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:09:34 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:09:34 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:09:34 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:09:34 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:09:34 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:09:34 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:09:34 America/New_York] PHP Strict standards: Declaration of Entity\Station::fetchArray() should be compatible with DF\Doctrine\Entity::fetchArray($order_by = NULL, $order_dir = 'ASC') in /www/ponyvillelive.com/public_html/app/models/Entity/Station.php on line 0
[20-May-2014 00:09:34 America/New_York] PHP Stack trace:
[20-May-2014 00:09:34 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:09:34 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:09:34 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:09:34 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:09:34 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:09:34 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:09:34 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:09:34 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130
[20-May-2014 00:09:34 America/New_York] PHP Strict standards: Declaration of Entity\Settings::fetchArray() should be compatible with DF\Doctrine\Entity::fetchArray($order_by = NULL, $order_dir = 'ASC') in /www/ponyvillelive.com/public_html/app/models/Entity/Settings.php on line 0
[20-May-2014 00:09:34 America/New_York] PHP Stack trace:
[20-May-2014 00:09:34 America/New_York] PHP 1. {main}() /www/ponyvillelive.com/public_html/util/doctrine.php:0
[20-May-2014 00:09:34 America/New_York] PHP 2. Doctrine\ORM\Tools\Console\ConsoleRunner::run() /www/ponyvillelive.com/public_html/util/doctrine.php:22
[20-May-2014 00:09:34 America/New_York] PHP 3. Symfony\Component\Console\Application->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/ConsoleRunner.php:39
[20-May-2014 00:09:34 America/New_York] PHP 4. Symfony\Component\Console\Application->doRun() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:118
[20-May-2014 00:09:34 America/New_York] PHP 5. Symfony\Component\Console\Command\Command->run() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Application.php:194
[20-May-2014 00:09:34 America/New_York] PHP 6. Doctrine\ORM\Tools\Console\Command\SchemaTool\AbstractCommand->execute() /www/ponyvillelive.com/public_html/app/library/Doctrine/Symfony/Component/Console/Command/Command.php:187
[20-May-2014 00:09:34 America/New_York] PHP 7. Doctrine\ORM\Mapping\ClassMetadataFactory->getAllMetadata() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:53
[20-May-2014 00:09:34 America/New_York] PHP 8. Doctrine\ORM\Mapping\Driver\AnnotationDriver->getAllClassNames() /www/ponyvillelive.com/public_html/app/library/Doctrine/ORM/Mapping/ClassMetadataFactory.php:130

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB