Problem attaching files: cannot be opened without authentifi

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
bass000
Posts: 5
Joined: Mon Jun 28, 2004 2:11 pm

Problem attaching files: cannot be opened without authentifi

Post by bass000 »

I try to attach a file and I get the error:
The file attachment.php cannot be opened without proper authentification.

I am properly using all the administrative functions, but not this one,
it seems to have something deeling with sessions not being kept, but I can't figure out why is it doing this...

Thank you in advance for your help.
bass000
Posts: 5
Joined: Mon Jun 28, 2004 2:11 pm

Post by bass000 »

Just to add here are the debug informations:

before submitting the attach form:
DELETE FROM faqadminsessions WHERE TIME<'1088591849'
SELECT user, pass FROM faqadminsessions WHERE UIN='932a4bb6b97819d53a496d285eccc989' AND ip = '194.98.113.202'
UPDATE faqadminsessions SET TIME='1088593649' WHERE UIN='932a4bb6b97819d53a496d285eccc989'
SELECT ID,NAME,PASS FROM faquser WHERE name = 'admin' AND PASS = '1a9bcd021bfb5a4000a9a8bc402c145b'
SELECT faquser.rights, faqrights.id FROM faquser, faqrights WHERE faquser.ID = '1' AND faqrights.SHORT = 'addatt'

5 Queries executed

after submiting:



Notice: Undefined index: uin in /Library/WebServer/Documents/faq/admin/attachment.php on line 85
Le fichier attachment.php ne peut être ouvert sans authentification préalable.

DELETE FROM faqadminsessions WHERE TIME<'1088591922'
SELECT ID,NAME,PASS FROM faquser WHERE name = '' AND PASS = ''

2 Queries executed


(I use the french lang file)
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bass000
Posts: 5
Joined: Mon Jun 28, 2004 2:11 pm

Post by bass000 »

Sorry I missed that!! :oops: :?

I am using the 1.3.14.

Thanks again :lol:
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, I'm looking for what's wrong.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bass000
Posts: 5
Joined: Mon Jun 28, 2004 2:11 pm

Post by bass000 »

To add to the problem, it seems this is only happening with .hqx files under Mac OS X, I tried several other types which worked out.
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, I test it on my box and I cannot confirm this bug. The data in second posting shows me that the UIN number was not transfered into the popup window and your authorization was killed.

Strange.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply