Forums

Image upload, Captcha

majid_b 13 Dec, 2008
Hello,

I have downloaded and integrated Chronoforms, two problems that I am facing are:

1. upload file isn't sent as attachment in email
2. if I try to use captcha it doesn't show the image.

Please provide instructions as how to solve these.

Thanks
GreyHead 13 Dec, 2008
Hi majid_b,

Do the files get uploaded to the com_chronocontact/upload folder?

Please check the tests on the Anti-Spam tab as they tell you if you have the correct PHP libraries installed. There's also a FAQ that you can check which has another test to try.

Bob
majid_b 13 Dec, 2008
Thanks for the quick reply.

1. No, the files are not uploaded in the com_chronocontact upload folder.

2. I can't find tests under the Anti-Spam tab.

Thanks
majid_b 13 Dec, 2008
Hello Bob,

I checked and found out that file upload was disabled, I have set my upload file size to 600KB and it doesn't allow to upload a file sized less than 100KB.

Majid
GreyHead 13 Dec, 2008
Hi majid_b,

Ok - please check the FAQ on file uploads. There are a couple of things that might be causing you problems.

Your anti-spam tab should look like the image here - does it?

Bob
majid_b 13 Dec, 2008
Hi Bob,

There is no sample image showing, rest of it is same as you've shown.

Majid
majid_b 13 Dec, 2008
Dear Bob,

I have checked the upload FAQs and I don't think any of those is the problem, the problem is the size of the image, I've added that $mosconfig_fileperms = '0644' in the configuration.php file but that didn't help.

Here is the error that I get when I try to upload the image:

"Sorry, Your uploaded file size exceeds the allowed limit."

Although I have set an image size of 600KB and in the global configuration of Joomla the maximum file size for upload is set to 10000000 bytes that sums up to more than 9MB.

Majid
GreyHead 13 Dec, 2008
Hi majid_b,

Ok - please post a screen shot of your File Uploads tab so we can double-check the settings.

Thanks, Bob
majid_b 13 Dec, 2008
Hello Bob,

Here is the screen shot of the upload tag:

[attachment=0]upload.gif[/attachment]

Thanks

Majid
GreyHead 13 Dec, 2008
Hi Majid_b,

I think that should be
file_1:jpg|gif|png{600-0}
with '|' (no spaces) instead of commas.

Bob
majid_b 13 Dec, 2008
Hello Bob!

Oh, my bad, I figured it out, I was using " , " as separator between image extensions instead of pipe sign.

It is working now. Thank you very much for the help.

I need to know about the captcha though and here is the screen shot for Anti Spam Tag:

[attachment=0]Anti-Spam.png[/attachment]

Currently it is disabled since I wanted to check the upload file, I'll enable it now since the upload is working.

Thank you very much once again.

Majid
GreyHead 13 Dec, 2008
Hi majid_b,

Hmmm the Anti-Spam tab *should* be showing a sample image.

Please try 'Without fonts' . . . if that doesn't show an image please try the error-check described in the FAQ.

Bob
majid_b 14 Dec, 2008
Hello Bob,

I have done as mentioned in the FAQ section and have got the following error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email]webmaster@rexforhealth.com[/email] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------

Can you please give me a hint as how to solve this problem?

Thanks,
Majid
GreyHead 14 Dec, 2008
Hi majid_b,

Hmmmm . . . like it says in the message - check the server log and contact your isp . . .

Bob
majid_b 14 Dec, 2008
Bob!

Thank you very much for the help.

That problem is resolved now the sample image is now showing.

When captcha was not working I removed the captcha / image verification field from the form and now I want to put it back there, how can I do that?

Majid
GreyHead 14 Dec, 2008
Hi majid_b,

Thanks :-)

Bob

PS Just back from lunch so missed your earlier post and you've fixed it now. For other readers: I'd probably use the form wizard to create a dummy form with just a Captcha box, then copy and paste the code into my existing form.
Jesus 16 Dec, 2008
Hello, I have this similar problem with the captcha:
[attachment=2]f_cap_mo.jpg[/attachment]

I've checked the gd support on my red hat server
[attachment=1]pqt_intalado.jpg[/attachment]

and replaced the "Content-type: text/html" in chrono_verification.php (if and else)
[attachment=0]php_img_png_mo.jpg[/attachment]

with fonts, without fonts, with text, with image, with firefox, with explorer and still nothing... jejejeje

thanks for your help.
GreyHead 16 Dec, 2008
Hi jesus,

Try removing the error message - may be the '/' in there is causing some problems with this page. You should get Yes or No answers showing up at least.

Bob
Max_admin 16 Dec, 2008
Hi Jesus, try to ask change the permissions of the com_chronocontact folder to be 775 and the file chrono_verification.php to 644 ?

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Jesus 17 Dec, 2008
Hello Max, thanks for your comment, unfortunately nothing.

I've changed permissions #1 #2 and nothing #3
help.[attachment=0]prob_captcha2.jpg[/attachment]

I would really like and use ChronoForms whit this security item, thank you very much for all your help
Max_admin 17 Dec, 2008
Hi Jesus,

I really have no more ideas, there are more rare issues posted by others here or you can quickly drop a message to your host admin and he will have better ideas!🙂

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 18 Dec, 2008
Hi Jesus,

There's something more fundamental than permissions wrong here. Those messages on the Anti-Spam tab should say Yes or No - they shouldn't be blank. I suspect some fault with the GD installation in your PHP.

Bob
Jesus 19 Dec, 2008
Hello Bob and Max, thanks a lot for your comments.

I'll fistfight the server until it works (I don't the expression in English: le voy a caer a piñas al servidor hasta que funcione jejeje)

Thanks.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger