Image not showing up

Hello family my website was working fine but once I updated it, it is not showing up all images and audio I uploaded but when I click download it download the file please note that on local Host it works so fine please help me here is link

https://mvakamalawi.ml

There is no fold for the user, the fold is created once a user upload first image

1 Like

Try clearing your cache and visiting the site again.

2 Likes

As Thewebuser22 said, try clearing your cache. Your website seams to work fine on our end, so your browser might be showing you an older cached version of your page.

2 Likes

Even if I access it using my phone no images are displayed or any pc you same thing is showing up

1 Like

You can use https://www.proxysite.com/ as proxy



I can enter your site with https://www.proxysite.com/

@DonnexKamsonga

You have a problem with the URL
because something adds HTTP in front of the already existing HTTPS protocol
so your URL is actually like this

http://https// ← bad

and the browser then avoids displaying everything requested via the insecure protocol (http -mixed cont.)

4 Likes

so what should do there

do it for me provided it work out

maybe the .htaccess file is wrong
or some PATH is to blame somewhere
or config
or is it something with Cloudflare

you know your website and code
I can’t give the exact cause from the outside because it’s PHP

in any case - the problem is linked to index.php

3 Likes

and most of your pictures are on this path where that dir includes is

and includes does redirection to index.php but with http://https//mvakamalawi.ml/index.php

and then you have the problem I already mentioned



- Request 1: https://mvakamalawi.ml/includes/

URL: https://mvakamalawi.ml/includes/
Host: mvakamalawi.ml
IP: 172.67.155.153
Error/Status Code: 302
Priority: HIGHEST
Protocol: HTTP/2
HTTP/2 Stream: 1, weight 256, depends on 0, EXCLUSIVE
Client Port: 55170
Request Start: 0.516 s
DNS Lookup: 284 ms
Initial Connection: 106 ms
Time to First Byte: 561 ms
Bytes In (downloaded): 0.2 KB
Bytes Out (uploaded): 1.6 KB

Request Headers:

:method: GET
:authority: mvakamalawi.ml
:scheme: https
:path: /includes/
upgrade-insecure-requests: 1
user-agent: Oxy Dac super secret browser like Firefox
sec-fetch-site: cross-site
sec-fetch-mode: navigate
sec-fetch-dest: document
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9

Response Headers:

date: Mon, 22 Mar 2021 09:54:46 GMT
content-type: text/html; charset=iso-8859-1
set-cookie: __cfduid=d02813cee177553ed38abe67c6dbc02d41616406885; expires=Wed, 21-Apr-21 09:54:45 GMT; path=/; domain=.mvakamalawi.ml; HttpOnly; SameSite=Lax; Secure
location: http://https://mvakamalawi.ml/index.php
cache-control: max-age=0
expires: Mon, 22 Mar 2021 09:54:46 GMT
cf-cache-status: DYNAMIC
server: cloudflare
:status: 302

5 Likes

Besides I see that the name of the image (file) starts with a dot
.www.mvakamalawi.ml602df10e9e37f.png

Such files are hidden files in Linux, by convention, and security-sensitive files (.htaccess and .htpasswd in particular) begin with .. Additionally, a popular though outmoded exploit once involved putting .. in paths, and the use of /./ in paths could in some cases be used to foil access rules. For these reasons, most apache configurations tend to deny access to these files and paths.

5 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.