I instaled locally on my note XAMPP, Phpgedview ver4.2.3 for testing purpose of problem what i got on the top of page:
ERROR 8: Undefined index: title
0 Error occurred on line 648 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 311 of file index.php
ERROR 2: implode() : Invalid arguments passed
0 Error occurred on in function implode
1 called from line 648 of file class_menubar.php in function getReportsMenu
2 called from line 80 of file toplinks.php in function include
3 called from line 135 of file header.php in function include
4 called from line 587 of file functions_print.php in function print_header
5 called from line 311 of file index.php
Warning: implode() : Invalid arguments passed in D:\xampp\htdocs\phpgedview\includes\classes\class_menubar.php on line 648
This error i got when i installed one other language. Itried with Serbian, than Slovenian, but the same result.
I did install other language through: login, My Gedview portal, Admin, Configuration, Language and check other new language.
I done logout. Next time i open http://localhost/phpgedview/index.php?ctype=gedcom&ged=Gracanci_27_02_UTF under band with Login prompt (left), two language flags (midlle), and Favourite and date on the right i got that error 8 and 2 what i pasted upper. It repeated 2 times and than i have band with horisontal menu. All work fine but this error warning is across whole visible page. I tested and found when i erase Index subdir and refresh with initial data what i stored in local folder it work ok. English language is initial and standard template. The problem isnt in attribs beacuse index is opened for read and write localy. Please help me !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try deleting the file "reports.dat" in your Index directory. There's something wrong with the entries in this file.
The program is trying to build a menu of available reports. If the file "reports.dat" is present, it will attempt to use it. If not, it will look at all of the XML files in directory "reports" to build a new "reports.dat" file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Excuse me for wrong interpretation of error!
Yesterday and today i tested xx times instalation of other langusge-it work ok.
Than i tried to change themes, also work ok.
This problem raise when i want to build new xml.report in subdir reports.
How i tried to add new report?
I copied individual.xml in the same subdir and renamed it in potvrdnica.xml
On the line 4 in potvrdnica.xml i renamed individual_report->potvrdnica_report
<PGVRTitle><PGVRvar var="pgv_lang" /></PGVRTitle>
save it and in the subdir language i append the same variable in files: lang.en.php and lang.hr.php after line 1529 for var: Individual_report
$pgv_lang = "Individual Report";
$pgv_lang = "Potvrdnica";
After saving i opened page and in the begining i got this code:
ERROR 8: Undefined index: title
0 Error occurred on line 648 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
ERROR 2: implode() : Invalid arguments passed
0 Error occurred on in function implode
1 called from line 648 of file class_menubar.php in function getReportsMenu
2 called from line 80 of file toplinks.php in function include
3 called from line 135 of file header.php in function include
4 called from line 587 of file functions_print.php in function print_header
5 called from line 151 of file login.php
Warning: implode() : Invalid arguments passed in D:\xampp\htdocs\phpgedview\includes\classes\class_menubar.php on line 648
ERROR 8: Undefined index: title
0 Error occurred on line 666 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
ERROR 2: implode() : Invalid arguments passed
0 Error occurred on in function implode
1 called from line 666 of file class_menubar.php in function getReportsMenu
2 called from line 80 of file toplinks.php in function include
3 called from line 135 of file header.php in function include
4 called from line 587 of file functions_print.php in function print_header
5 called from line 151 of file login.php
Warning: implode() : Invalid arguments passed in D:\xampp\htdocs\phpgedview\includes\classes\class_menubar.php on line 666
ERROR 8: Undefined index: icon
0 Error occurred on line 680 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
ERROR 8: Undefined index: icon
0 Error occurred on line 682 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
After this page is functioning and i got new report in the report submenu !
Please give me explanation where i done mistake.
I found the documentation for xml explanation and i will customize report my way.
Kresimir P
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As Gerry said, you may duplicate any report, and modify it to your heart's content, but each time you do so - prior to trying to display/use this report or have it appear in the report drop-down menu > DELETE REPORTS.DAT file and clear your browser cache.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes okbigkid, you instruct me what can caused this errors. As i tried to implement new Croatian language, than Xenea template and new submenu something went wrong. I think that file in "includes/lang_settings_std.php" caused crash. I copied the similar Serbian-a language into the end of the file, but change:'pgv_lang_use'=>false,->into true. Later i checked all maybe wrong steps and found on the begginig of this file Warning: Nothing to change inside ! Today i checked all the steps from the beginning and done backup dir and all is working fine ! Very nice day. I done translating part of huge file lang.hr.php.
Once again, Thank you unvisible friends!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I instaled locally on my note XAMPP, Phpgedview ver4.2.3 for testing purpose of problem what i got on the top of page:
ERROR 8: Undefined index: title
0 Error occurred on line 648 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 311 of file index.php
ERROR 2: implode() : Invalid arguments passed
0 Error occurred on in function implode
1 called from line 648 of file class_menubar.php in function getReportsMenu
2 called from line 80 of file toplinks.php in function include
3 called from line 135 of file header.php in function include
4 called from line 587 of file functions_print.php in function print_header
5 called from line 311 of file index.php
Warning: implode() : Invalid arguments passed in D:\xampp\htdocs\phpgedview\includes\classes\class_menubar.php on line 648
This error i got when i installed one other language. Itried with Serbian, than Slovenian, but the same result.
I did install other language through: login, My Gedview portal, Admin, Configuration, Language and check other new language.
I done logout. Next time i open http://localhost/phpgedview/index.php?ctype=gedcom&ged=Gracanci_27_02_UTF under band with Login prompt (left), two language flags (midlle), and Favourite and date on the right i got that error 8 and 2 what i pasted upper. It repeated 2 times and than i have band with horisontal menu. All work fine but this error warning is across whole visible page. I tested and found when i erase Index subdir and refresh with initial data what i stored in local folder it work ok. English language is initial and standard template. The problem isnt in attribs beacuse index is opened for read and write localy. Please help me !
Try deleting the file "reports.dat" in your Index directory. There's something wrong with the entries in this file.
The program is trying to build a menu of available reports. If the file "reports.dat" is present, it will attempt to use it. If not, it will look at all of the XML files in directory "reports" to build a new "reports.dat" file.
Excuse me for wrong interpretation of error!
Yesterday and today i tested xx times instalation of other langusge-it work ok.
Than i tried to change themes, also work ok.
This problem raise when i want to build new xml.report in subdir reports.
How i tried to add new report?
I copied individual.xml in the same subdir and renamed it in potvrdnica.xml
On the line 4 in potvrdnica.xml i renamed individual_report->potvrdnica_report
<PGVRTitle><PGVRvar var="pgv_lang" /></PGVRTitle>
save it and in the subdir language i append the same variable in files: lang.en.php and lang.hr.php after line 1529 for var: Individual_report
$pgv_lang = "Individual Report";
$pgv_lang = "Potvrdnica";
After saving i opened page and in the begining i got this code:
ERROR 8: Undefined index: title
0 Error occurred on line 648 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
ERROR 2: implode() : Invalid arguments passed
0 Error occurred on in function implode
1 called from line 648 of file class_menubar.php in function getReportsMenu
2 called from line 80 of file toplinks.php in function include
3 called from line 135 of file header.php in function include
4 called from line 587 of file functions_print.php in function print_header
5 called from line 151 of file login.php
Warning: implode() : Invalid arguments passed in D:\xampp\htdocs\phpgedview\includes\classes\class_menubar.php on line 648
ERROR 8: Undefined index: title
0 Error occurred on line 666 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
ERROR 2: implode() : Invalid arguments passed
0 Error occurred on in function implode
1 called from line 666 of file class_menubar.php in function getReportsMenu
2 called from line 80 of file toplinks.php in function include
3 called from line 135 of file header.php in function include
4 called from line 587 of file functions_print.php in function print_header
5 called from line 151 of file login.php
Warning: implode() : Invalid arguments passed in D:\xampp\htdocs\phpgedview\includes\classes\class_menubar.php on line 666
ERROR 8: Undefined index: icon
0 Error occurred on line 680 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
ERROR 8: Undefined index: icon
0 Error occurred on line 682 of file class_menubar.php in function getReportsMenu
1 called from line 80 of file toplinks.php in function include
2 called from line 135 of file header.php in function include
3 called from line 587 of file functions_print.php in function print_header
4 called from line 151 of file login.php
After this page is functioning and i got new report in the report submenu !
Please give me explanation where i done mistake.
I found the documentation for xml explanation and i will customize report my way.
Kresimir P
As Gerry said, you may duplicate any report, and modify it to your heart's content, but each time you do so - prior to trying to display/use this report or have it appear in the report drop-down menu > DELETE REPORTS.DAT file and clear your browser cache.
-Stephen
Yes okbigkid, you instruct me what can caused this errors. As i tried to implement new Croatian language, than Xenea template and new submenu something went wrong. I think that file in "includes/lang_settings_std.php" caused crash. I copied the similar Serbian-a language into the end of the file, but change:'pgv_lang_use'=>false,->into true. Later i checked all maybe wrong steps and found on the begginig of this file Warning: Nothing to change inside ! Today i checked all the steps from the beginning and done backup dir and all is working fine ! Very nice day. I done translating part of huge file lang.hr.php.
Once again, Thank you unvisible friends!