- Support 1 2 Vladaar
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
Hello,
We are using QSFportal 1.3.2. With IIS for Windows Server 2003 (version 6?). We're using latest PHP and SQL available online.
I am posting this in case someone happens to see an obvious fix we are missing, or perhaps to find out that it just isn't possible to run QSFportal on a windows server.
When I try to post a new message with QSFportal I get this error message:
Notice: Uninitialized string offset: 0 in C:\Inetpub\wwwroot\thyquest\lib\error.php on line 45
Notice: Uninitialized string offset: 0 in C:\Inetpub\wwwroot\thyquest\lib\error.php on line 45
QSF Portal has exited with an error
mysql_query() [http://www.mysql.com/doc]: Field 'topic_poll_options' doesn't have a default value
Warning [2]:
The error was reported on line 123 of C:\Inetpub\wwwroot\thyquest\lib\mysql.php
Code:
120 if (isset($this->get['debug'])) {
121 $this->debug($query);
122 }
123 $result = mysql_query($query, $this->connection) or error(QUICKSILVER_QUERY_ERROR, mysql_error($this->connection), $query, mysql_errno($this->connection));
124 return $result;
125 }
126
Backtrace:
File:
Line:
Call: See above for details.
File: C:\Inetpub\wwwroot\thyquest\lib\mysql.php
Line: 123
Call: mysql_query('I', '')
File: C:\Inetpub\wwwroot\thyquest\func\post.php
Line: 435
Call: db_mysql->query('I', 't', '', '', '3', '', '', '', '3', '')
File: C:\Inetpub\wwwroot\thyquest\func\post.php
Line: 55
Call: post->makePost('t')
File: C:\Inetpub\wwwroot\thyquest\index.php
Line: 133
Call: post->execute()
Thanks,
Posted Nov 17, 2006, 4:10 pm
We are using QSFportal 1.3.2. With IIS for Windows Server 2003 (version 6?). We're using latest PHP and SQL available online.
I am posting this in case someone happens to see an obvious fix we are missing, or perhaps to find out that it just isn't possible to run QSFportal on a windows server.
When I try to post a new message with QSFportal I get this error message:
Notice: Uninitialized string offset: 0 in C:\Inetpub\wwwroot\thyquest\lib\error.php on line 45
Notice: Uninitialized string offset: 0 in C:\Inetpub\wwwroot\thyquest\lib\error.php on line 45
QSF Portal has exited with an error
mysql_query() [http://www.mysql.com/doc]: Field 'topic_poll_options' doesn't have a default value
Warning [2]:
The error was reported on line 123 of C:\Inetpub\wwwroot\thyquest\lib\mysql.php
Code:
120 if (isset($this->get['debug'])) {
121 $this->debug($query);
122 }
123 $result = mysql_query($query, $this->connection) or error(QUICKSILVER_QUERY_ERROR, mysql_error($this->connection), $query, mysql_errno($this->connection));
124 return $result;
125 }
126
Backtrace:
File:
Line:
Call: See above for details.
File: C:\Inetpub\wwwroot\thyquest\lib\mysql.php
Line: 123
Call: mysql_query('I', '')
File: C:\Inetpub\wwwroot\thyquest\func\post.php
Line: 435
Call: db_mysql->query('I', 't', '', '', '3', '', '', '', '3', '')
File: C:\Inetpub\wwwroot\thyquest\func\post.php
Line: 55
Call: post->makePost('t')
File: C:\Inetpub\wwwroot\thyquest\index.php
Line: 133
Call: post->execute()
Thanks,
Posted Nov 17, 2006, 4:10 pm
- QSF Portal 2 12 Samson
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
KK,
This is what we are using.
IIS for Windows Server 2003 (version 6?). We're using latest PHP and SQL available online (both 5.x).
Posted Nov 17, 2006, 12:40 pm
This is what we are using.
IIS for Windows Server 2003 (version 6?). We're using latest PHP and SQL available online (both 5.x).
Posted Nov 17, 2006, 12:40 pm
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
Samson,
I'll check with my partner to see what versions he's using, but we are running QSFportal on a windows server, if you'd like us to test that for you.
Posted Nov 16, 2006, 8:08 am
I'll check with my partner to see what versions he's using, but we are running QSFportal on a windows server, if you'd like us to test that for you.
Posted Nov 16, 2006, 8:08 am
- Support 7 20 keberus
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
Replaced mine with yours having the escapes in it.
Gave me this error:
QSF Portal has exited with an error
Cannot modify header information - headers already sent by (output started at /home/mud/public_html/forums/func/vote.php:20)
Warning [2]:
The error was reported on line 77 of /home/mud/public_html/forums/index.php
Code:
74 }
75 }
76
77 header( 'P3P: CP="CAO PSA OUR"' );
78 session_start();
79
80 $qsf->user_cl = new $modules['user']($qsf);
Backtrace:
File:
Line:
Call: See above for details.
File: /home/mud/public_html/forums/index.php
Line: 77
Call: header('P')
Eventually I would like to make an html table that holds images from all the
sites players could vote for us on. Like a big box full of voting image links.
Am I going about this right?
Posted Oct 28, 2006, 7:53 pm
Gave me this error:
QSF Portal has exited with an error
Cannot modify header information - headers already sent by (output started at /home/mud/public_html/forums/func/vote.php:20)
Warning [2]:
The error was reported on line 77 of /home/mud/public_html/forums/index.php
Code:
74 }
75 }
76
77 header( 'P3P: CP="CAO PSA OUR"' );
78 session_start();
79
80 $qsf->user_cl = new $modules['user']($qsf);
Backtrace:
File:
Line:
Call: See above for details.
File: /home/mud/public_html/forums/index.php
Line: 77
Call: header('P')
Eventually I would like to make an html table that holds images from all the
sites players could vote for us on. Like a big box full of voting image links.
Am I going about this right?
Posted Oct 28, 2006, 7:53 pm
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
<?php
if (!defined('QUICKSILVERFORUMS')) {
header('HTTP/1.0 403 Forbidden');
die;
}
require_once $set['include_path'] . '/global.php';
class vote extends qsfglobal
{
function execute()
{
return "<a href="http://www.thyquest.com"><img src="http://www.thyquest.com/urmmorpg.png"></a>";
}
}
?>
That code there, gave me this error
Parse error: parse error, unexpected T_STRING in /home/mud/public_html/forums/func/vote.php on line 14
line 14 of course is the html stuff I added.
Posted Oct 28, 2006, 7:00 pm
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
How about if I want html code to work in the function like <img src> and <a href> I want this to make a vote page if you will on my navigation links. I noticed html code won't work with the way it is setup now.
Posted Oct 28, 2006, 5:55 pm
Posted Oct 28, 2006, 5:55 pm
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
Got it working now thanks Kiasyn!
Posted Oct 28, 2006, 5:46 pm
Posted Oct 28, 2006, 5:46 pm
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
Fatal error: Class 'vote' not found in /home/mud/public_html/forums/index.php on line 64
Line 64 being
$qsf = new $module($db);
Posted Oct 27, 2006, 11:04 pm
Line 64 being
$qsf = new $module($db);
Posted Oct 27, 2006, 11:04 pm
Member

GroupMembers
Posts 41
Joined Oct 9, 2006
Hrm, added some links of my own, but noticed that its not self explanatory how to get them to load up like files.php, help.php, or page.php does. So if I add the link I want there, mylink.php in the func directory that it actually does something. I'd rather not shoot it to another website, but have it recognize the new link with the same .css and header link navigation.
I have noted a spot in active.php that lists modules, and another spot in defaultutils.php.
How much more is it to this, is it a whole lot more?
Posted Oct 27, 2006, 10:23 pm
I have noted a spot in active.php that lists modules, and another spot in defaultutils.php.
How much more is it to this, is it a whole lot more?
Posted Oct 27, 2006, 10:23 pm


