title: Issues with new installation of joomla 2.5 that connects to old database
body: <p>I want to connect our new installation of Joomla 2.5 to our old database in order to salvage content.  I'm cleaning up someone else's errors without having full nothing of what that person actually did to cause the problems.</p>
  <p>Bottom line, our site went down because of an error in judgement by that new webmaster and instead of him restoring the site he built a new site in Wix and forgot about the old content. That was in July.</p>
  <p>The database is still there.  So, after the new installation of Joomla 2.5,  I edited the configuration.php to point to the old database and now I can see lots more content on the admin backend but the frontend is all messed up...and the backend is not fully in tact either, despite the fact that I can see more stuff.</p>
  <p>I'm not a trained coder.  I can make changes to coding with good instructions.  I'd like to know if anyone can help me.</p>
  <p>On the back end, I'm getting this error when I click on an article to edit it...</p>
  <blockquote>
  <p>Parse error: syntax error, unexpected $end, expecting T_STRING or T_VARIABLE or '{' or '$' in /home/content/08/9859108/html/libraries/joomla/application/component/controllerform.php on line 341</p>
  </blockquote>
  <p>On the front end at  <a href="http://new.district79.org" rel="nofollow noreferrer">new.district79.org</a> It shows these error messages.</p>
  <blockquote>
  <p>Warning: Invalid argument supplied for foreach() in /home/content/08/9859108/html/components/com_content/models/articles.php on line 497</p>
  <p>Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/content/08/9859108/html/libraries/joomla/database/database/mysql.php on line 293</p>
  </blockquote>
  <p>Thanks so much. Apologies if this is not appropriate for this forum/community.</p>