Your server doesn't seem to support remote update

bugalugs
13 years, 2 months ago
Hi,

I get the following error when running the Joomla remote update for Mobile Joomla, any suggestions on how to fix?

I am running MobileJoomla 1.0 RC 2.1.

----------------------------------------

Updating Mobile Joomla!
Downloading latest package
Unpacking
Installing component
Your server doesn't seem to support remote update. Please download & install the latest Mobile Joomla! manually.

Warning: substr() expects parameter 1 to be string, array given in /home/weirb958/public_html/libraries/joomla/installer/helper.php on line 60

Warning: substr() expects parameter 1 to be string, resource given in /home/weirb958/public_html/libraries/joomla/installer/helper.php on line 60
ok

Cheers,
dryabov
13 years, 2 months ago
What Joomla! version do you use?
dryabov
13 years, 2 months ago
Seems it's Joomla!1.6. Corresponding code is
$meta_data = stream_get_meta_data($inputHandle);
foreach ($meta_data['wrapper_data'] as $wrapper_data)
{
/*line 60*/ if (substr($wrapper_data, 0, strlen("Content-Disposition")) == "Content-Disposition")
{
$contentfilename = explode ("\"", $wrapper_data);
$target = $contentfilename[1];
}
}
According to php documentation, $meta_data['wrapper_data'] contains "mixed" data, but it's usually array of strings. And seems in your case it's not true (as it's resource instead of string). I don't know how it's possible.

Does allow_url_fopen enabled in php.ini?
bugalugs
13 years, 2 months ago
Hi, thanks for you quick response.

I dont have access to php.ini on my host, I have sent a ticket to find out. I will post here when I get a response.

Also, its Joomla 1.7... "Joomla! 1.7.0 Stable [ Ember ] 19-Jul-2011 14:00 GMT".

I tested this on my local machine configuring php.ini as suggested and it worked. So I suspect its the php.ini on my host.

Cheers.
dryabov
13 years, 2 months ago
Hmm. And what php version do you use?
bugalugs
13 years, 2 months ago
Hi, 

Its PHP 5.3.8.

Mark.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.