Some Ajax Function Not Working

May 13, 2008

I got PHP working. But some of the Ajax functions it not working.

For example:
in wordpress admin, i can only use HTML mode to start a new post. I cant switch to VISUAL mode. And it was working before though.

What option do i need to compile PHP with to make it work?

Right now i have:

Quote:

'./configure' '--prefix=/opt/lsws/lsphp4' '--with-litespeed' '--with-mysql' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib'

View 5 Replies


ADVERTISEMENT

PHP Mail() Function Not Working

Dec 10, 2007

I have just changed servers and uploaded a mail() script which was working on my previous config but does not work on the new server config. What is stopping the emails from being delivered, is there something new in WHM that I need to do?

Here are my WHM and cPanel details:

WHM 11.11.0 cPanel 11.15.0-R18264
REDHAT 4 i686 on standard - WHM X v3.1.0

View 13 Replies View Related

PHP Mail() Function Stopped Working

May 10, 2008

I have a dedicated that suddenly stop php mail() function to work.

Very strange because if I run php script with mail() function as root on command line all working fine.

But If I run php script with mail() function in my browser so not work. Seems that only ROOT can run mail() function.

View 3 Replies View Related

PHP Mail() Function Not Working With Lighttpd

May 10, 2007

I recently started using lighttpd + with PHP using Fast-CGI on a server hosting 14 blogs powered by WordPress, the server works great and this change reduced server load in about 50% which is nice for us, considering some of our blogs have a very high visitor traffic.

Our only problem so far is that since we switched to lighttpd the PHP's mail() function is just not working. I have compiled and re-compiled PHP and Lighttpd without any effects. I have a test site still working with Apache and PHP scripts can send mail without problems.

I've searched forums and Google for some kind of answer but none whatsoever maybe someone can give me pointers on how to solve this. Thanks a lot!!

Server details:

Lighttpd version: 1.4.15
PHP version: 4.4.4
Kernel: 2.6.9-42.0.3.ELsmp
Server has cPanel/WHM installed

PHP configure options:

--prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-xmlrpc --with-zlib --with-kerberos --with-imap-ssl --enable-fastcgi --enable-force-redirect

View 5 Replies View Related

Email Function Not Working (MS Window Server 2003)

May 23, 2008

We have a MS Window server 2003 with SP2, currently there is a website running, the webiste is desgined by using asp.net 2.0 c#.

We reinstalled the window server 2003 last week, and we found the email functions not working any more(users in the website can't receive email each other).

I have spent days and trying to figure out, but no luck, I have tried to reset the IIS settings, SMTP Virtual settings, and add/remove windows componets settings...

View 6 Replies View Related

[cPanel] Function Mail(); And Fowarders E-mail - Not Working

Jul 24, 2007

I have problem:
1. Function mail(); not working

2. osCommerce e-mail error:

Code:
Gid 32157 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail.

3. Fowarders working only on internal accounts e-mail
fowarder@mydomain.com --> email@mydomain.com - working
fowarder@mydomain.com --> my-emiail123@mail.pl - not working

This is VPS cPanel (OpenVZ) on my dedicated server.

View 3 Replies View Related

AJAX On A VPS

Sep 10, 2008

I've developed an AJAX app which is essentially a souped up chatroom. The client basically polls the server every 10 seconds, and XML containing any new information for the client is returned from the server by a php script. A separate script is called when a message is posted and stuck in a MySQL database.

It's a bit more complex than that because it also fetches RSS feeds but that's the essential core.

The bandwidth is extremely low, especially as all the graphics and javascript files are served from a separate server.

At the moment I'm running on a VPS in the US for $40/month with 512MB RAM. I'm not sure there's much more I can do to optimise the code and the queries, but the whole thing chokes when there are more than 200 online. A typical response time to a client in the UK (where most users are based) is 300ms but that grows exponentially after about 180 come online.

Being a developer who knows very little about hosting, my questions are:

* Should it be grinding to a halt with that load?
* Is any shared hosting or VPS likely to cope or am I looking at a dedicated server?
* How much RAM am I going to need to handle all the script and database threads?
* As it's only used intensively once or twice a week, would a cloud be viable or would response times be just too low?
* Can I do this for under £60/month?

I'm ideally looking for a managed solution including backups, so I can just get on and write the thing on a stable platform which doesn't need mail, secure space, redirection or anything other than the ability to serve html and xml using php and mysql.

View 8 Replies View Related

ModSecurity + Ajax

May 29, 2007

I am running apache 1.3 + modsecurity 1 my problem is i can not use ajax coz of modsecurity is there any way to make ajax work with modsecurity on apache 1 coz i know it's work on apache 2

View 1 Replies View Related

Ajax - IPower VPS

Oct 28, 2007

I recently changed from shared hosting to VPS hosting w/ iPower.

Since the move, my AJAX checkout module stopped working. No coding changes have been made on my end. Could the issue be on the server side? Do I need to enable something in PLESK?

View 2 Replies View Related

Net 2.0, MSsql AJAX 12domains

Dec 2, 2008

I saw the suggestions to search around the site for good hosts, but it's really challenging to sort out the advertising vs real life experience and personal reviews.

Can anyone give some suggestions for a shared hosting service that can handle my needs for:
.Net 2.0
MSsql allowing remote databse connect
AJAX
about 12 domains
ability to allow several domains to work off the same database
prefer telephone tech support so I can call when things go down.
Tried Godaddy, but they don't allow remote connection to a database (good luck managing large projects)

Tried EasyCGI but not flexible enough

Tried Seekdotnet but even low traffic sites go down, they jumble which domains are connected to your ftp access (one time I had access to another clients html data), and take weeks or up to 'never' to fix hosting errors (fairly sure the errors were not due to the application.)

Heard about IXwebhosting but people don't seem to fond of them hear.

I'd really appreciate some honest input on reliable, reasonable, well supported windows hosting.

View 3 Replies View Related

Installing Relay Ajax Script

Mar 12, 2007

Trying to install this script (can't find any reasonable support method on their site)
http://ecosmear.com/relay/

I'm getting this error during install....

Database Connected....
done
Dropping tables if the exist...done
Creating tables
*relay_clients...
*relay_filesystem...
*relay_log...
*relay_permissions...
*relay_users...
done creating tables
generating random password key : xxx... done
creating first relay administrator...done
rootpath : /home/user
setting up first Virtual Directory: /home/user/filestore....done
setting up permissions....done
Ghostscript NOT enabled
ImageMagik Convert NOT enabled
thumbnailed image types : image/jpeg|image/png
Generating config files: if creation fales make sure the webserver has permission to write to here : ...
Warning: fopen(/home/user/conf.inc.php) [function.fopen]: failed to open stream: Permission denied in /home/user/public_html/relay/install/index.php on line 382
/home/user/conf.inc.php can not open

I am using cpanel/whm and installed ghostscript via rpm module.

root@server [/home/user/public_html]# chmod 755 relay
root@server [/home/user/public_html]# /scripts/checkimagemagick
ok
root@server [/home/user/public_html]# /scripts/installimagemagick
ImageMagick installed ok

The install page has this area which I left as is: ....

View 0 Replies View Related

Apache :: Timeout With Ajax-Requests Between Tomcat

Feb 20, 2013

I have an Apache Server (2.4.3) and a Tomcat Server (7.0.36) and have some Java Applications deployed.Everything works fine, but when we start a quite long Ajax process, I see in my Java Application, that a Ajax request is received and starts processing - everything fine. But during processing of the first request, I see a second request starts after 5 minutes.

View 1 Replies View Related

Non-working Forwarding Email Account On Working Domain

Apr 24, 2008

I have a domain with a few forwarding email accounts that forward to mac.com email accounts... for some reason every once in a while these accounts stop working...

This is the error I get when I email to that account:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed: ...

View 9 Replies View Related

Disable Function

Dec 3, 2008

It possible to disable the disable function for all user expect one account for running few application i need shell_exec, passthru, exec these so for other account it possible to disable it?

View 2 Replies View Related

Diasbled Function In Php.ini

Apr 12, 2007

suppose that i am a costumer. is it possible to see disabled function in php.ini?
(using any script)

View 1 Replies View Related

Function Checking

Mar 5, 2007

How can figure out which functions are active on my server?
I have root access and the server is Linux.

I want to know wheather the function "fsockopen" is open or not.

View 7 Replies View Related

Function : Curl_init()

Jul 30, 2007

Fatal error: Call to undefined function: curl_init() in /home/user/public_html/news/include/function.php on line 1526

how to fix this.??
thanks

NB: My server info

Centos
apache1
my php -v give :

Code:
php -v
PHP 4.4.7 (cli) (built: Jul 27 2007 18:31:31)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Suhosin v0.9.20, Copyright (c) 2002-2006, by Hardened-PHP Project
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

View 5 Replies View Related

Function.file-get-contents

Mar 25, 2009

I got this warning message from a script I was working on to read XML feeds.

Warning: file_get_contents(url) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:Apache2.2htdocs est5.php on line 8

but when i run the url itself, it works fine.

i already set allow_url_fopen = On

View 2 Replies View Related

Disable Mail Function

May 21, 2008

I am starting to webhosting company in it I have included a package will be free and add supported and also I want to disable some functions like mail() ..........I mean I want to disable SMTP services anyone have idea how can I do that.

View 14 Replies View Related

Using Crypt Function In C++ On Linux

Apr 23, 2008

Can anyone tell me in order to use the crypt function (amd md5sum) in a c++ program (g++ on CentOS assuming the cryptography libary is installed) what do I have to

#include

?

View 1 Replies View Related

Mail Function Not Work

Apr 5, 2008

the php mail function not work on my server!

when I run this function not show any error too.

for example I run this code:

<?php
echo "ok";
$to = 'myemail@mydomain.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: test@domainname.com' . "
" .
'Reply-To:test@test@domainname.com' . "
" .
'X-Mailer: PHP/' . phpversion();

if(mail($to, $subject, $message, $headers)){

echo "sent";

}else{

echo "notsent";
}
?>

View 14 Replies View Related

PHP Mail() Function Does Not Work

Jul 25, 2007

I just re-installed PHP4, Apache, and MySQL and now the "mail" function in PHP will not work. Is there a way to correct this? Is there some configuration value in Apache or PHP I must change?

View 2 Replies View Related

How Much Can Php's Mail Function Really Handle

Apr 15, 2007

I have mixed feelings on the mail() function in php. I've seen it send out amazing numbers of emails and yet I keep reading that it is prone to problems. I'm wondering if someone can put an approximation on what you could/would send out in say 60 seconds. I know that there are tonnes of variables, so i'll try and remove a few:

- server hardware is typical of a cpanel/WHM shared hosting environment
- running apache/linux
- email is say 20kb HTML format
- mail is sent in a php script loop, one by one; alternatively, mail() could be called in clusters of x emails - like send 5 emails at once
- there are 400 recipients

View 7 Replies View Related

Function.include Error

Jan 8, 2007

Ive searched google and this forum for hours and have not found any solution to this below error on a site of mine.

I am using php 5.2

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/comosabe/public_html/footer.php on line 5

View 2 Replies View Related

Php Virtual() Function Doesn't Work

May 28, 2009

We setup a new server and we're trying to use virtual() function to work with a certain script that requires it.

We already tried several ways to make it work. But at this moment, we only could make it work on PHP 4 with DSO.

View 5 Replies View Related

How To Enable/disable Mail() Function

Feb 16, 2009

how to know if mail() function is enabled or disabled on my server? how to enable/disable it?

can it be done via server control panel or is there a shell command for it?

one more thing, where to get/edit the SMTP data for my server?

View 14 Replies View Related

Server Slow After Using Mail Function

Apr 20, 2008

I used the mail function in php to send mails to my 25000 members in a loop..

After using it my server has gone very slow.. Load has increased a lot from 2 to around 20.. Major load is taken by sql and then httpd (both have increased)..

I had restarted mysql and httpd.. even reinstalled apache but no help..

View 14 Replies View Related

Function.include Error After Transfer

Jun 18, 2008

We transfer some hosted website from our usa server to our cana server and they have function.include error in new server.

View 2 Replies View Related

Setting Up PHP Mail() Function On New Server

Jan 12, 2007

how to set up the mail () function in my PHP.ini on a Linux server.

Is there a generic path that I need to use in order to allow the mail function to work in the scripts?

We do have a mail server set up, the address of which being "mail.companyname.com" ... do I need to insert that into the ini file somwhere instead?

View 0 Replies View Related

Enable PHP Function Via Httpd.conf

Mar 6, 2007

I 'd like to enable php function "mail" via directive for specific account in httpd.conf
what's directive syntax for it,

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved