I have phpgedview 4.0.2 installed, and working externally. PhpGedView 5.x-1.0 installed, and a Drupal 5.0, multisite, install with clean urls.
I get the following error when a user first trys to access the embedded phpgedview
ERROR 8: Undefined variable: post_firstname
0 Error occurred on line 70 of file drupal.php
ERROR 8: Undefined variable: post_lastname
0 Error occurred on line 71 of file drupal.php
ERROR 8: Undefined index: visibleonline
0 Error occurred on line 717 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: editaccount
0 Error occurred on line 719 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: default_tab
0 Error occurred on line 721 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: comment
0 Error occurred on line 722 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: comment_exp
0 Error occurred on line 723 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: sync_gedcom
0 Error occurred on line 726 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: relationship_privacy
0 Error occurred on line 727 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: max_relation_path
0 Error occurred on line 728 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 8: Undefined index: auto_accept
0 Error occurred on line 730 of file authentication.php in function addUser
1 called from line 95 of file drupal.php
ERROR 2: Cannot modify header information - headers already sent by (output started at /www/site6/phpGED4/includes/functions.php:324)
Warning: Cannot modify header information - headers already sent by (output started at /www/site6/phpGED4/includes/functions.php:324) in /www/site6/phpGED4/drupal.php on line 115
The 2nd attempt to access phpgedview is successful, and user is shown as logged in.
However, users never seem to be logged out of phpgedview 4.0.2 after using the embedded phpgedview and closing a browser.
And, even though public access is enabled in phpgedview4, and in drupal, public access only works externally. The embedded phpgedview is only accessable to logged in users.
Comments
Comment #1
irishlt commentedI have the same problem with version 5 installed in Drupal 5 - the embedded option only works for logged in users, and unauthorized users dont see anything at all. I have an issue posted on this already but havent received a response to it yet so will be watching this with interest.
Comment #2
peter44 commentedI have the first error resolved, by deinstalling, dropping the phpgedview_user_map table, and reinstalling.
>I get the following error when a user first trys to access the embedded >phpgedview
However, I still have the following error:
Even though public access is enabled in phpgedview4, public access only works externally. The embedded phpgedview is only accessable to logged in users. When an anonymous user clicks on the link for the embedded phpgedview, the external phpgedview is supposed to be called (according to the phpgedview.module), but the external link it builds of http://host/externaldir/drupal.php?path=index.php brings up nothing.
Comment #3
capitaine commentedYes I also get all those error lines you put in the first post.... and then, as you said, click 'welcome' again, the user is logged in and it displays fine.....!
this bug needs to be resolved...
Comment #4
karens commentedI just committed a fix to keep you from seeing these messages.
Comment #5
webenchantressde commentedWhere/how do we get this fix that was committed?
Comment #6
spankee commentedTo get the files go back to here http://drupal.org/project/phpgedview and click on the link "Browse the CVS repository" at the bottom of the page.
Look at the bottom and select a branch for Drupal 5 you should select DRUPAL-5.
You want the two newest files.
Click on one and then get the newest revision by right clicking on "Download" and selecting "save as".
Do it for both files.
Comment #7
(not verified) commented