By Luis Eduardo Ruiz Baños on Friday, 06 October 2017
Posted in Technical Issues
Likes 0
Views 1.3K
Votes 0
Hello,

I'm getting this issue "Unable to parse server response." with the Media Manager in the backend and frontend when trying to upload or set an image. I also get the same error when trying t o upload a photo to an album with EasySocial.

Please I need help
Thanks Luis, I've applied some fix in this file JoomlaFolder/administrator/components/com_easysocial/includes/explorer/hooks/abstract.php , can you give it a check and see how it goes?

By the way, can I have the permission to try upload file into one of your test group/event/page into your site? Because i would like to make sure all the upload file is working on your site.
·
Wednesday, 11 October 2017 19:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you provide us with your following details at http://stackideas.com/dashboard/site so we can better have a check?

And attach one of the image file which hitting this error.
·
Friday, 06 October 2017 19:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Do it
·
Friday, 06 October 2017 19:28
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems like it work fine for me when i upload my image on your site, you can check my attached screenshot below.

Can you upload that image file which having this issue so I can use your image file to try replicate this issue on your site.

May i know is it possible provide us with your FTP access so we can better have a check?
·
Friday, 06 October 2017 19:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi!

The problem now is when I try to upload a PDF through "archivo" (file).

Thank you and sorry for my english
·
Friday, 06 October 2017 19:57
·
0 Likes
·
0 Votes
·
0 Comments
·
It okay

It seems like you hitting this following error :


Warning: is_dir(): open_basedir restriction in effect. File(/media/com_easysocial/files/users) is not within the allowed path(s): (/usr/home/bolsapolis.com/:/home/bolsapolis.com/:/usr/home/services/:/usr/share/php56/) in /usr/home/bolsapolis.com/web/libraries/joomla/filesystem/folder.php on line 479

Warning: is_dir(): open_basedir restriction in effect. File(/media/com_easysocial/files) is not within the allowed path(s): (/usr/home/bolsapolis.com/:/home/bolsapolis.com/:/usr/home/services/:/usr/share/php56/) in /usr/home/bolsapolis.com/web/libraries/joomla/filesystem/folder.php on line 479

Warning: is_dir(): open_basedir restriction in effect. File(/media/com_easysocial) is not within the allowed path(s): (/usr/home/bolsapolis.com/:/home/bolsapolis.com/:/usr/home/services/:/usr/share/php56/) in /usr/home/bolsapolis.com/web/libraries/joomla/filesystem/folder.php on line 479

Warning: is_dir(): open_basedir restriction in effect. File(/media) is not within the allowed path(s): (/usr/home/bolsapolis.com/:/home/bolsapolis.com/:/usr/home/services/:/usr/share/php56/) in /usr/home/bolsapolis.com/web/libraries/joomla/filesystem/folder.php on line 479

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/usr/home/bolsapolis.com/:/home/bolsapolis.com/:/usr/home/services/:/usr/share/php56/) in /usr/home/bolsapolis.com/web/libraries/joomla/filesystem/folder.php on line 479

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/usr/home/bolsapolis.com/:/home/bolsapolis.com/:/usr/home/services/:/usr/share/php56/) in /usr/home/bolsapolis.com/web/libraries/joomla/filesystem/folder.php on line 479



You will need to actually check this with your hosting provider. If it's possible, turn open_basedir off . If it's not possible, you should request your hosting provider to add the /media/ path to the open_basedir settings.
·
Friday, 06 October 2017 20:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi!

My hosting provider say this:

--
Le comunicamos que la ruta donde se intentan subir los archivos son erróneas y no es posible añadir dichas rutas a la configuración del servidor ya que son rutas establecidas.

Se debe modificar la programación del archivo que permite las subidas para que se adecue a las válidas y no al contrario. La ruta válida es /usr/home/bolsapolis.com/
---

Short: The URL on EasySocial where the files are uploaded is not correctly configurated.

The error say: /usr/home/http://bolsapolis.com/web/libraries/joomla/filesystem/folder.php but the correct one is: "/usr/home/bolsapolis.com/web/libraries/joomla/filesystem/folder.php" without http://

(I wrote in this message bolsapolis.com and automatically say http://...)

How can I modify this path?

Thank you!
·
Tuesday, 10 October 2017 02:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Perhaps you can update your following site details at http://stackideas.com/dashboard/site so we can better have a check?

- Joomla backend access
- FTP access
- htaccess (screenshot : http://take.ms/WeZzc) this is what i get when i access your backend page
·
Tuesday, 10 October 2017 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect, I did it.
·
Wednesday, 11 October 2017 00:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, i think i understand why your hosting tell you remove that http:// from your previous reply, it seems like our forum will automatically append when detected that is domain name, it will append that http:// into reply section.

Can you pass my attached screenshot to your webhosting provider and see how it goes? Because from the screenshot path is correct as what their help you set from your PHP server for this open_basedir path.

I think the correct path should be use this because when i connect with your FTP server, i need to open this /web directory folder then i only can access your current site Joomla root folder :
[gist type="php"]
/usr/home/bolsapolis.com/web:/home/bolsapolis.com/web:/usr/home/services/:/usr/share/php56/
[/gist]

Keep us update then.
·
Wednesday, 11 October 2017 12:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi!

My hosting say this:

Nosotros no hemos respondido que hay que eliminar http de la ruta. Decimos que la ruta del servidor correcta es la que le comentamos y es la que tiene que aplicar los programadores.

Es decir, tiene que estar en alguna de estas rutas:

http://bolsapolis.com/:/home/bolsapolis.com/:/usr/home/services/:/usr/share/php56/
·
Wednesday, 11 October 2017 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi!

Thank you! Works fine
·
Thursday, 12 October 2017 07:12
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome. Glad to hear that your issue has been resolved now.

By the way, this fix will included in Easysocial 2.1 as well.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 12 October 2017 10:09
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post