Welcome, Guest. Please Login or Register.
May 06, 2024, 01:05:29 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Converters  |  Attn: Jeff Lewis !!! « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: Attn: Jeff Lewis !!!  (Read 5611 times)
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #15 on: December 27, 2001, 04:52:12 PM »
Reply with quote

Hmm well I don't know.  I thought maybe the fields were set too small...can you post a test poll on our forum (in the test board of course) using the same options and question?

What version of PHP/mySQL are you using?

Can find out by creating a file called phpinfo.php containing just this:

<?
phpinfo();
?>

Call it up in your browser...
Logged

Brad
Sr. Member
****
Posts: 316


Promoter of YaBB

ICQ - 83017998 WWW
Re:Attn: Jeff Lewis !!!
« Reply #16 on: December 27, 2001, 04:54:19 PM »
Reply with quote

OK I found the bug or at least what causes the polls not to work.  The moment I put a ' in a word the poll doesn't work.  If I leave out ' the polls work.  So what do you think would cause this problem?
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #17 on: December 27, 2001, 06:28:54 PM »
Reply with quote

I already told you what it was now get me that version of your PHP and mySQL ;)

It's part of the apostrophe problem we're looking into...
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #18 on: December 27, 2001, 06:43:49 PM »
Reply with quote

In your Post.php on line 200 add this line:

$option1 = add_slashes($option1);
Then create a new poll and make it so tat there are no apostrophes.  Option 1 CAN have one though, make it like test's to see what happens.  The rest can't.  See if that takes...
Logged

Brad
Sr. Member
****
Posts: 316


Promoter of YaBB

ICQ - 83017998 WWW
Re:Attn: Jeff Lewis !!!
« Reply #19 on: December 27, 2001, 09:16:44 PM »
Reply with quote

Sorry Jeff,

was on the road.  I'm back in town now.  Here is the link to the phpinfo you need http://performance-shop.com/phpinfo.php  Let me know if that is the right version?

Brad
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #20 on: December 27, 2001, 09:24:04 PM »
Reply with quote

Did you try adding that line like I asked ;)
Logged

Brad
Sr. Member
****
Posts: 316


Promoter of YaBB

ICQ - 83017998 WWW
Re:Attn: Jeff Lewis !!!
« Reply #21 on: December 27, 2001, 09:29:03 PM »
Reply with quote

I just sent you an IM
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #22 on: December 27, 2001, 09:39:17 PM »
Reply with quote

Sorry, I meant Poll.php :)
Logged

Brad
Sr. Member
****
Posts: 316


Promoter of YaBB

ICQ - 83017998 WWW
Re:Attn: Jeff Lewis !!!
« Reply #23 on: December 27, 2001, 09:42:04 PM »
Reply with quote

Oh sure,  trying to make me feel stupid hey  ;D

I gotta step out for a bit but I will try it when I get back.
« Last Edit: December 27, 2001, 09:42:30 PM by bradst » Logged

Brad
Sr. Member
****
Posts: 316


Promoter of YaBB

ICQ - 83017998 WWW
Re:Attn: Jeff Lewis !!!
« Reply #24 on: December 28, 2001, 01:02:35 AM »
Reply with quote

OK I tried adding that code and I got this error after attempting to make a poll.

Fatal error: Call to undefined function: add_slashes() in /home/www/performance-shop/yabbse/Sources/Poll.php on line 200
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #25 on: December 28, 2001, 01:51:40 AM »
Reply with quote

Ok, well you've graduated to the apostrophe problem ;)  Looking into it but don't expect a quick fix.  Maybe on the weekend :)
Logged

Brad
Sr. Member
****
Posts: 316


Promoter of YaBB

ICQ - 83017998 WWW
Re:Attn: Jeff Lewis !!!
« Reply #26 on: December 28, 2001, 03:01:40 AM »
Reply with quote

Damn! :-\

I was hoping that your infinite knowledge of these boards would allow you to troubleshoot this and have an answer within minutes.  

I wait patiently,

Brad.
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #27 on: December 28, 2001, 03:04:43 AM »
Reply with quote

Well, it's just that I haven't got to sit and take a good look.  Christmas, then back to work, then a family gathering, then setting up my sons VCR and computer etc.  Just been busy, I'll probably look tomorrow night.  I just need to find a place to work with ;)
Logged

Brad
Sr. Member
****
Posts: 316


Promoter of YaBB

ICQ - 83017998 WWW
Re:Attn: Jeff Lewis !!!
« Reply #28 on: December 29, 2001, 07:43:49 PM »
Reply with quote

If you want to test things on my  boards let me know.  Your more then welcome.  

Brad
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Attn: Jeff Lewis !!!
« Reply #29 on: December 29, 2001, 08:50:07 PM »
Reply with quote

Brad, download the zip I have here and try it out to see how it goes...

http://www.yabb.info/community/index.php?board=2;action=display;threadid=2785;start=30
Logged

Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  Attn: Jeff Lewis !!! « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.071 seconds with 19 queries.