Attachment size limit?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
jmao
Posts: 17
Joined: Fri Jan 09, 2004 5:19 am

Attachment size limit?

Post by jmao »

Is there a limit to the attachment sizes allowed? I tried increasing the number from 100000 to 500000 and my inc/config.php file become corrupted. Every entry on the config.php file ended up as "A".
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi!

This is a bug in phpMyFAQ 1.3.9pl1 and earlier. Please upgrade to 1.3.10!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jmao
Posts: 17
Joined: Fri Jan 09, 2004 5:19 am

1.3.10

Post by jmao »

I am running 1.3.10?!
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

oh......

Did you really upgrade all files in the admin/ directory?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jmao
Posts: 17
Joined: Fri Jan 09, 2004 5:19 am

UPgrade

Post by jmao »

I thought so since it was a clean install,...should I simply replace all files in the admin directory with those in a current download?

Jeff
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Jeff,

yes, that's okay and right. Can you please enable the DEBUG MODE in admin/index.php and post the output here?

thanks
Thorsten

P.S.: Maybe I should buy a Mac. :)
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jmao
Posts: 17
Joined: Fri Jan 09, 2004 5:19 am

Attachment size

Post by jmao »

After I cahnge the attachment size limit from 100000 to 200000, I get the following:

DELETE FROM faqadminsessions WHERE TIME < '1078833652'
SELECT user, pass FROM faqadminsessions WHERE UIN='6b0c793e3b54acd79173d1815573d168' AND ip = '24.198.4.185'
UPDATE faqadminsessions SET TIME='1078835452' WHERE UIN='6b0c793e3b54acd79173d1815573d168'
SELECT id, name, realname, email, pass FROM faquser WHERE name = 'admin' AND pass = '7e69be3ff24f6b2f6ec8ae6eb555352a'
SELECT faquser.rights, faqrights.id FROM faquser, faqrights WHERE faquser.ID = '1' AND faqrights.SHORT = 'editconfig'


5 Queries executed

In addition, all my configs are now "A".
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, I will test this clearly on my test box at home. Stay tuned!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jmao
Posts: 17
Joined: Fri Jan 09, 2004 5:19 am

All's well

Post by jmao »

It appears whatever code was causing the attachments problem was also the culprit for the attachment size limit issue.

Sorry for all the fuss!

Thanks again!
Jeff
Post Reply