Pages: [1]
Author Topic: Errors with Script When Adding new questions and Not Showing Image uploads  (Read 369 times)
Ninja_Gaid3n
Forum Member
***
Posts: 6


View Profile
« on: October 16, 2009, 07:10:18 AM »

Hi,

I have purchased this script and have been using it for facebook integration.  A debug window appears when i try to add a new question and also the image that is uploaded toaccompany the question does not show, the error which is displayed when adding a new querstion says it is found on (line 87) once the add new question button is clicked.

I would very much appreciate your help,

thankyou.
Logged

admin
Administrator
Jr. Member
*****
Posts: 85


View Profile
« Reply #1 on: October 16, 2009, 04:01:50 PM »

Hi please show us where you are using the script ?
Logged

Ninja_Gaid3n
Forum Member
***
Posts: 6


View Profile
« Reply #2 on: October 19, 2009, 04:14:49 AM »

hi ok, the script is being used on:

xxx: apps. facebookxxx: /cooptravel/?auth_token=d8e2df715c55990e00e6475baf705323&next=http%3A%2F%2Fxxx: images. cooptravel. co. uk%2Ffbquiz%2Ffb%2Fsearch. php

and
xxx: xxx: images. cooptravel. co. uk/fbquiz/index. php

i have just deleted everything amd am about to reinstall and see if it works without errors this time.

could you please still have a look at it.

i just tried uploading an image and i get this error.

Warning: move_uploaded_file(uploads/categories/around-the-world-in-8. 0-questions-1255949856. png) [function. move-uploaded-file]: failed to open stream: Permission denied in /home/imagesc/public_html/fbquiz/admin_addcategory. php on line 20

Warning: move_uploaded_file() [function. move-uploaded-file]: Unable to move '/tmp/phpQDHRpY' to 'uploads/categories/around-the-world-in-8. 0-questions-1255949856. png' in /home/imagesc/public_html/fbquiz/admin_addcategory. php on line 20

i did what i saw advised in another thread about CHMOD the uploads folder to 777 aswell.

When i add new questions it seems to work fine now, but i get logged out all the time still.

also.  I saw in the install instructions that the canvas mode should be set to FBML instead of iframe, but when it is set to that mode it does not work, casuing an error:

Errors whilst loading page from application
Parse errors:

FBML Error (line 10): illegal tag "body" under "fb:canvas"



So I have kept the display mode as Iframe.


If you PM me, i can send u the login details, many thanks]





Logged

Ninja_Gaid3n
Forum Member
***
Posts: 6


View Profile
« Reply #3 on: October 19, 2009, 07:58:11 AM »

also i was wondering if there is a way so that once people have done one of the quizzes it posts the quiz  they have done on theyre wall so that they can compare there quiz against there mates? is that a feature already available in the app or doers it need to be implemented, if you could give guidance on how to go about that, i would be very grateful

cheers
Logged

Ninja_Gaid3n
Forum Member
***
Posts: 6


View Profile
« Reply #4 on: October 19, 2009, 08:34:07 AM »

i have just tried adding a cookies feature to it, and it seems to work for admin work, but when i am logged in and take a quiz it logs me ouot and as such i can not comment on quizzes etc. aswell

sorry for all these queries and points, it is just things that i am noticing

thankyou.
Logged

admin2
Administrator
Forum Member
*****
Posts: 28


View Profile
« Reply #5 on: October 19, 2009, 10:38:45 AM »

Hi buddy.

Our develper offers first class prompt support, as soon as he sees this thread he will help you out.

Many thanks.
Logged

Tom
Administrator
Forum Member
*****
Posts: 36



View Profile WWW
« Reply #6 on: October 19, 2009, 02:25:32 PM »

It looks to me that the FBML error you are getting could be caused by you changing the Facebook design? Have you altered the template in any way -- it would look to me that the error is that you have a <body> tag beyond the <fb:canvas> tag, which would cause an error in Facebook's parsing (they don't use standard HTML, more a modified version).

Regarding statistics they are planned for a future update. Do not worry as stats are already being stored in the database, there is just no way to show them at the moment -- once added they will all be visible even from the past quizzes. I'm not sure when the update will be, but it will be relatively soon once I am back into my proper coding routines.

Try for a moment CHMODding your whole 'fbquiz' folder to 777, and see if that helps. I am struggling to see why move_uploaded_file() would not work on some servers as it is a standard PHP function. You should check with your host to make sure they have this enabled.
« Last Edit: October 19, 2009, 02:28:14 PM by Tom » Logged

PHP Quiz Script Developer

Ninja_Gaid3n
Forum Member
***
Posts: 6


View Profile
« Reply #7 on: October 20, 2009, 02:01:54 AM »

Additionally i am still getting logged out all the time when navigating and then taking and quiz... can i have help with fixinf this please.

with the image upload i have seen what you have written on another thread and am emailing the hosting company to ask about the php.ini file

cheers
Logged

Ninja_Gaid3n
Forum Member
***
Posts: 6


View Profile
« Reply #8 on: October 20, 2009, 04:29:55 AM »

Cheers for the info above mate, i have checked with the hosting company and they do not know what the problem with it is, i can hand u some login details if u cud have a look urself at some point, also the hosting company brought to my attention again that the user kept on being logged out Undecided
Logged

Tom
Administrator
Forum Member
*****
Posts: 36



View Profile WWW
« Reply #9 on: October 21, 2009, 03:27:28 PM »

Ninja_Gaid3n: Forward your details to me at tom [at] 47ideas [dot] com. I'll take a look when I get chance. Please include FTP and your admin login details for the script.
Logged

PHP Quiz Script Developer

Pages: [1]
Print
Jump to: