Go Back   PimpAndHost Support Forums - #1 Image Hosting & Editing Site on the web! > Support > Bugs
Main Site Community Today's Posts Search

Bugs Please use this forum to report any bugs encountered, kindly provide screenshots, videos, and a detailed description of the problem, including steps taken to recreate it, so that we can effectively address the issue.

Reply
 
Thread Tools Display Modes
Old 11-28-2011   #1
a84846487
Junior Member
 
Join Date: Jun 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
a84846487 is on a distinguished road
Default 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();
a84846487 is offline   Reply With Quote
Old 11-28-2011   #2
Nykoo
Junior Member
 
Join Date: Mar 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Nykoo is on a distinguished road
Default

I get the Exact same error.
Nykoo is offline   Reply With Quote
Old 11-28-2011   #3
generalen
Guest
 
Posts: n/a
Default Canīt upload pics to jpg

I canīt upload pics to jpg I get long long text instead!
  Reply With Quote
Old 11-28-2011   #4
Audiobully
Junior Member
 
Join Date: May 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Audiobully is on a distinguished road
Default

I'm having the exact same issue. How many others are? Seems weird to have a glitch like this for so long.
Audiobully is offline   Reply With Quote
Old 11-28-2011   #5
smokinghot
Junior Member
 
Join Date: Dec 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
smokinghot is on a distinguished road
Default

Same n here (
smokinghot is offline   Reply With Quote
Old 11-28-2011   #6
Nykoo
Junior Member
 
Join Date: Mar 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Nykoo is on a distinguished road
Default

It works again at my place.
Nykoo is offline   Reply With Quote
Old 12-22-2011   #7
kisworo
Junior Member
 
Join Date: Dec 2011
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
kisworo is on a distinguished road
Default

It works again at my place.
kisworo is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:58 AM.

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