help to id locations that effect file-locations
-
===================
WordPress Troubleshooting problemSummary here(Details below)
=======================My Live web-site (hosted on site-ground) had errors in updating themes,plugins and even .jpg files.
several problems, mostly due to file permissions and directory errors and the location of files.
———-> My bottom line question:
Can someone help me find out where all of the file permissions and directories need to be updated on a site?
I’ve found one php file in WordPress that seems to have the majority of answers.
==========================VVVVVVVVVVVVVVVVVVVVVVVVVVVVV==============================
That would be by running the /wp-admin/options.php file and looking for ‘path’ and ‘url’ and updating manually.THIS works on my local copy, and I can now do updates on my local plugins on that server (for the plug-ins for example).
BUT… my main (live) website is not as simple.
——> I believe I am missing one spot that has additional directory locations.
===========================>>>> MY question #1 <<<<————
Can someone help me find out where all of the file permissions and directories need to be updated on a site?
===========================>>>> MY question #2 <<<<————
is shutting off the wordpress ‘multi-site’ option easy? is it just a toggle in the options.php file? does setting that to false, cause a lot of problems? I only have one live site at the moment.
—————-Details below this———————–
Original problem:
After migrating from different host, my (static) wordpress site was fine, and then developed a problem where couldn’t update a page, because couldn’t upload jpg’s. (Host found problem with permissions), didnt tell me where…system finally resolved by host company, after level 3 escalation.
eventually new problem came up, and problem same as before, but couldn’t upload and errors showed a problem with the directory
————————-
When I created the local (pc) host copy of the site, I saw that (one of the error messages said:msg warning :-------------------------------------------VVVV Warning: unlink(/home/customer/www/example.com/public_htmlwp-content/uploads/wp-central-kkpvVg.tmp): No such file or directory in /home/customer/www/example.com/public_html/wp-admin/includes/file.php on line 1109
Well duh, (even) I see the lack of the slash between publichtml and wpcontent.
I found a problem that the /wp-admin/options.php file had the following value:
I did a copy of the website down to my local pc.
ON LOCAl HOST: this is what came from my live website…
in options.php fileupload_url = http://localhost/example/home/admin/domains/testing.installatron.com/public_html/djfkl/wp-content/uploads
in options.php upload_path = http:///example.com/public_html/wp-content/uploadson my local pc copy, i got the updates running ok, but it’s still not taking on the live system.
In other words, in my production site, I found the path (from an installlatron install) messing up with stuff
where else besides wp-admin/options.php do I need to make directory changes in???
thanks
—————–end details————————-
- The topic ‘help to id locations that effect file-locations’ is closed to new replies.