Need some help

Status
Not open for further replies.

sasukexkouta

New Member
Messages
54
Reaction score
0
Points
0
Does my php settings alow for DOMDocument, cURL or WGET. I need to know because I use elgg on my site and a plugin requires it?
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
cURL should be working, WGET probably wont work, as it's a SSH command what I know, and SSH access is not allowed on free hosting.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
1. cURL works
2. wget is a shell command and the PHP functions that use shell commands are disabled. But if you ever need to use wget directly in a cron job, it does work that way.
3. DOMDocument works.

For future reference, the quickest way to see if a PHP feature is enabled on your account, run a small script to test it.

The PHP Manual usually has snippets of code demonstrating the various functions which you can cut and paste to test.

For DOMDocument I found this on the site...

PHP:
$sXML = '<root><element><key>a</key><value>b</value></element></root>';
$doc = new DOMDocument();
$doc->preserveWhiteSpace = false;
$doc->formatOutput   = true;
$doc->loadXML($sXML);
echo $doc->saveXML();

exit() ;

Ran it and it works.
 

sasukexkouta

New Member
Messages
54
Reaction score
0
Points
0
hm.. strange I wonder why it doesn't work,

if you want to check it for youself then here http://live.anime-com.co.cc theres a test account user test and pass password.

But this is the error it gives.

Code:
[B]Fatal error[/B]:  Exception thrown without a stack frame in [B]Unknown[/B] on line [B]0[/B]

I know this is more a problem with the plugin but theres no where to get support for it.
 
Status
Not open for further replies.
Top