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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.2 Release Testing »
  • Cannot access Resource Extension URL page after upgrade of 4.2 beta5 under D6
Pages: [1]

Author Topic: Cannot access Resource Extension URL page after upgrade of 4.2 beta5 under D6  (Read 4912 times)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Cannot access Resource Extension URL page after upgrade of 4.2 beta5 under D6
August 20, 2012, 07:15:50 am
We are trying to test 4.2 on our D6 test server which was running 4.1.5.  After adding 
Quote
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();
to the end of the sites/default/civicrm.settings.php  file the upgrade script works!   But we get teh following message when going to admin or other civicrm pages

Quote
Your Extensions Directory (/var/www/html/sites/default/files/civicrm/extensions) does not have a matching Extensions Resource URL. Please go to the URL setting page and correct it.

If I try to go to the URL settings page or almost any of the pages under the Admin settings (even contact pages)  I get a white screen and  the following error in the logs:

PHP Fatal error:  Cannot make static method CRM_Core_DAO::getTableName() non static in class CDM_DAO_Item in /var/www/html/sites/default/files/civicrm/extensions/org.civicrm.module.cividiscount/CDM/DAO/Item.php on line 367, referer: http://test/civicrm/admin/extensions?reset=1

Is  this is a problem with the discount module? (the 4.1 version)
While I disabled all of the other Civicrm modules as part of the upgrade, I had forgotten about the discount module extension and did not disable it.  Now if I try to  disable it from the extensiion page /civicrm/admin/extensions?reset=1    I can't.

Do I need to start over with the discount module disabled/removed under 4.1.5 and then do the upgrade (and add the discount module version for 4.2)?   Or is there another fix with upgrading the discount extension.

cheers,
Merlise
Merlise Clyde

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Cannot access Resource Extension URL page after upgrade of 4.2 beta5 under D6
August 20, 2012, 08:15:47 am

Can you upgrade the discount module to the 4.2 version from github and see if that fixes it

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: Cannot access Resource Extension URL page after upgrade of 4.2 beta5 under D6
August 20, 2012, 10:38:54 am
oops - too late we decided to go reset the devel server soa that it was current with the production site so that we had a clean test (the discount module had not been installed on devel)

the D6 install worked fine once we added the

Quote
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();

in the civicrm.settings.php file 

cheers,
Merlise

Merlise Clyde

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.2 Release Testing »
  • Cannot access Resource Extension URL page after upgrade of 4.2 beta5 under D6

This forum was archived on 2017-11-26.