Feng Forum

Support => Older versions => : fcoauga July 06, 2009, 07:02:35 PM

: 1.5 beta error upgrading from 1.4.1
: fcoauga July 06, 2009, 07:02:35 PM
This is the error message, (debug=true)

Notice: Uninitialized string offset: -1 in E:\parawebphp\opengoo\environment\functions\general.php on line 453

Fatal error: Call to undefined method UserWsConfigOptions::getdefaultoptionvalue() in E:\parawebphp\opengoo\application\functions.php on line 396

 ??? Too much for mine  :'(
: Re: 1.5 beta error upgrading from 1.4.1
: ignacio July 07, 2009, 01:23:54 PM
Hi, if you are testing on a copy of another installation try deleting file 'cache/autoloader.php'.
: Re: 1.5 beta error upgrading from 1.4.1
: fcoauga July 07, 2009, 07:42:07 PM
Checked with same results for the firs line....

This is the message (more complete attached) now.

Really, the column 'updated_by_id' not exists for the field 'og_users' (checked in database).


: Re: 1.5 beta error upgrading from 1.4.1
: alvarotm01 July 08, 2009, 11:30:06 AM
Hi,

this was an update error, that is only happening when trying to updrate from 1.4.1 or older versions, this will be fixed for next updates.
In your case, as you have already updated you can run this script in your database to add this field:
:
ALTER TABLE `og_users` ADD COLUMN `updated_by_id` int(10) unsigned default NULL;

regards
: Re: 1.5 beta error upgrading from 1.4.1
: fcoauga July 08, 2009, 03:03:50 PM
Great! solved this part but...

the first error is now present:

"Notice: Uninitialized string offset: -1 in E:\parawebphp\opengoo\environment\functions\general.php on line 453"

Additionally "missing lang.js" is present
: Re: 1.5 beta error upgrading from 1.4.1
: alvarotm01 July 08, 2009, 03:37:56 PM
Try adding this line in 'application/controllers/FilesController.class.php' before line nº 1768
:
$old_memory_limit = ini_get('memory_limit');
I think this is why that error in general.php is occurring.

which is the missing lang that appears? or it only shows "Missing lang.js : "?
: Re: 1.5 beta error upgrading from 1.4.1
: fcoauga July 09, 2009, 03:42:50 PM
Line changed but without exit. You can see the error in both screens attached and more stuff that probably informs you.

In the message that appears "all" is translate as "öszzes", as you can see.

I suppose that you prefer that I continue test the upgrade from 1.4.1...
: Re: 1.5 beta error upgrading from 1.4.1
: ignacio July 09, 2009, 05:18:58 PM
Hi,

Insert this line on file 'environment/functions/general.php', on line 453, so that it is the second line in function 'php_config_value_to_bytes':
:
if ($val == "") return 0;

Thanks.
: Re: 1.5 beta error upgrading from 1.4.1
: fcoauga July 10, 2009, 09:45:27 AM
Great, solved with this line.

Thanks
: Re: 1.5 beta error upgrading from 1.4.1
: Bigal July 28, 2009, 11:08:46 AM
Hi, if you are testing on a copy of another installation try deleting file 'cache/autoloader.php'.
Worked for me tks new upgrade stable looks really good thanks for the major overhaul on email.