• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior ACC] Polls System v.2.2 + graphic bars

As I understand I need to edit/add each poll in database. Can someone tell me how to do that? If I try to add polls I alwasy add something wrong:

1 row(s) inserted.
Warning: #1366 Incorrect integer value: 'May 21 2009' for column 'end' at row 1
Warning: #1366 Incorrect integer value: 'May 15 2009' for column 'start' at row 1
Warning: #1366 Incorrect integer value: '' for column 'answers' at row 1
Warning: #1366 Incorrect integer value: '' for column 'votes_all' at row 1

This is what I got when tried to add some shit to z_polls. Anyways, can someone explain me a bit how to add new poll ? :eek:
 
I need a error...
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.' in C:\Program Files\xampp\htdocs\Acc Maker\pot\OTS_Account.php:478 Stack trace: #0 C:\Program Files\xampp\htdocs\Acc Maker\pot\OTS_Account.php(478): PDO->query('SELECT `id` FRO...') #1 C:\Program Files\xampp\htdocs\Acc Maker\polls.php(30): OTS_Account->getPlayers() #2 C:\Program Files\xampp\htdocs\Acc Maker\index.php(181): include('C:\Program File...') #3 {main} thrown in C:\Program Files\xampp\htdocs\Acc Maker\pot\OTS_Account.php on line 478
 
I need a error...

Linux?

Open pot/OTS.php
Search
Code:
         case self::DB_MYSQL:
                $this->db = new OTS_DB_MySQL($params);
                break;
Change to
Code:
         case self::DB_MYSQL:
			{
                $this->db = new OTS_DB_MySQL($params);
				$this->db->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
                break;
			}
:D
 
Hello i have a problem: when i click on a Topic i have this error:

Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'vote' in 'field list'' in D:\xampp\htdocs\Test\pot\OTS_Account.php:610 Stack trace: #0 D:\xampp\htdocs\Test\pot\OTS_Account.php(610): PDO->query('SELECT `vote` F...') #1 D:\xampp\htdocs\Test\polls.php(128): OTS_Account->getCustomField('vote') #2 D:\xampp\htdocs\Test\index.php(121): include('D:\xampp\htdocs...') #3 {main} thrown in D:\xampp\htdocs\Test\pot\OTS_Account.php on line 610
Plz help me
 
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\bar.php:1) in C:\xampp\htdocs\bar.php on line 17
GIF87a� �€��ÿ�����,����� ��„�;
 
Sorry for double post, just forgot to mention that I'm using Mystic Spirit 0.2.5 if that makes any difference..
 
Then i Pressing Vote Now For me droping error

Fatal error: Call to a member function fetch() on a non-object in C:\xampp\htdocs\pot\OTS_Account.php on line 371
 
help !!... i can do polls, vote, etc... but the "Polls" item dont appears in the menu !!! :S help pls
 
Back
Top