Archive for มีนาคม, 2009

jquery flash Upload error 500

This is what i got from the server log:

mod_security: Access denied with code 500. Error processing request body: Multipart: final boundary missing [severity "EMERGENCY"]

This error message from ModSecurity means that the request body was not
properly constructed or something was wrong with the file upload (most
likely that the client timed out and did not fully complete the upload).

Other possible reasons for this -

1) If the end of the final boundary is missing a CRLF
2) If the size specified in the Content-Length header is too small. In
this case, Apache would cut off the end of the file.

Known bugs
If you are using Apache with mod_security this will not work, you need to put the following in your .htaccess file to disable mod_security:

SecFilterEngine Off
SecFilterScanPOST Off

Disabling mod_security isn’t allowed on some shared hosts, and only do this if you know what you are doing.

So editing the .htacces is what i will do next

  • Comments Off

Debian ships default with Exim4 as a mail server. To use this to send messages through Google’s smtp servers for GMail accounts, you need to do the following.

#?dpkg-reconfigure?exim4-config

-Choose YES, split configuration into small files

-Choose mail sent by SMARTHOST; received via SMTP or fetchmail

-Type System Mail Name: e.g. company.com

-Type IP Adresses to listen on for incoming SMTP connections: 127.0.0.1

-Leave Other destinations for which mail is accepted blank

-Leave Machines to relay mail for: blank

-Type Machine handling outgoing mail for this host (smarthost): smtp.gmail.com::587

-Choose NO, don’t hide local mail name in outgoing mail.

-Chose NO, don’t keep number of DNS-queries minimal (Dial-on-Demand).

Run

#?editor?/etc/exim4/passwd.client

and add the following lines:

{{{gmail-smtp.l.google.com:yourAccountName@gmail.com:y0uRpaSsw0RD *.google.com:yourAccountName@gmail.com:y0uRpaSsw0RD smtp.gmail.com:yourAccountName@gmail.com:y0uRpaSsw0RD}}}

Run #?chown?root:Debian-exim?/etc/exim4/passwd.client

The following only applies to exim 4.50 in sarge; in etch and sid the port can be configured via debconf with smtp.gmail.com::587. See the Debian exim docs for more detailed description.

  • The following will only work in split configuration. Next, tell it what port to try. Run

    #?vi?/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost and add the following line before the line containing “hosts_try_auth…”

    port=587 Add your outgoing email-address to the /etc/exim4/email-addresses

    #?echo?’YOUR-USER-NAME@LocalHost:?yourAccountName@gmail.com’?>>?/etc/exim4/email-addresses

Finally for all versions of Debian, run

#?update-exim4.conf

Good luck.

Possible Problems

If this doesn’t work, first enable POP for your GMail account, and then try:

#?tail?/var/log/exim4/mainlog.

If you see something like

2005-10-23?21:51:04?1ETuIW-0002iB-Qo?** yourAccountName@gmail.com?R=smarthost T=remote_smtp_smarthost:?SMTP?error?from?remote?mailer?after MAIL?FROM:<yourAccountName@gmail.com>?SIZE=1555: host?gmail-smtp.l.google.com?[64.233.163.111]:?530 5.7.0?Authentication?Required?23sm863650nzn

except there is something different than

gmail-smtp.l.google.com,

the host might be resolving to something else. In that case, replace the gmail-smtp.l.google.com in your /etc/exim4/passwd.client with whatever it says.

To try test these changes immediately—you might have failed enough times to have a very long delay between retries—run

#?exim4?-M?1ETuIW-0002iB-Qo

or

#?exim?-v?-M?1K3×0N-0000cb-Fq?2>&1?|?less

but replacing that garbage ID tag from the first line of the error entry in the log file with the ID of the failed message that you want to resend.

exim4 4.62-2, the default version for ubuntu Edgy has authentication problems. Bug report 403583 shows required changes to the hosts_try_auth clause of /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost.

If you see something like

failed?to?open?/etc/exim4/passwd.client?for?linear?search: Permission?denied?(euid=102?egid=102)

exim is unable to read the password file.

The following will restore the default permissions.

{{{# chown root:Debian-exim /etc/exim4/passwd.client # chmod 640 /etc/exim4/passwd.client}}}

If you see in mainlog message that states “Credentials Rejected”, type:

# vi /etc/exim4/passwd.client

and replace every yourAccountName@gmail.com with yourAccountName (delete @gmail).

  • Comments Off

Hello from Vermont. Newbie question here. GetHTML works fine for an alert; e.g.

Code: Select all
var field = FCKeditorAPI.GetInstance('QuestionTxt');
alert(field.GetHTML(true));

However, if I attempt to assign the output of getHTML to a JS variable, I get the error, Object doesn?t support this property or method:

Code: Select all
var field = FCKeditorAPI.GetInstance('QuestionTxt');
var value;
value = null;
value = field.getHTML(true);
alert(value);
  • Comments Off

CallerID returned with error

Can you try to add some parameters to zapata.conf before defining channel 3,4

cidsignalling = dtmf
cidstart = polarity
  • Comments Off

Time

Mp3

Msn status

  • manon2029@hotmail.com is

Chat with Meeh

Donate

    If you find an article useful, then please make a donation.

หมวดหมู่

UserOnline

Counter

  • Visitors today: 90
  • Visitors yesterday: 86
  • Visitors per day: 205
  • Max. visitors per day: 255
  • Total page views: 167,495
  • Page views of this page: 205
  • Currently online: 2
  • Max. online: 36
  • Total visitors: 36,258
  • counterStatistics