After login in pgv in the log file it has this error message:
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 42 of file individual.php
How I can solve this problem?
Otmar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-12-30
Otmar. What theme are you using? Is it perhaps a customised one?
The error message is pointing to line 72 of header.php. There is a header.php file in each theme, but none of them include anything that could cause that error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use a changed version of Cloudy, but I get this error message also with original theme (Cloudy, SimplyBlue). It seem it has no effects on pgv, because all works fine.
In the logfile it has more as one error:
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 626 of file editconfig_gedcom.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 75 of file editgedcoms.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 48 of file admin.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 311 of file index.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 311 of file index.php
ERROR 8: Undefined index: Gallery2; 0 Error occurred on line 37 of file pgv.php in function require_once1 called from line 32 of file gallery2_random_media.php in function require_once2 called from line 90 of file index.php
Otmar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-12-31
Otmar
It looks like you did not upgrade all files.
Can you look at your Cloudy theme's file 'header.php'.
1 - What is the version number? Look for a line in the comments at the top like this:
I use pgv 4.2.3 and Joomla 1.5.15.
After login in pgv in the log file it has this error message:
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 42 of file individual.php
How I can solve this problem?
Otmar
Otmar. What theme are you using? Is it perhaps a customised one?
The error message is pointing to line 72 of header.php. There is a header.php file in each theme, but none of them include anything that could cause that error.
I use a changed version of Cloudy, but I get this error message also with original theme (Cloudy, SimplyBlue). It seem it has no effects on pgv, because all works fine.
In the logfile it has more as one error:
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 626 of file editconfig_gedcom.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 75 of file editgedcoms.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 48 of file admin.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 311 of file index.php
ERROR 8: Undefined variable: surnameList; 0 Error occurred on line 72 of file header.php in function include1 called from line 587 of file functions_print.php in function print_header2 called from line 311 of file index.php
ERROR 8: Undefined index: Gallery2; 0 Error occurred on line 37 of file pgv.php in function require_once1 called from line 32 of file gallery2_random_media.php in function require_once2 called from line 90 of file index.php
Otmar
Otmar
It looks like you did not upgrade all files.
Can you look at your Cloudy theme's file 'header.php'.
1 - What is the version number? Look for a line in the comments at the top like this:
* @version $Id: header.php 4196 2008-10-30 12:13:21Z fisharebest $
It should say exactly the same if updated.
2 - The other error relates to the 'gallery2' module. Did you update that? Probably not?
To Kiwi!
Thank you for the hint. The row 71 in header.php was different.
@version $Id: header.php 5595 2009-05-28 19:47:46Z fisharebest $
<?php if (!empty($META_COPYRIGHT)) { ?><meta name="copyright" content="<?php echo ($META_COPYRIGHT); ?>" /><?php } ?>
<meta name="keywords" content="<?php echo htmlspecialchars($META_KEYWORDS.$surnameList); ?>" />
header.php row 71 in Orginal Cloudy von pgv 4.2.3
* @version $Id: header.php 6478 2009-11-28 11:38:03Z fisharebest $
<?php if (!empty($META_COPYRIGHT)) { ?><meta name="copyright" content="<?php echo ($META_COPYRIGHT); ?>" /><?php } ?>
<meta name="keywords" content="<?php echo htmlspecialchars($META_KEYWORDS); ?>" />
Otmar