php,twilioRelated issues-Collection of common programming errors
Iain
apache-2.2 php centos suphp
We have a server that’s handling uploads. The memory limit is set at a ridiculously high level in php.ini (800 M).. however we have gd, which is managing the image resizing, but it is dying at about 60M of memory usage (our error log is reporting a fatal error at this stage).From all our Apache config files (CPanel/WHM managed), I can’t find a RLimitMem that’s set anywhere either.I’ve looked as well if there’s any limits set in our kernel, but can’t find anything there as well.Is there somethin
Haresh Vidja
ubuntu php wordpress
I have moved my server data PHP + WordPress and database(mysql) from one server to another server… All things working fine… but some time i got page blank in click submit button.. This problem occures some time ..I didnt get any error or fatal error in errorLog file and not get access entry in accsessLog file also on time of blank page.. Black page issue occurs some time on same taskSo how can I fix this problem..
Scott Pack
apache-2.2 php centos
So the same code works on my Ubuntu server but when I upload it to my dedicated hosting server running CentOS it seems to add an extra prefix of .:/usr/share/pear:/usr/share/php: I tried setting includepath to different things but it just doesn’t work. The file is in a directory called language in the same folder as the file that is including it and I’m using:include dirname(__FILE__).DIRECTORY_SEPARATOR.”language”.DIRECTORY_SEPARATOR.”storage.inc”; include dirname(__FILE__).”/language/language.
mike
php cpanel pdo
Getting this error: Fatal error: Class ‘PDO’ not foundHave these lines in php.ini:extension=pdo.so extension=pdo_sqlite.so extension=sqlite.so extension=pdo_mysql.soThis shows up in php.info()– –enable-pdo=shared’ ‘Have access to whm but there is no “software” tab from which to access easyapatche? Any suggestions??
Mahbubur R Aaman
php centos zend-framework
Shows PHP Fatal Errormain(): Failed opening required ‘Zend/Loader.php’I have installed ZF on /usr/share/phpzf command is working. I can create project and do other works using zf command. But while including the library path then shows the error.Am i missing something?
Passionate Developer
apache-2.2 php
I am getting below errors despite setting memory_limit in php.ini to 64mb:Fatal error: Out of memory (allocated 6291456) (tried to allocate 91284 bytes) in /home/favstayc/public_html/coverbuddy2/cake/libs/configure.php on line 1067What could I change to fix this issue?
BlaM
php iis7 stdout stderr
Okay, this is slowly getting annoying. I’m used to work with Apache Webservers and never had any of these problems. IIS seems to try to be intelligent – or whatever.Here’s my situation: My customer wants a PHP website and it is supposed to run on an Windows IIS webserver.For my development environment I could use my Apache – but just to be sure I want to do it with IIS, too. So I set up a dev-server with Windows Vista, all the latest Updates and installed IIS. Everything fine!I quickly found ins
WerkkreW
apache-2.2 php varnish
We recently migrated our site to a load balanced apache cluster behind varnish. Since that time a very small subset of users is reporting they cannot view any pages. I have narrowed the issue down quite a bit. This issue was not present before the move, the old infrastructure was a single large box.We are on Rackspace Cloud running 8 apache2 instances behind varnish 3.0 all load balanced using Rackspace Cloud load balancers (Zeus) and 2 mysql instances for a total of 10 servers, all linux.Use
Uvais Ibrahim
php php-extensions pecl expect
I got some serious error while installing expect extension in PHP.I ran sudo pecl install channel://pecl.php.net/expect-0.3.1I got error like this while running make,running: make /bin/bash /tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/libtool –mode=compile cc -I. -I/tmp/pear/temp/expect -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/include -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/main -I/tmp/pear/temp/expect -I/usr/include/php5 -I/usr/include/php5/main -I/u
Justin808
php http httpd hostgator
OK, so I’m uploading a 350meg zip file. The file one uploaded is unzipped and the contents are processed. The processing consists of reading in a data file, then copying and thumbnailing images, the adding data to a database. This is all once process start to finish. I can see in the log that the datafile is processed. I can see on the filesystem the thumbnails get created. But then it looks like the whole this starts over from scratch with blank post data and it fails.When I look at the httpd l
Andrew Charlton
php twilio
I’m trying to send a text message when a form is submitted using Twilio’s test account however I’m receiving the following error: ‘Fatal error: Class ‘Services_Twilio’ not found’My code is as follows:} else{//PHP nativemail( $to_guest, $subject, $html_text, $header_guest);// Outlet Admin notification emailmail( $to_admin, $subject, $notification_text, $header_admin);/* Send an SMS using Twilio. You can run this file 3 different ways:** – Save it as sendnotifications.php and at the command line,
somedev
php curl proxy http-headers twilio
Our environment requires the use of an outbound proxy for offsite services. Normally this isn’t a problem. In this case with Twilio, the extra header returned breaks the client.Outgoing headers:POST /2010-04-01/Accounts/FOO/SMS/Messages.json HTTP/1.1 Authorization: Basic FOO== User-Agent: twilio-php/3.10.0 Host: api.twilio.com Accept: */* Accept-Charset: utf-8 Content-Type: application/x-www-form-urlencoded Content-Length: 108Response Headers:HTTP/1.0 200 Connection establishedHTTP/1.1 201 Creat
2Dee
android twilio
I am using twilioclient-android-1.1.2-3635733 in my application, the MonkeyPhone Class file seems like – package com.twilio.example.hellomonkey;import java.util.HashMap; import java.util.Map;import android.content.Context; import android.util.Log;import com.twilio.client.Connection; import com.twilio.client.Device; import com.twilio.client.Twilio; import com.twilio.client.Connection.State;public class MonkeyPhone implements Twilio.InitListener {private static final String TAG = “MonkeyPhone”;pr
Will
php twilio
I am really frustrated as I can’t figure out why my Twilio callStatus for the REST api is not working :S…Any ideas?It makes a call at stackoverflow.php but when it hits the yournextnumber.php it doesn’t execute the if statements because most likely there is no value in the callStatus any idea why the status is not being sent?stackoverflow.php<?php // Include the Twilio PHP library require ‘Services/Twilio.php’;// Twilio REST API version $version = “2010-04-01”;// Set our Account SID and Aut
livebanchies
php const user-agent twilio
I have PHP 5.4.21I’m using a Twilio API that works fine from a browser but in command line mode, I get the following error:<b>Parse error</b>: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in <b>sms/Services/Twilio.php</b> on line <b>36</b>Line 36 of the specified file is part of the following class, please see my note where I specify Line 36.I added all lines of code leading up to and immediately after Line 36 for c
Ann Kilzer
java osx ssl twilio certificates
I’m following the Twilio-java example from the github page. Here’s the code snippet I wrote:private boolean doSms(Notification notification) {String message = “test”;try {final MessageFactory messageFactory = mainAccount.getMessageFactory();final List<NameValuePair> messageParams = new ArrayList<NameValuePair>();messageParams.add(new BasicNameValuePair(“To”, notification.getUser().getPhoneNumber())); messageParams.add(new BasicNameValuePair(“From”, BoundaryNumber)); messageParams.add
anks
python django twilio
I am getting an unexpected error and am unable to find out the solution to my problem.When I am submitting the form on which I am getting the following error:Traceback (most recent call last):File “/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py”, line 111, in get_responseresponse = callback(request, *callback_args, **callback_kwargs)File “/home/ubuntu/django-apps/poive/apps/smsreminders/views.py”, line 77, in cron_process_adherence_responsesresults =process_adherence_respons
Ashish Agarwal
java google-app-engine twilio
I am trying to create an Outbound call from google app engine using Twilio helper liabrary like below codeprivate void createcall(HttpServletRequest req, HttpServletResponse resp) {String ACCOUNT_SID = “AC69000ff19655ca86c5a4ae027b886665”;String AUTH_TOKEN = “bef9594c1e7f542b6e331bd7e50077d0”;try {TwilioRestClient client = new TwilioRestClient(ACCOUNT_SID,AUTH_TOKEN);Map<String, String> params = new HashMap<String, String>();params.put(“Url”, “http://demo.twilio.com/docs/voice.xml”);
engineerKev
php wamp twilio
I’ve recently taken on the task of making a quick and dirty static html page that will use php to access Twilio and reply with an SMS. I am new to Twilio, and was following this tutorial:http://www.twilio.com/docs/quickstart/php/sms/sending-via-restWhen that failed I went back to check if I had skipped any steps after downloading the php zip and read over the content in the install page of the Twilio website, but even that didn’t make sense, since I have never herd of PEAR and simply downloaded
user2706899
php twilio
Hi I keep geting the following error when I try to delete a number from my twilio subaccount using REST API in PHPmy code is;$number = $twClient->account->incoming_phone_numbers->get($number_Sid); $twClient->account->incoming_phone_numbers->delete($number->sid);The error that I am getting is;[22-Aug-2013 09:40:17 UTC] PHP Fatal error: Uncaught exception ‘Services_Twilio_RestException’ with message ‘The requested resource was not found’ in C:\Program Files (x86)\Zend\Apa
Web site is in building