Fast Uncompromising Discussions. FUDforum will get your users talking.

Installation 2.0.7 Mon, 09 October 2017 20:02
 divico Messages: 13Registered: August 2008 Junior Member
Just did a reinstall of my environment and found a few minor issues.

a) Data in the file references column is_primary. However the column has been dropped by alter_table(2017-07-20).sql. Data mnu-user.sql therefore does not load
==> I removed the values from the sql data file for the column assuming it should not be loaded
b) Data does not contain values for column sort_seq, which has been defined as not allowing null values. Data mnu-user.sql therefore does not load
==> I added the column to the sql data file and set the values according to the change in alter_table(2017-07-20).sql:
UPDATE mnu_user_role SET sort_seq=1 WHERE is_primary='Y';
UPDATE mnu_user_role SET sort_seq=9 WHERE is_primary='N';

Are my assumptions correct? Would it be possible to change mnu-user.sql accordingly?

2. I could not logon to the system, had the same problem as previously reported:

This application has encountered an unrecoverable error
The following has been reported to the administrator:
2017-10-09 17:49:04
Error in line 3395 of file '/var/www/html/radicore/includes/include.library.inc'.
...

I think the problem is in this code:

$file_language = basename(dirname($fname));
if (!array_key_exists($language,$system_msgs)) {
===> $system_msgs[$file_language] = require_once $fname; // import contents of disk file ===> if (empty($array)) {
//trigger_error(getLanguageText('sys0124', $fname), E_USER_ERROR); trigger_error("File$fname is empty", E_USER_ERROR);
} // if
unset($array); The contents of the file is loaded into$system_msgs[$file_language], however the variable$array is used for evaluation. \$array has not been initialized (though is empty) in the code and therefore the condition evaluates to true, resulting in the error mentioned above.

As a temporary fix I commented the if statement.

This sequence of statements do occur multiple times in include.library.inc.

Cheers, Divico

 Installation 2.0.7 By: divico on Mon, 09 October 2017 20:02 Re: Installation 2.0.7 By: AJM on Mon, 09 October 2017 20:43 Re: Installation 2.0.7 By: divico on Wed, 11 October 2017 07:45 Re: Installation 2.0.7 By: AJM on Wed, 11 October 2017 13:09 Re: Installation 2.0.7 By: divico on Thu, 12 October 2017 09:48
 Previous Topic: Subject: Fatal error: File C:\wamp\www\radicore\menu\text/en/sys.language_text.inc is empty in C:\ra Next Topic: multibyte error
Goto Forum:

Current Time: Wed Jan 26 02:49:57 EST 2022

Total time taken to generate the page: 0.01264 seconds