A Joomla Install Error
I went to a Joomla powered website I had created (that was previously working just fine) and was redirected to an error screen that had the line:
Class 'JLog' not found in error.php on line 339 jimport
There was a long site-specific directory path before "error.php". I searched several Joomla sites looing for a solution. Most involved saving the MySQL database and re-installing. However, I found one forum that suggested the Class JLog was part of a definitions file in the libraries/joomla/log directory of the installation. The actual file was named "log.php". The post also referenced ftp errors common during an installation process.
When I looked in my libraries/joomla/log/ directory, it was empty!! The likely culprit was an ftp error when I was originally uploading my installation---the contents of a whole directory just did not get copied.
The solution was simple. I went to http://www.joomla.org/download.html and downloaded a 3.x installation to my local machine. Then I used my ftp application to ftp the contents of the local libraries/joomla/log/ directory to the libraries/joomla/log/ of my installation on the web.
Problem solved.
No comments