Saturday, December 3, 2022
HomeWordPress Developmentxampp - Didn't add picture on localhost

xampp – Didn’t add picture on localhost


I’m making an attempt to edit my theme on a contemporary set up by way of the customization web page. When I attempt to add the positioning emblem by way of the media uploader, I get the next error:

“emblem.png” has didn’t add on account of an error: Unable to create listing wp-content/uploads/2022/12. Is its mum or dad listing writable by the server?

The positioning runs on my PC by way of XAMPP. I’ve given all permission to each person on the pc to the wordpress folder.

Though, the problem is likely to be linked to the truth that I’ve edited the httpd.conf file to have the ability to serve websites from exterior of the htdocs folder.

So as a substitute of C:/xampp/htdocs/wordpress my web site runs from E:/GitHub/wordpress. The beginning pages opens within the browser. I can even entry the admin web page. However each time I attempt to add a picture, I get the error above.

I do not know if it is related, however here’s a chunk of my httpd.conf file:

DocumentRoot "C:/xampp/htdocs"
<Listing "C:/xampp/htdocs">
    Choices Indexes FollowSymLinks Consists of ExecCGI
    AllowOverride All
    Require all granted
</Listing>
<Listing "E:/GitHub">
    Choices Indexes FollowSymLinks Consists of ExecCGI
    AllowOverride All
    Require all granted
</Listing>

...

<IfModule alias_module>
    Alias /github "E:/GitHub"
    ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
</IfModule>

Any concepts?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments