Hi,
Im a new user of phpGedView and installed the software this weekend on my webspace. I got these failures, if I connect to the webpage:
Warning: print_header(): Failed opening '' for inclusion (include_path='.:') in /home/export/www/hosting/theplatinum/phpGedView/functions_print.php on line 709
Warning: print_header(): Failed opening '' for inclusion (include_path='.:') in /home/export/www/hosting/theplatinum/phpGedView/functions_print.php on line 710
and page up:
Warning: print_footer(): Failed opening '' for inclusion (include_path='.:') in /home/export/www/hosting/theplatinum/phpGedView/functions_print.php on line 805
This error is happening because it is trying to include the headers from the themes. Make sure that you have a themes directory and that it has at least the standard theme in it.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi John,
I updated the themes directory and the standard theme. But nothing happens. If I login then I have the theme like ocean or xenea and if I logout also. BUT if i close the browser site I get the same errors!
Whats my mistake?
Marcus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I went to your site, and it states that you are using the 3.0 beta 4 version PhpGedView. I reccommend that you download the latest 3.1 version and see if that doesn't fix the problem.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I updated with the software-link. But now I get this
Warning: ini_set() has been disabled for security reasons in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 33
Warning: ini_set() has been disabled for security reasons in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 34
Warning: ini_set() has been disabled for security reasons in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/export/www/hosting/theplatinum/phpGedView/session.php:33) in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 63
Marcus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now you will have to comment out lines 33-35 in your session.php file.
If your host has disabled this function, they have likely disabled other functions as well. So you may have to comment out other functions if you get the same Warning.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To comment out a line of code, just add a # or // to the beginning of the line. This turns the line into a comment and prevents it from being executed.
So for line 33, you need to change it to:
#ini_set('arg_separator.output', '&');
The ini_set function changes some of PHP's runtime configuration parameters. PhpGedView modifies some of these parameters for better error reporting and more memory. Most hosts do not disable this function.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Im a new user of phpGedView and installed the software this weekend on my webspace. I got these failures, if I connect to the webpage:
Warning: print_header(): Failed opening '' for inclusion (include_path='.:') in /home/export/www/hosting/theplatinum/phpGedView/functions_print.php on line 709
Warning: print_header(): Failed opening '' for inclusion (include_path='.:') in /home/export/www/hosting/theplatinum/phpGedView/functions_print.php on line 710
and page up:
Warning: print_footer(): Failed opening '' for inclusion (include_path='.:') in /home/export/www/hosting/theplatinum/phpGedView/functions_print.php on line 805
You can see it also on http://theplatinum.th.ohost.de/phpGedView/
Hope you could help me !
Marcus
Hi Marcus,
This error is happening because it is trying to include the headers from the themes. Make sure that you have a themes directory and that it has at least the standard theme in it.
--John
Hi John,
I updated the themes directory and the standard theme. But nothing happens. If I login then I have the theme like ocean or xenea and if I logout also. BUT if i close the browser site I get the same errors!
Whats my mistake?
Marcus
Hi Marcus,
I went to your site, and it states that you are using the 3.0 beta 4 version PhpGedView. I reccommend that you download the latest 3.1 version and see if that doesn't fix the problem.
--John
Since this is the same problem as is posted in another thread, please refer to that thread for more information:
http://sourceforge.net/forum/forum.php?thread_id=1123848&forum_id=185166
--John
I updated with the latest version but its 3.0 beta 4 again. Is that possible?
The error is the same!
You can get the 3.1 version here:
http://sourceforge.net/project/showfiles.php?group_id=55456&package_id=61562&release_id=251048
If you check the revision number of the session.php file, it should be revision 1.227. You can find this on line 27 of session.php
--John
I updated with the software-link. But now I get this
Warning: ini_set() has been disabled for security reasons in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 33
Warning: ini_set() has been disabled for security reasons in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 34
Warning: ini_set() has been disabled for security reasons in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/export/www/hosting/theplatinum/phpGedView/session.php:33) in /home/export/www/hosting/theplatinum/phpGedView/session.php on line 63
Marcus
Marcus,
Now you will have to comment out lines 33-35 in your session.php file.
If your host has disabled this function, they have likely disabled other functions as well. So you may have to comment out other functions if you get the same Warning.
--John
What do you mean with comment out?
To comment out a line of code, just add a # or // to the beginning of the line. This turns the line into a comment and prevents it from being executed.
So for line 33, you need to change it to:
#ini_set('arg_separator.output', '&');
The ini_set function changes some of PHP's runtime configuration parameters. PhpGedView modifies some of these parameters for better error reporting and more memory. Most hosts do not disable this function.
--John
I tried it out to comment it with @! Is that correct?
Here you can see the result:http://theplatinum.th.ohost.de/phpGedView/
Many thanks for your help!!!!!!!!!!!
Marcus