# Public link not display

**URL:** <https://forum.pydio.com/t/public-link-not-display/686>\
**Category:** Pydio 8\
**Created:** [February 15, 2018, 6:56am UTC](https://forum.pydio.com/t/public-link-not-display/686 "2018-02-15T06:56:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 15, 2018, 6:56am UTC](https://forum.pydio.com/t/public-link-not-display/686/1 "2018-02-15T06:56:39Z")

</div>

Hi everybody,  
I’m a new starter on Pydio. Today i’ve got a problem with the public sharing / public link.  
Indeed when i share a link with other users the page display :

“file\_put\_contents(/usr/share/pydio/tmp/failedAJXP.log) failed to open stream : Permission denied”

Did someone meet this problem ? And How resolve it.  
Thanks.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 15, 2018, 9:09am UTC](https://forum.pydio.com/t/public-link-not-display/686/2 "2018-02-15T09:09:13Z")

</div>

Hi,  
your issue might be that you didnt give the rights to www-data to the public folder, first thing you could try is give it rights, another thing might be to just clear the plugins cache.  
Try those if the issue is not resolved come back here we will see it in details.

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 15, 2018, 10:18am UTC](https://forum.pydio.com/t/public-link-not-display/686/3 "2018-02-15T10:18:49Z")

</div>

I apply rights in my public folder and change groupe owner to www-data and clear the plugins cache.  
But, my issue is not resolve.

Do you have another advice ?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 15, 2018, 11:43am UTC](https://forum.pydio.com/t/public-link-not-display/686/4 "2018-02-15T11:43:59Z")

</div>

Hi,  
could you look at this file `usr/share/pydio/tmp/failedAJXP.log` and if it’s there look at whats inside it.

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 15, 2018, 12:36pm UTC](https://forum.pydio.com/t/public-link-not-display/686/5 "2018-02-15T12:36:51Z")

</div>

hello,  
Look the result of contents of /tmp/failedAJXP.log  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/9a767133bc117c645bb87a29a7f50c8615e3b247.png)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 15, 2018, 1:24pm UTC](https://forum.pydio.com/t/public-link-not-display/686/6 "2018-02-15T13:24:54Z")

</div>

Hi, can you try to remove this file and try again, i had kinda the same issue when i was trying to reproduce your case "file\_put\_contents(/usr/share/pydio/tmp/failedAJXP.log) failed to open stream : Permission denied”  
i didn’t do specific things but it was working again.

And if i may did you configure everything such as the rewrite rules, output\_buffering = off.

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 5:26am UTC](https://forum.pydio.com/t/public-link-not-display/686/7 "2018-02-16T05:26:31Z")

</div>

I remove the failedAJXP.log and apply rights to all users. I didn’t have the error message, but nothing display on the page.  
And Where is the rewrite rules, output\_buffering = off ?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 16, 2018, 8:23am UTC](https://forum.pydio.com/t/public-link-not-display/686/8 "2018-02-16T08:23:28Z")

</div>

Hi,  
you can find it in your php.ini,  
to know where this file is located use `php -i | grep "Loaded Configuration File"`  
then you go to this file and modify it, by default it will be `output_buffering=4096`.

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 10:04am UTC](https://forum.pydio.com/t/public-link-not-display/686/9 "2018-02-16T10:04:48Z")

</div>

nothing change.  
here my configuration :  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/3cd6b4ccb6cf74a5c2905e399a8b5553dbca0191.png)

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 10:05am UTC](https://forum.pydio.com/t/public-link-not-display/686/10 "2018-02-16T10:05:47Z")

</div>

![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/74524413fd88761ee8dd12ddaf04194ca80142af.png)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 16, 2018, 10:16am UTC](https://forum.pydio.com/t/public-link-not-display/686/11 "2018-02-16T10:16:59Z")

</div>

Hi,  
yes your apache2.conf seems fine but did you put the `output_buffering` to `off`.  
By the way is your Download URL the same as your Pydio’s ? if yes you could just remove it and change the URI above to `/pydio/public` instead it will produce the same result, it will be `http:// ********** /pydio/public` when you share a link try it to see if it works this way.

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 10:55am UTC](https://forum.pydio.com/t/public-link-not-display/686/12 "2018-02-16T10:55:34Z")

</div>

I apply :  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/0108f61b4f9a0bbeae9aa9db7b48b45d577d0c9b.png)

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 10:57am UTC](https://forum.pydio.com/t/public-link-not-display/686/13 "2018-02-16T10:57:44Z")

</div>

And apply :  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/d9ba965ab06711324dfdf0c61578576a4cfc02a2.png)

Now, my page display “cannot find this page”

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 16, 2018, 11:21am UTC](https://forum.pydio.com/t/public-link-not-display/686/14 "2018-02-16T11:21:18Z")

</div>

Hi,  
for the output\_buffering value it’s [this one](http://prntscr.com/ifjbfq) not the one that you linked above.

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 11:28am UTC](https://forum.pydio.com/t/public-link-not-display/686/15 "2018-02-16T11:28:26Z")

</div>

![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/ca09f955acd41d075ff215c799435aeaabe772ef.png)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 16, 2018, 11:36am UTC](https://forum.pydio.com/t/public-link-not-display/686/16 "2018-02-16T11:36:16Z")

</div>

Hi,  
yes this one, now set it to `output_buffering =` **off** ( for the example i had let it by default which is 4096 ).

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 11:50am UTC](https://forum.pydio.com/t/public-link-not-display/686/17 "2018-02-16T11:50:16Z")

</div>

I did it, but nothing to display. On my link sharing page. 😩

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 16, 2018, 11:58am UTC](https://forum.pydio.com/t/public-link-not-display/686/18 "2018-02-16T11:58:32Z")

</div>

And did you try my suggestion ?

> [@zayn](#):
>
> By the way is your Download URL the same as your Pydio’s ? if yes you could just remove it and change the URI above to /pydio/public instead it will produce the same result, it will be http://\*\*\*\*\*\*\*\*\*\*/pydio/public when you share a link try it to see if it works this way.

let’s see your webserver’s logs.

---

<div class="post-metadata">

**Author:** ![Wizzy](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@Wizzy](https://forum.pydio.com/u/Wizzy)\
**Post date:** [February 16, 2018, 12:47pm UTC](https://forum.pydio.com/t/public-link-not-display/686/19 "2018-02-16T12:47:01Z")

</div>

ok,here is my apache logs :

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/c7333373f5ee7856b47f4127decd1b2f3734c0fd.png)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [February 16, 2018, 1:02pm UTC](https://forum.pydio.com/t/public-link-not-display/686/20 "2018-02-16T13:02:18Z")

</div>

Hi,  
yeah i thought that it would mention php errors but it didn’t,  
is `a2enmod rewrite` enabled.

edit : do you still get the `file_put_contents(/usr/share/pydio/tmp/failedAJXP.log) failed to open stream : Permission denied”`just refresh the page, i’ve reproduced it once more and i just needed to refresh the page.

[Next page](https://forum.pydio.com/t/public-link-not-display/686.md?page=2)
