CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Imported backup DB Error
Pages: [1]

Author Topic: Imported backup DB Error  (Read 691 times)

jed_keenan

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Joomla 2.5.22
  • MySQL version: 5.5.37-cll
  • PHP version: 5.4.29
Imported backup DB Error
July 05, 2014, 03:25:04 pm
I've imported a backup of a 4.3 to a new database on a new installation of Joomla 2.5.22 and CiviCRM 4.4.6. Its all fine but on creating a new entry, which is fine, I get a 'Sorry but we are not able to provide this at the moment. DB Error: no such table. Return to home page.
When I go to edit the entry its fine but when I select view its is the same DB Error and when I select delete there is this error message:
Warning: Cannot modify header information - headers already sent by (output started at /home/bsubooks/public_html/elit365/libraries/joomla/cache/controller/page.php:199) in /home/bsubooks/public_html/elit365/administrator/components/com_civicrm/civicrm/CRM/Utils/System.php on line 361
I can't locate the civicrm dirctory /civicrm/CRM/Utils/System.php at all and page.php is only 199 line long.
Is there something I have missed doing or something I can do to rectify this issue?

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Imported backup DB Error
July 05, 2014, 09:55:51 pm
Check that page.php doesn't have any content (including blank lines or spaces) after a closing php tag.

If a file has only PHP in it, just omit the closing ?> entirely and this won't happen.

(Delete line 199 of that file and things should work.)
@xurizaemon ā— www.fuzion.co.nz

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Imported backup DB Error
July 05, 2014, 10:06:35 pm
Quote
I've imported a backup of a 4.3 to a new database on a new installation of Joomla 2.5.22 and CiviCRM 4.4.6.

If you really did what this says then I am surprised this works.  As far as I am aware, your backup and the DB you are importing to need to be the same version.

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Imported backup DB Error
July 05, 2014, 10:13:52 pm
Going the other way would be trouble, but nothing wrong with importing a 4.3 db onto 4.4 code provided you run the upgrader ...

That would be the first step to trying out moist upgrades.
@xurizaemon ā— www.fuzion.co.nz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Imported backup DB Error

This forum was archived on 2017-11-26.