Attach Files Problem
Moderator: Thorsten
Hi,
please enable the DEBUG MODE in attachment.php in the admin/ directory and post the output here.
thanks
Thorsten
please enable the DEBUG MODE in attachment.php in the admin/ directory and post the output here.
thanks
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
DEBUG output
Where do I find the output? I've enabled debug, but I don't see much of anything in the Admin log?
Hi,
can you resize the popup window greater?
bye
Thorsten
can you resize the popup window greater?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Found it
The output is after the </html> tag, so it doesn't render on the page,...but in the source I find:
<p>DELETE FROM faqadminsessions WHERE TIME<'1078833489'<br>
SELECT user, pass FROM faqadminsessions WHERE UIN='6b0c793e3b54acd79173d1815573d168' AND ip = '24.198.4.185'<br>
UPDATE faqadminsessions SET TIME='1078835289' WHERE UIN='6b0c793e3b54acd79173d1815573d168'<br>
SELECT ID,NAME,PASS FROM faquser WHERE name = 'admin' AND PASS = '7e69be3ff24f6b2f6ec8ae6eb555352a'<br>
SELECT faquser.rights, faqrights.id FROM faquser, faqrights WHERE faquser.ID = '1' AND faqrights.SHORT = 'addatt'<br>
</p><p>5 Queries executed</p>
<p>DELETE FROM faqadminsessions WHERE TIME<'1078833489'<br>
SELECT user, pass FROM faqadminsessions WHERE UIN='6b0c793e3b54acd79173d1815573d168' AND ip = '24.198.4.185'<br>
UPDATE faqadminsessions SET TIME='1078835289' WHERE UIN='6b0c793e3b54acd79173d1815573d168'<br>
SELECT ID,NAME,PASS FROM faquser WHERE name = 'admin' AND PASS = '7e69be3ff24f6b2f6ec8ae6eb555352a'<br>
SELECT faquser.rights, faqrights.id FROM faquser, faqrights WHERE faquser.ID = '1' AND faqrights.SHORT = 'addatt'<br>
</p><p>5 Queries executed</p>
Hi,
no other output and the attachment isn't uploaded?
Have you access to your error.log from your Apache?
bye
Thorsten
no other output and the attachment isn't uploaded?
Have you access to your error.log from your Apache?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Log
No other output, and no attachment. In the error_log, I see:
[Tue Mar 9 07:30:38 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
[Tue Mar 9 07:30:52 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 35
[Tue Mar 9 07:30:52 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
[Tue Mar 9 07:30:52 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
[Tue Mar 9 07:32:51 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
[Tue Mar 9 07:30:38 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
[Tue Mar 9 07:30:52 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 35
[Tue Mar 9 07:30:52 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
[Tue Mar 9 07:30:52 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
[Tue Mar 9 07:32:51 2004] [error] PHP Notice: Array to string conversion in /Library/WebServer/Main/kbase/inc/functions.php on line 38
Hi,
you've got an old functions.php file from 1.3.9. Please use the functions.php from 1.3.11 RC1 and tell me if it works...
bye
Thorsten
you've got an old functions.php file from 1.3.9. Please use the functions.php from 1.3.11 RC1 and tell me if it works...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
functions.php
When I replace the functions.php in inc with the one from the 1.3.11 download, I can't load any pages,...juts get a blank page,...given you think my functions is a 1.3.9 functions.php file, I'll take some time today and verify all code is the current stable 1.3.10 (in Edit Configurations, it lists 1.3.10).
Thanks for all the help,...I'll check in when I've verified I've got all new code,...
Jeff
Thanks for all the help,...I'll check in when I've verified I've got all new code,...
Jeff
All is well,...
I'm not sure how or what files were not current,...I've replaced all the files from a fresh download and now the attachments are working fine,...at least you know it's not an OS X issue,..although if you have the cash,...I'd get one anyway,...they're just more fun 
Thanks for the help!
Jeff

Thanks for the help!
Jeff