Can't access softacolous, and change/upload php file will be empty when saved

Yes, there is a HTTP 500.

Maybe you should read this:

2 Likes

Um, PHP files are amways blank on the web since PHP is a backend language.

Where are you trying to make the folder, and what you you calling it?

As said previously, PHP files that are not meant to show a page, * won’t show a page*. The config file is to configure the rest of Wordpress, not show something itself. If you visit your domain, you will find an HTTP 500 error, most likely from an invalid code in the config file.

1 Like

thanks for the hint, after i read it at Why are my files deleted after uploading them

for file sizes all follow the provisions.
but what I’m confused about is when we open the file without changing any code, just open it and press save, the file will change to 0 kb, the code is deleted/empty

How big is the file, and what is its location?

Did you try FileZilla? That can produce errors for us.

2 Likes

file size is 4 kb,
please help me, i will give you hosting access if needed

Can you show the contents of the “/htdocs” directory?

Also, copy and paste the contents of the wp-config file here.

Thanks.

1 Like

i have tried directly via cpanel, and have also tried filezilla but it doesn’t work

Hum, interesting. I don;t really know what to say. I had that problem before, and my solution was to wait it out.

1 Like

I have tried, even in the file that was normal, when we open it without changing the code, just open it and save it, the file will automatically be empty and the size will be 0 kb

the file either becomes empty or the code is lost. previously the web page was fine, when the wp-config file went blank the web page became a white screen

in htdoc

it’s true that the cause of blank web pages contains invalid code, maybe even there is no code (wp-config is just an empty file without any code)
the problem can’t be fixed in cpanel, because when I save the file it becomes empty

Download the file with FileZilla, than copy its contents here. The filemannager may just be showing a blank page, it does that sometimes.

never ask the user for it !

because it contains very sensitive data inside

2 Likes

it doesn’t matter, because the site is already down, thank you

i’ve done that, but it keeps going back to 0kb

thank you all for your response, sorry if my english is bad

is your problem solved? how long did you wait?

@beritainco

can you check the status and number of inodes ?

also check emails - in which you may have a warning regarding inodes

as well as Client Area banners


3 Likes

72 hours (3 days), BUT mine was during a server outage.

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