![]() |
I have just one problem. http://forums.lotronline.com/quiz.php the table is huuuuuuge. Something up with the template?
|
The problem appears to be your header: you're missing a closing table row and table tag. I'm not sure which tags it is specifically, but it looks like your header template ends without a closing </tr> or </table> tag...which would be okay, except it doesn't end with an opening <td> tag, either.
|
Whaaaaaat?
|
I still get this error:
Fatal error: Unsupported operand types in ....../forums/upload/quiz.php on line 350 (By now I have only Default style installed) |
I thinked I fixed the missing thing but still no go
|
Sigon: just what I said, dude. :) Look at the HTML of the main quiz page...I'm not sure how to fix it exactly, but I'm 99% sure the main quiz page HTML is kosher.
bandersen: I'm workin' on it. :) In the meantime, though, can you tell me what version of PHP you're running? |
I gotcha mate. I am gonna install that template again and see what happens
|
TWT I re did all the templates and nada
|
PHP v 3 and something..... moving to 4.1.2 soon.
|
Sigon: I'm sorry man, I'm 99% sure that it's one of your templates that's causing the conflict. I've tested mine on fresh vB installations and on other's vBs and they work fine. I looked at your header HTML and there's definitely some missing or misplaced tags.
bandersen: I'm not sure if this is exactly compatible with a version of PHP that early or not. You might have to ditch all instances of the $HTTP_POST_VARS[] array. |
Bah! Guess my users have to deal with it. Until I can look at it
|
I've been following along and trying to figure out if this is ready to be installed. I'm running 2.2.2 and PHP 4.2.1, with 2 styles on my forums.
|
Smoothie: yes, it should work. If the templatesetid for your primary templateset is NOT 1, however, you'll need to let me know so you can run the installation script just a little differently.
|
Any fix for the error some of us are getting?
|
Which? :D The one on 350? Need more details, man, I'm juggling like four problems. Hehe.
|
Quote:
|
Yep. I hope. LOL.
|
I just installed without any errors. Created and approved my first quiz; when I run quiz.php on 2.21 I get:
Database error in vBulletin 2.2.1: Invalid SQL: SELECT quizid, quiztitle, description, timestamp, userid, catid, imagename FROM quiz WHERE approve = 1 ORDER BY timestamp DESC LIMIT |
BAH! Doesn't anyone read the blasted instructions file? :p It warns against that error and tells you what you should do before running the file to make sure it doesn't happen.
|
Quote:
|
TWT, can a moderator add a quiz?
|
TWT, I signed up for your site but somehow when I tried to do a quiz, they informed me that Only registered members are allowed to take the quiz eventhough I had done so.
Do advise. Great Hack! This is quite a stupid question. how do you add a quiz? |
Rascal: are you sure you're logged in? If so, try refreshing...it might be a cache problem.
Lionel: no, not with this setup, but I'm sure it could be modified to do so. Perhaps just by uploading the file to the /mod dir too and making the changes to that index.php file...but I'm not sure. |
Rascal: in your Admin CP. Under the "Quizzes" heading after you've installed the hack, there should be an "Add" link. :D
|
TWT, it's ok now.
As for my site, I'm having the same 350 error. How do you see the version of the PHP files you're running? Images attachment not working too. :) The file attached shows the alignment is not correct too. :) *Tried to submit a few times in Admin CP but to no avail* |
I don't understand that last part...the 350 error is seperate. The Admin CP submission doesn't fix that.
To see what version of PHP you're running, create a file with this inside, and run it: PHP Code:
|
The alignment is probably a clash with one of your templates. I installed that template on a fresh vB installation and there no alignment issue.
|
This looks great. I will install it this weekend and let you know how it goes. Thanks.
|
I have added the folder quizzes and chmodded it. But to no avail. I have no problem is I added smilies in Smilies folder though.
As for the version. Still no idea how to do it. Glad if you can guide me cos I'm not pretty sure about them. For the alignment, could you tell me where should I specify specifically for the template only or if it's not possible. Am I able to take out that bar? As for the last part, I am having the 350 issue. |
The 350 issue is a PHP version problem...at least, I'm nearly positive it is. As for the version: I explained it as best I could in the last post...I spelled it all out, I think. I'm not sure how much more specific I can get.
The chmoding must be off somehow: are you sure it's 777? Is the "quizzes" folder INSIDE the "images" folder? |
Here's what I did.
1. Make a new text file with <?php phpinfo(); ?> inside. 2. Name it text.php and place them on my server and execute it. But nothing happens. I have read and write for the folder. (/images/quizzes) Sorry for taking too much of your time. |
I don't think read and write is enough. Try full permissions.
As for the file: that should work. You should get a big display page full of information...if you don't...well, I dunno, you might have a VERY old version of PHP or something of the sort...in which case I don't know if there's anything that can be done. |
LOL....silly me. I execute it in my WS_FTP. Ok my version is 4.1.2
Tried full permission for all folders under /images. Same issue. But the funny thing is uploading smilies is ok. Take a look here at the attachment. There is no broken image there too. (Cos I'm sure if there is a column for the image, at least the view would have some sort of a broken image) |
TWT, your hack is spectacular. Is there a way to use a different header?
|
rascal: I'm confused. You mean there's no error when you try to upload the image? The quiz is added?
Lionel: I'm not sure what you mean. The templates are all built to use your header template contents automatically. |
There is no error whatsoever. The quiz is added. When I checked the folder, there are no images.
I only got the 350 error when I try to take the quiz. Do take a look at the attachment at post#114. |
I'm still working on the 350 error...
Hmm, that image thing is weird. What's the image's name? That might have something to do with it... |
The image name is lotr_the_fellowship_of_the_ring.jpg
Sorry I took your image just for testing purposes only. |
That's okay. :) Hmmm, I'll try to figure that out. I'd recommend giving another image a try to see what happens. I've gotta go to sleep for now, though. :D I'll try this tomorrow.
|
Sure and make sure you take a good rest. See ya soon.
|
All times are GMT. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|