Hi everything is been working great, and this is the first time I had a problem with an update...
I removed the old drigg directory and untar the new version 5.x-1.34.. and now I get this..
Fatal error: Call to undefined function drigg_is_section_valid() in /var/www/dailyradical.org/htdocs/sites/all/modules/drigg/drigg_ui/drigg_ui.module on line 49

help!

Comments

vm’s picture

did you create a back up first ? of both the DB and the files ?

did you run update.php after replacing the files ?

mercmobily’s picture

Hi,

The error is nonsensical.
The function drigg_is_section_valid is defined in helpers.inc , and that's the foundation of Drigg.

What might have happened is that you upgraded from a version of Drigg that wasn't split into sub-modules first. If you just untarred the new drigg over, you won't have overwritten the *old* drigg.module file, which is now in drigg/drigg.module.

So, delete the old drigg.module file, go to admin -> modules (so that the list is refreshed and the correct drigg/drigg.module is enabled) and see if things work.

Please let me know how it goes.

Merc.

rek2’s picture

Hi guys, thanks for the fast response, for the first questions, yes I have backups..
about the other one... Merc, hmm I though I was in one version velow.. .33 the only thing I did is to erase the drigg dir in modules
and untar this one.. well I am going to try what you suggest since I may have make a mistake.

thanks. I brb

mercmobily’s picture

Hi,

If you only updated from the previous version, then the error really is nonsensical.
Look for other causes. PHP might be running out of RAM, for example.

Or...

I don't know. The function _is_ there. It's anything BUT undefined!

Keep us informed. I will be out for a couple of hours.

Bye,

Merc.

rek2’s picture

Merc, I cant even get to the admin page.. is anyway I can dissable it(drigg) so I can get drupal to come up with out the module then enable it(drigg)?

EDIT: ok my bad I can just move the drigg folder.. now I can get to admin .. lol brb

rek2’s picture

hmm is funny that after I even move the drigg directory out of modules.. I disable all drigg modules on drupal..
and saved I still get them listed ... why is this? cached?

rek2’s picture

ok is working now.. I had a drigg-bk on the modules directory, looks like this was causing all the issues...
now I know that drupall will grab anything on that directory.. no matter what name it is .. and since the module.info is drigg he was still using a very old one.. brbr.

Thanks Merc again for your help.

mercmobily’s picture

Hi,

OK... can you confirm that everything is working as it should now, and I can close the issue? :-D

Merc.

mercmobily’s picture

Status: Active » Fixed

Hi,

Assuming this is fixed.

Merc.

rek2’s picture

yes it is... but I have another issue but I will open another ticket.

mercmobily’s picture

Status: Fixed » Closed (fixed)