Page 1 of 1

Problem with FrontEndUsers upon upgrade from 0.13 -> 1.1

Posted: Thu Aug 23, 2007 8:36 pm
by kevin360
Ok, this is something I can reproduce over and over again.  I've got a site that works running 0.13.  I'm working on a backup copy of it to upgrade to 1.1.  After running upgrade.php for 1.1 and checking the config.php file I can go into the admin interface no problem.  If I try to go to the main site I get most of the page but also this error:

Code: Select all

Fatal error: Call to undefined function: rowcount() in /usr/local/apache2/htdocs/cmsmsv1/modules/FrontEndUsers/FrontEndUsers.api.php on line 1233
Which I'm thinking means I just need to upgrade FEU to a newer version.  The version running on the site is 1.0.5.  But before upgrading FEU I first install nuSOAP and Module Manager as the documents tell me to do.  After they are installed I then go into Module Manager and try installing 1.2.0 (I've also done this with 1.1.3-beta3).  I click on Download & Install, the program runs and most of the admin interface comes back, including this part:

Module ManagerHelp Help | Help Community Help (new window)

Then I just get this error:

Code: Select all

Fatal error: Call to undefined function: metacolumns() in /usr/local/apache2/htdocs/cmsmsv1/lib/adodb_lite/adodb-datadict.inc.php on line 235
And nothing else.  If I go into Extensions->Modules, FrontEndUsers is marked as needing to be upgraded.  So I click the upgrade button and I get this error:

Code: Select all

Fatal error: Call to undefined function: metacolumns() in /usr/local/apache2/htdocs/cmsmsv1/lib/adodb_lite/adodb-datadict.inc.php on line 235
At this point the only page I can pull up is Extensions-Modules, if I click on anything else or go to the main site all I get is a page that says that error above.  Any idea what's going on? 

Re: Problem with FrontEndUsers upon upgrade from 0.13 -> 1.1

Posted: Thu Aug 23, 2007 8:41 pm
by calguy1000
You probably have the backup module or some other module that requires the full adodb installed.  And thhe config file is telling the system NOT to use the full adodb, but to use the lite version.

Search in your install directory for a directory called adodb  (not adodb_lite ) if it is there, and looks like it has content, that's good.... then:    go to config.php and change  $config['use_adodb_lite'] from true to false.

That should get rid of the meta* errors.

Re: Problem with FrontEndUsers upon upgrade from 0.13 -> 1.1

Posted: Thu Aug 23, 2007 8:58 pm
by Dr.CSS
What is the advantage of adodb_lite vs full adodb or is there any?...

Also can you switch to one to get say Backup module to work then switch back?...

Re: Problem with FrontEndUsers upon upgrade from 0.13 -> 1.1

Posted: Thu Aug 23, 2007 9:07 pm
by calguy1000
adodb_lite is faster and takes considerably less memory, which is why we went for it as opposed to the full blown version.

However, the lite version doesn't have fome functions (like meta table functions) that may be used by modules like backup.

And, no you can't go back and forth between them because the second you go back to the lite version the error will come back again (unless you uninstall all of the modules that require the full version).

Re: Problem with FrontEndUsers upon upgrade from 0.13 -> 1.1

Posted: Thu Aug 23, 2007 9:11 pm
by Dr.CSS
I have the backup module installed on a 1.1 and only get error if I try to run it, sure wish I knew PHP or whatever it is that would help me mod this to work with 1.1, it's the finest way to do a backup IMHO... ;)

EDIT: or how much it cost me to get some guru to do it?...  :D

Re: Problem with FrontEndUsers upon upgrade from 0.13 -> 1.1

Posted: Thu Aug 23, 2007 9:35 pm
by kevin360
Hmm... I did have the backup module installed, but I'm still getting an error.  Here's what I did.

Restored my 0.13 install and made sure it was working.
Uninstalled and removed the backup module.
Upgraded to 1.1.
Installed nuSOAP and ModuleManger.
Went into Module Manger and Download & Install FEU 1.2.0

Which gave me this error:

Code: Select all

Fatal error: Call to undefined function: metacolumns() in /usr/local/apache2/htdocs/cmsmsv1/lib/adodb_lite/adodb-datadict.inc.php on line 235
I can go into Extensions->Modules, anything else just gives me the error above.


The odd thing is I figured out a work around for it.  I have to do it in this order: upgrade CMSMS to 1.0, upgrade FEU to 1.1.1, upgrade FEU to 1.2.0, upgrade to CMSMS 1.1.

If I do this: upgrade CMSMS to 1.1, upgrade FEU to 1.1.1, upgrade FEU to 1.2.0, I still get the error. 

I have to have that upgrade to CMSMS 1.0 in there.