PimpAndHost Support Forums - #1 Image Hosting & Editing Site on the web!

PimpAndHost Support Forums - #1 Image Hosting & Editing Site on the web! (https://forum.pimpandhost.com//index.php)
-   Bugs (https://forum.pimpandhost.com//forumdisplay.php?f=2)
-   -   pictures don't work on original size. (https://forum.pimpandhost.com//showthread.php?t=1094)

a84846487 11-28-2011 02:46 PM

pictures don't work on original size.
 
pictures don't work on original size.CException

Property "hit_payments.hits" is not defined.

/www/yii-read-only_svn/framework/db/ar/CActiveRecord.php(145)

133 */
134 public function __get($name)
135 {
136 if(isset($this->_attributes[$name]))
137 return $this->_attributes[$name];
138 else if(isset($this->getMetaData()->columns[$name]))
139 return null;
140 else if(isset($this->_related[$name]))
141 return $this->_related[$name];
142 else if(isset($this->getMetaData()->relations[$name]))
143 return $this->getRelated($name);
144 else
145 return parent::__get($name);
146 }
147
148 /**
149 * PHP setter magic method.
150 * This method is overridden so that AR attributes can be accessed like properties.
151 * @param string $name property name
152 * @param mixed $value property value
153 */
154 public function __set($name,$value)
155 {
156 if($this->setAttribute($name,$value)===false)
157 {
Stack Trace
#0
+ /www/yii-read-only_svn/framework/db/ar/CActiveRecord.php(145): CComponent->__get("hits")
#1
– /www/pimpandhost.com_dev/htdocs/protected/models/hit_payments.php(48): CActiveRecord->__get("hits")
43 $attrs['country_id'] = $country_id;
44 }
45
46 $m = hit_payments::model()->findByAttributes($attrs);
47 if ( $m ) {
48 $m->hits++;
49 $m->amount += $tarif;
50 }
51 else {
52 $m = new hit_payments;
53 $m->user_id = $user_id;
#2
– /www/pimpandhost.com_dev/htdocs/protected/controllers/ImageController.php(119): hit_payments::calc("55973", "United States")
114
115 //calculate hits for payment
116 $ip = isset($_SERVER['REMOTE_ADDR'])?$_SERVER['REMOTE_ADDR']:'';
117 $country = @geoip_country_name_by_name($ip);
118 //if ( $ip == '195.46.111.9' ) {
119 hit_payments::calc($image->authorId, $country);
120 //}
121
122 $this->render('show',array(
123 'image'=>$image,
124 'imageSize'=>$imageSize,
#3
+ /www/yii-read-only_svn/framework/web/actions/CInlineAction.php(50): ImageController->actionShow()
#4
+ /www/yii-read-only_svn/framework/web/CController.php(312): CInlineAction->runWithParams(array("id" => "10371040", "size" => "original"))
#5
+ /www/yii-read-only_svn/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction)
#6
+ /www/yii-read-only_svn/framework/web/filters/CFilter.php(41): CFilterChain->run()
#7
+ /www/yii-read-only_svn/framework/web/CController.php(1156): CFilter->filter(CFilterChain)
#8
+ /www/yii-read-only_svn/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(CFilterChain)
#9
+ /www/yii-read-only_svn/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain)
#10
+ /www/yii-read-only_svn/framework/web/CController.php(295): CFilterChain->run()
#11
+ /www/yii-read-only_svn/framework/web/CController.php(269): CController->runActionWithFilters(CInlineAction, array("accessControl"))
#12
+ /www/yii-read-only_svn/framework/web/CWebApplication.php(276): CController->run("show")
#13
+ /www/yii-read-only_svn/framework/web/CWebApplication.php(135): CWebApplication->runController("image/show")
#14
+ /www/yii-read-only_svn/framework/base/CApplication.php(162): CWebApplication->processRequest()
#15
– /www/pimpandhost.com_dev/htdocs/index.php(16): CApplication->run()
11 define('GLOBAL_SERVER', $servers[rand(0,count($servers)-1)]);
12
13 require_once($yii);
14 require_once(dirname(__FILE__).'/protected/globals.php');
15 require_once(dirname(__FILE__).'/protected/functions.php');
16 Yii::createWebApplication($config)->run();

Nykoo 11-28-2011 03:01 PM

I get the Exact same error.

11-28-2011 03:05 PM

Canīt upload pics to jpg
 
I canīt upload pics to jpg I get long long text instead!

Audiobully 11-28-2011 04:50 PM

I'm having the exact same issue. How many others are? Seems weird to have a glitch like this for so long.

smokinghot 11-28-2011 04:59 PM

Same n here :((

Nykoo 11-28-2011 08:32 PM

It works again at my place.

kisworo 12-22-2011 02:39 PM

It works again at my place.


All times are GMT. The time now is 01:56 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
(c) www.Pimpandhost.com