Welcome, Guest
Username Password: Remember me

Your server doesn't seem to support remote update
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Your server doesn't seem to support remote update

Your server doesn't seem to support remote update 13 years, 2 months ago #5464

  • bugalugs
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
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,
Last Edit: 13 years, 2 months ago by bugalugs.

Re: Your server doesn't seem to support remote update 13 years, 2 months ago #5469

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
What Joomla! version do you use?

Re: Your server doesn't seem to support remote update 13 years, 2 months ago #5470

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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?
Last Edit: 13 years, 2 months ago by dryabov.

Re: Your server doesn't seem to support remote update 13 years, 2 months ago #5471

  • bugalugs
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
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.
Last Edit: 13 years, 2 months ago by bugalugs.

Re: Your server doesn't seem to support remote update 13 years, 2 months ago #5473

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Hmm. And what php version do you use?

Re: Your server doesn't seem to support remote update 13 years, 2 months ago #5474

  • bugalugs
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi, 

Its PHP 5.3.8.

Mark.
  • Page:
  • 1
Time to create page: 0.12 seconds

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.