Members   Search      Help    Register    Login    Home
Home » Support Forums for PMBT 1.X » Bug Reports » undefined variable error
undefined variable error [message #1655] Fri, 14 December 2007 02:06 Go to next message
DrAgon  United States
Messages: 192
Registered: August 2007
Super-Seeder
Bug hunter
I see tons of error on config_lite.php variable..

[Thu Dec 13 18:00:26 2007] [error] [client 82.22.104.204] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 105

line 105 is $donateasked = $row2["sitecost"];^M

is this suppose to be defined somewhere?

Re: undefined variable error [message #1656 is a reply to message #1655] Fri, 14 December 2007 02:13 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
$donateasked = $row2["sitecost"];^M
should be
$donateasked = $row2["sitecost"];


http://a.imageshack.us/img831/5562/mybikes.png
Re: undefined variable error [message #1657 is a reply to message #1656] Fri, 14 December 2007 02:21 Go to previous messageGo to next message
DrAgon  United States
Messages: 192
Registered: August 2007
Super-Seeder
Bug hunter
huh?

^M is just end of the line, <CR>

u mean remove them?

I don't think that'll fix it..
I give it a try!

Re: undefined variable error [message #1658 is a reply to message #1657] Fri, 14 December 2007 02:39 Go to previous messageGo to next message
DrAgon  United States
Messages: 192
Registered: August 2007
Super-Seeder
Bug hunter
way too many undefinid variable errors in apache logs

I think isset wasn't used and variable just not definied at it says..

for every scrape and announce I get 10 lines of errors
Here are variable/index list:
-----------------------
variable row2 is not definied in config_lite
variable: info_hash_arr and r in scrape.php
variable: down_limit in cleanup.php
index: port in cleanup.php
Undefined property: query_result in mysql4.php on line 118

---------------------
I think info_hash_arr should be info_hash_array in scrape.php

thnx for the help.

[Updated on: Fri, 14 December 2007 02:43]

Report message to a moderator

Re: undefined variable error [message #2159 is a reply to message #1658] Sat, 09 August 2008 18:56 Go to previous message
DrAgon  United States
Messages: 192
Registered: August 2007
Super-Seeder
Bug hunter


row2 needed to be defined in config_lite just like config.php has.

so paypal.php and config_lite.php are working much better now and the fixes are now included for next release.

Previous Topic:Countries.sql has syntax problem
Next Topic:External torrent file problem
Goto Forum:
  


Current Time: Wed Feb 08 05:58:01 GMT 2012

Total time taken to generate the page: 0.00692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software