How to find the correct Joomla log path
When migrating a Joomla 3 installation, either from one hosting server to another, or when uploading to your webserver or if you are changing the base installation for one reason or another - you need to make sure you that you update the configuration.php file correctly. One of the things which needs to be correct is the $tmp_path and $log_path. If these are not correct, your Joomla installation will look like its working correctly but it might start throwing strage errors such as
0 Cannot open file for writing log
or some other error, when trying to install new extensions, free Joomla templates, modules or plugins.
However, sometimes it may not be so easy to determine the exact path you need to use before the /logs and /tmp - especially if you are on shared or on a new hosting server. Fortunately, there is an easy way to discover what the home path is:
Copy the following code into a text editor and save the file as absolute.phphttp://www.yourdomain.com/absolute.php. The result will show the absolute path!
IMPORTANT: For security reasons, delete this file as soon as you have copied the path!
Now that you know the exact path make sure you edit the configuration.php file to the absolute path + /logs and absolute path + .tmp as follows where <absolute path> is the path given to you by the above code
public $log_path = '<absolute path>/logs';
public $tmp_path = '<absolute path>/tmp';
One more thing...Do you have friends or a Facebook group who you think would find this useful? Share this with them and then let me know what they think.
Want to supercharge your website?Our website loads FAST ... just 1.29 seconds. We're hosted on FAST InMotion servers We want YOUR website to be fast too, so we've gotten you an exclusive deal - 47% OFF for DART Creations friends + FREE domain! Check it out NOW!
who are we?
DART Creations is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists
Follow us on Social
Advertise on DART-Creations.com
DART Creations is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)
The Outstanding october Bundle
AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF! Get this bundle for just $29 - This month ONLY!
New! DIVI 3.0 WordPress TeMPLATE + PageBuilder - 10% OFF Limited Launch offer
You'll surely create a perfect website with Divi 3.0!