This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$campsite = $campsiteRepo->find(100011); | |
$ranking = $campsite->getRanking(); | |
$ranking = $rankingRepo->findOneBy(['campsite' => 100011]); | |
$campsite = $ranking->getCampsite(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fatal error: Uncaught exception 'Doctrine\Common\Persistence\Mapping\MappingException' with message 'The class 'AcsiMarketingPackage\Entity\Package' was not found in the chain configured namespaces AcsiBase\Entity, AcsiDoctrine\Entity, AcsiI18n\Entity, AcsiCRM\Entity, AcsiMedia\Entity, AcsiGeo\Entity, AcsiCampsite\Entity, AcsiWebsite\Entity, AcsiCpc\Entity, AcsiCampsiteWeather\Entity, AcsiCampsiteReview\Entity, AcsiCampsiteInfoRequest\Entity, AcsiRedirect\Entity, AcsiMatch2Camp\Entity, AcsiPortal\Entity, AcsiAppCodeRedirect\Entity, AcsiCmsUser\Entity' in C:\www\campingcard\vendor\doctrine\common\lib\Doctrine\Common\Persistence\Mapping\MappingException.php on line 37 | |
Doctrine\Common\Persistence\Mapping\MappingException: The class 'AcsiMarketingPackage\Entity\Package' was not found in the chain configured namespaces AcsiBase\Entity, AcsiDoctrine\Entity, AcsiI18n\Entity, AcsiCRM\Entity, AcsiMedia\Entity, AcsiGeo\Entity, AcsiCampsite\Entity, AcsiWebsite\Entity, AcsiCpc\Entity, AcsiCampsiteWeather\Entity, AcsiCam |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Module\Entity; | |
/** | |
* @ORM\Entity | |
*/ | |
class EntityA | |
{ | |
/** | |
* @ORM\ManyToOne(targetEntity="Module\Entity\EntityBInterface", fetch="LAZY") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* BarTrait | |
* | |
* @category MyNamespace | |
* @package MyNamespace | |
* @copyright 2014 | |
* @version SVN: $Id$ | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function validateLocalPart() | |
{ | |
// First try to match the local part on the common dot-atom format | |
$result = false; | |
// Dot-atom characters are: 1*atext *("." 1*atext) | |
// atext: ALPHA / DIGIT / and "!", "#", "$", "%", "&", "'", "*", | |
// "+", "-", "/", "=", "?", "^", "_", "`", "{", "|", "}", "~" | |
$atext = 'a-zA-Z0-9\x21\x23\x24\x25\x26\x27\x2a\x2b\x2d\x2f\x3d\x3f\x5e\x5f\x60\x7b\x7c\x7d\x7e'; | |
if (preg_match('/^[' . $atext . ']+(\x2e+[' . $atext . ']+)*$/', $this->localPart)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$class = Mockery::mock('Doctrine\ORM\ClassMetadata'); | |
include '/mypath/doctrine/orm/lib/Doctrine/ORM/Query.php'; | |
?> | |
Now I get the following error message: | |
Fatal error: Cannot use Doctrine\ORM\Mapping\ClassMetadata as ClassMetadata because the name is already in use in Query.php on line 29 | |
This line contains a namespace import: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var self = this; | |
$.each(this.filters, function(index, filter) { | |
filter.label = (self.labels[filter.field] && self.labels[filter.field][filter.value]) ? | |
self.labels[filter.field][filter.value] : | |
filter.value; | |
AjaxSolr.theme( | |
'activeFilterListItem', | |
filter, | |
function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
style>body{background:#FFF;line-height:16px;text-align:left !important;}body,div,table,td,span{color:#000;font-family:Verdana,Helvetica,sans-serif,Arial;font-size:11px;letter-spacing:0}a{color:#1aa149;text-decoration:underline}a:hover{color:#1aa149;text-decoration:underline}a img{border:0}:focus{outline:0}table{}th{padding:0px 75px 0px 0px;text-align:left;vertical-align:top;font-weight:bold}td{padding:0;vertical-align:top}</style><table cellspacing="0" cellpadding="0" border="0"><tr><th>Error</th><td>[0::]:</td></tr><tr><th>Message</th><td> ERROR - parse_ini_file(abl/operators/config/ini/scvacdir.ini) [<a href='function.parse-ini-file'>function.parse-ini-file</a>]: failed to open stream: No such file or directory</td></tr><tr><th>File</th><td> /sandata/data/www/lib/libs/Zend_new/Config/Ini.php</td></tr><tr><th>Line No.</th><td>181</td></tr><tr><th>URL</th><td> /phplib/dataservice/abl/bookproces.php</td></tr><tr><th>QUERY STRING</th><td> </td></tr><tr><th>REFERER</th><td> https://www.suncamp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[exec] Problem 1 | |
[exec] - zendframework/zend-crypt 2.1.4 requires zendframework/zend-math 2.1.4 -> no matching package found. | |
[exec] - zf-commons/zfc-base 0.1.0 requires zendframework/zendframework 2.1.* -> no matching package found. | |
[exec] - zf-commons/zfc-base 0.0.1 requires zendframework/zendframework 2.0.* -> no matching package found. | |
[exec] - zf-commons/zfc-user 0.1.0 requires zendframework/zendframework 2.1.* -> no matching package found. | |
[exec] - zf-commons/zfc-user 0.0.1 requires zendframework/zendframework 2.0.* -> no matching package found. | |
[exec] - Installation request for zendframework/zendframework 2.3.0 -> satisfiable by zendframework/zendframework[2.3.0]. | |
[exec] - acsi/acsi-cms-user dev-trunk requires zf-commons/zfc-user-doctrine-orm 0.1.3 -> satisfiable by zf-commons/zfc-user-doctrine-orm[0.1.3]. | |
[exec] - zf-commons/zfc-base 0.1.1 requires zendframework/zend-db 2.1.* -> satisfiable by zendframework/zend-db[2.1.0, 2.1.1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object(distribProposals2Type)#315 (1) { | |
["distribProposal"]=> | |
object(distribProposal2Type)#312 (14) { | |
["etab_id"]=> | |
string(4) "5038" | |
["etab_name"]=> | |
string(15) "EDEN (30) *****" | |
["room_type_code"]=> | |
string(4) "MP46" | |
["room_type_label"]=> |