Author |
Message |
Gravitron VIE Vet

Age:43 Gender: Joined: Aug 02 2002 Posts: 993 Location: Israel Offline
|
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Feb 23, 2005 3:46 pm Post maybe stupid Post subject: |
 |
|
|
|
I've seen those warning somewhere else before, can't remember which thread it was though.
But since it only seems to be in threads with polls, like this one, it might not be much work to fix.  |
|
Back to top |
|
 |
Gravitron VIE Vet

Age:43 Gender: Joined: Aug 02 2002 Posts: 993 Location: Israel Offline
|
Posted: Wed Feb 23, 2005 3:57 pm Post maybe stupid Post subject: |
 |
|
|
|
Who knows.
From what I gather MGB did a lot of modifications, could be a mess in there to follow what does what.
Off topic, I was wondering, is php-SQL easy to understand from analysing code lines? Like say BASIC is?
I mean, it's not C++ after all.
Looking at phpBB code for an example, you can understand how things work for the most part or on principle.
So like, is it possible to learn from reading code? Or is it harder than it looks? |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Feb 23, 2005 4:28 pm Post maybe stupid Post subject: |
 |
|
|
|
What do you mean by "php-SQL"?
Actually I can't figure out what you're really asking, so I'll just post my comments on all possible meanings.
The SQL used in php is just the same as regular SQL, and I guess you could just understand it if you know what a database's table is.
PHP is easy, and it's easy to understand by just reading the scripts.
I'm not sure if phpBB is well designed, their "code" looks awful and I think it's pretty hard to figure out what's actually happing everywhere.
For both PHP and SQL you could learn from reading the "code". |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:42 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Thu Feb 24, 2005 1:14 am Post maybe stupid Post subject: |
 |
|
|
|
Gravitron wrote: | Looking at phpBB code for an example, you can understand how things work for the most part or on principle. So like, is it possible to learn from reading code? Or is it harder than it looks? |
Its how I hack out everything I do. I have a good understanding of programming in general, and have done work with Perl before. Use that knowledge to throw up some code, and hope it works. As to the error, I think its occurring because of the changes done to the voting scripts before, but when its reading it, its reading the ending date all screwed up, thus throwing up errors. Only occurs when the voting has an end date.
As for you learning to do your own modifications, it isn't hard. Take a look at others do (phpbbhacks.com is good) and learn from it. If you are attempting to add your own extra SQL calls or modifying the tables, I'd recommend learning a bit more about SQL online and making sure you keep good backups. |
|
Back to top |
|
 |
Gravitron VIE Vet

Age:43 Gender: Joined: Aug 02 2002 Posts: 993 Location: Israel Offline
|
Posted: Thu Feb 24, 2005 7:25 am Post maybe stupid Post subject: |
 |
|
|
|
Well, so far phpmyadmin makes editing SQL seem like an easy task.
And yes, I meant to writing php scripts which manipulate a SQL database. |
|
Back to top |
|
 |
Night_Fox dark_mistress is too sexy for me
Age:54 Gender: Joined: Jan 24 2004 Posts: 252 Offline
|
Posted: Thu Feb 24, 2005 7:34 am Post maybe stupid Post subject: |
 |
|
|
|
Dont you have cpanel that automatically updates phpbb2? |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Thu Feb 24, 2005 7:50 am Post maybe stupid Post subject: |
 |
|
|
|
I couldn't access this site for about 10 minutes, about 30min ago (look at the timestamp on this post). |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Thu Feb 24, 2005 8:11 am Post maybe stupid Post subject: |
 |
|
|
|
Automatically updating would probaby overwrite the mods implemented here.
That, and more issues would make it more work to keep the forums running.
I couldn't reach it either, heh. |
|
Back to top |
|
 |
Night_Fox dark_mistress is too sexy for me
Age:54 Gender: Joined: Jan 24 2004 Posts: 252 Offline
|
Posted: Thu Feb 24, 2005 8:34 am Post maybe stupid Post subject: |
 |
|
|
|
Okay  |
|
Back to top |
|
 |
Gravitron VIE Vet

Age:43 Gender: Joined: Aug 02 2002 Posts: 993 Location: Israel Offline
|
Posted: Thu Feb 24, 2005 10:52 am Post maybe stupid Post subject: |
 |
|
|
|
Like Solo said
Also, the cpanel is no good unless you installed the phpBB using it, otherwise, it does not recognize it.
And it always assign a DB name and username and password by itself to it...rather insecure ones at that. |
|
Back to top |
|
 |
Night_Fox dark_mistress is too sexy for me
Age:54 Gender: Joined: Jan 24 2004 Posts: 252 Offline
|
Posted: Thu Feb 24, 2005 12:00 pm Post maybe stupid Post subject: |
 |
|
|
|
I have no troubles with it tho.
I understand what you both said  |
|
Back to top |
|
 |
|