Forum

You are not logged in. Please note that you need to log in before posting.

Dear friends! Please note that hitAppoint will be on holidays till June 12, 2011 with a limited online access. We apologize for delayed replies. Every request will be promptly resolved on return.

#1 2009-11-28 17:44:34

mscarr1
Member
From: Dallas, TX
Registered: 2008-06-12
Posts: 150
Website

clickatell

I am getting Clickatel errors

PHP System Error: "http : // api . clickatell . com/ http / sendmsg?user=mscarr&password=xxxxxx1&api_id=xxxxxto=12148104844&text=CarrsDigital+Appointment+request%3A%0D%0APlease+check+your+Email+for+all+Info%0D%0Aat+10%3A00+AM+on+19+Nov+2009%0D%0AEmail+or+Call+me+at+214.828.4844%0D%0ADO+NOT+TEXT+REPLY%21%21": failed to open stream: no suitable wrapper could be found

Offline

 

#2 2009-11-29 06:12:14

algis
Administrator
Registered: 2006-01-09
Posts: 1724
Website

Re: clickatell

Hello,
this error means that your server configuration prevents the software to open remote web address (clickatell website in this case). I'm sorry, your wesite tech support should be contacted if this function can be opened.

Offline

 

#3 2009-11-30 11:39:28

mscarr1
Member
From: Dallas, TX
Registered: 2008-06-12
Posts: 150
Website

Re: clickatell

After contacting my Yahoo web hosting they gace me the following info:

The PHP community has identified certain PHP configurations and directives whose misuse can result in insecure code. To help protect all of our customers, the following options will be disabled for all accounts beginning October 1, 2009:

    * register_globals
    * allow_url_fopen and its corollary, allow_url_include

These functions allow the developer to retrieve data, or open a file or retrieve file data, from a remote location, such as to load a site template from another file system. Note that for security concerns, register_globals is deprecated in PHP 5.3 and will soon be removed completely from PHP.

You or your developer can use more secure methods to accomplish the same goals. You may be able to rewrite scripts using allow_url_fopen, for example, to reference files locally using relative paths. You can also cURL to retrieve your remote data.

With allow_url_fopen and allow_url_include disabled, local inclusion using include(), include_once(), require(), and require_once() will still work normally.

Although we support the use of PHP with your site, we cannot help you write or debug your scripts. For help updating your scripts, we recommend that you contact your developer, review the PHP community's documentation on register_globals, or visit the PHP Group web site.

You will not be able to edit your own php.ini or use htaccess to reenable these functions. For concerns about the impact of turning off these functions on your site, please contact customer care.

Offline

 

#4 2009-12-01 02:15:35

algis
Administrator
Registered: 2006-01-09
Posts: 1724
Website

Re: clickatell

Hello,
thank you, they seem to require another way to access remote sites. Please update this file:

plugins/sms-clickatell/smsEngine.php

It will try to make use of CURL functions as advised by your website support. Please let me know how it works for you.

Offline

 

#5 2009-12-01 12:05:32

mscarr1
Member
From: Dallas, TX
Registered: 2008-06-12
Posts: 150
Website

Re: clickatell

I get the following with the test message

Result         Clickatell Gateway Response
Error              1

This was at the top of the web page
ID: 429576295d519e9fb06b756f96506fc5

Offline

 

#6 2009-12-03 00:36:23

algis
Administrator
Registered: 2006-01-09
Posts: 1724
Website

Re: clickatell

Could you please give me a temporary FTP access? (I'm sorry this is a special case that I can't recreate at my machine)

Offline

 

#7 2009-12-03 17:12:12

mscarr1
Member
From: Dallas, TX
Registered: 2008-06-12
Posts: 150
Website

Re: clickatell

I Email you the requested info on yesterday

Offline

 

#8 2009-12-05 16:08:27

algis
Administrator
Registered: 2006-01-09
Posts: 1724
Website

Re: clickatell

Hello,
thank you for the access, it greatly helped. I've fixed the code, now it returns just what the Clickatell gateway replies.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson