Tenderfoot's Profile
Reputation: 8
Worker
- Group:
- Contributors
- Active Posts:
- 140 (0.33 per day)
- Joined:
- 21-March 12
- Profile Views:
- 1,706
- Last Active:
May 05 2013 12:55 PM- Currently:
- Offline
Previous Fields
- Country:
- IS
- OS Preference:
- Windows
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Who Cares
- Dream Kudos:
- 50
Latest Visitors
-
jimblumberg 
04 Mar 2013 - 19:50 -
CTphpnwb 
04 Mar 2013 - 12:50 -
Atli 
21 Jan 2013 - 00:45 -
mmmmm 
14 Jan 2013 - 16:13 -
Mirslr 
25 Dec 2012 - 21:41
Posts I've Made
-
In Topic: Populating a Datagrid
Posted 30 Apr 2013
Problem fixed:
public int Phone_ID { get { return this.phone_ID; } set { this.phone_ID = value; } }
It was a problem with the get and set accessors, had to set them up like this as I was using private variables. -
In Topic: Populating a Datagrid
Posted 30 Apr 2013
Constructing my accessors like this fixed the problem to an extent:
public int Phone_ID { get; set; }
I now see the object in the DataGrid. The problem is that fields that actually do have a integer value in the phoneList are showing up as zero, all of them. -
In Topic: Populating a Datagrid
Posted 30 Apr 2013
My get and set accessors in the Phone class look like this:
public void setLocation(string location) { this.location = location; } public string getPhoneType() { return this.phoneType; }
This might very well be the issue. -
In Topic: Debugging on a remote server
Posted 8 Jan 2013
Martyr2, on 08 January 2013 - 12:36 PM, said:Well at a quick glance from your code it looks like you might have a problem executing your statement. If it is not reaching your echo about the ID for translationkeys, then I would put an echo in your catch, see if that prints, if it doesn't, check if any of the prepare, bindvalue or execute statements there are returning false. I think you will find one of them is. Might be your execute.
If that is the case, then you can look at your PDOStatement's errorInfo array and see if there is any additional info being saved to tell you what went wrong.
I think you have it pinned, you just need to investigate the statements just before where it fails.
P.S. Usually when it works locally and not remotely it means one of two things... 1) There is a permission in your way 2) There is simply a setting that is different in php.ini (compare them and replicate the changes on your local machine to match the remote and test locally).
/>
Thanks a lot for your help Martyr, the last paragraph in particular helped me solve this. I don't have access to the php.ini file but I assume it's more strict on including file names. The problem was that I accidentally used include 'DB.inc.php' as opposed to lowercase db. -
In Topic: DIC {again?} registered as a malware site
Posted 30 Dec 2012
I get redirected to popcash.net just a split-second after every single page on dreamincode loads. I'm browsing by using the "stop-loading-this-page" feature consistently.
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Programming Languages:
- C#, PHP, MySQL, MSSQL
Contact Information
- E-mail:
- Private
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Nublet
18 Oct 2012 - 11:31Hello c: