algorgeous / phpgedview-for-drupal-6

Upgrades the PhpGEDView module for Drupal 5 to Drupal 6.x
GNU General Public License v2.0
0 stars 0 forks source link

Problem with Drupal 6.25 #1

Open davidetoile opened 12 years ago

davidetoile commented 12 years ago

Hi!

I am testing your module updated for Drupal 6.X. Great job you did! I have followed installation instructions but when accessing in the administration menu I have this error:

Fatal error: require_once() [function.require]: Failed opening required 'modules/phpgedview/system.admin.inc' (include_path='.:/usr/local/lib/php') in *****/www/includes/menu.inc on line 348

So no possibility to go further :-(

Any idea how to solve the problem?

Thanks for your time

David

algorgeous commented 12 years ago

David, It's been a while since I looked at this code. I guess I never really tested it out.

But I was able to clean up a few things and now the main configuration page should appear for you. I'm still getting an error when I try to view the embedded family tree, so I'll see if I can figure that out.

davidetoile commented 12 years ago

Hi!

Thanks for your feedback and quick response + new commit ! I ahve just tested it and configuration page is working great. I can now set up the module. Once correctly done, I have the embeded menu appearing good in the content area (great!) but with this error : Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@www.arnoult.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

But nothing in the apache error log...

Another problem : in Admin/Map Users option I have this error : ser warning: Table 'arnoultged.pgv_users' doesn't exist query: SELECT * FROM pgv_users ORDER BY u_username in /homez.85/arnoult/www/modules/phpgedview/phpgedview.module on line 735. I have checked again my string connection for phpgedview database and it is correct in settings.php.

$dburl['default'] = 'mysqli://****:_@/_'; $db_prefix = ''; $dburl['phpgedview'] = 'mysqli://**_:**@_/*****';

We are closed to reach the goal to make it run with Drupal 6! If I can help you to debug this bug, let me know.

Many thanks indeed anyway.

Looking forward testing the new version working on your side :-))

Best Regards

David

davidetoile commented 12 years ago

Finally I have found this error in the log: [Mon Aug 27 22:04:31 2012] [error] [client 2a01:e35:8a51:1630:85ab:e61:e643:838] [host www.domain.com] Premature end of script headers: cms_login.php, referer: http://domain/genealogy

If that can help ;-)

davidetoile commented 12 years ago

The url that seems to generate the problem is : phpgedview/modules/cms_interface/cms_login.php?path=index.php

Good luck!

algorgeous commented 12 years ago

David, I was able to fix the Map Users admin page. I can see there are errors trying to access the phpgedview/modules/cms_interface/cms_login.php page. That might mean there are other problems with the PHPGEDView code.

davidetoile commented 12 years ago

Yes, Map Users works fine for me, thanks! So far, so good.

For info I work with latest phpgedview 4.2.4. Maybe you should dig and tweak in cms_login.php to make it work. Check this post here http://drupal.org/node/222258

and here from cms_login.php :

CONFIGURATION

This interface module currently provides two services.

1) It passes login credentials from the other application to PhpGedView, allowing a logged-in session to be created within an IFRAME or a javascript popup window. No configuration is required to use this service.

2) It OPTIONALLY allows new user accounts from the other application to be created in PhpGedView. If you want to allow this feature, you need to edit cms_login.php and specify the settings for new users. This is necessary, otherwise PhpGedView is unable to verify the authenticity of the request to create a new user.

Please be certain you understand the security implications of enabling this feature before doing so.

Probably the key is in this file!

Thanks indeed.

David

davidetoile commented 12 years ago

Hi Alfred,

Did you have any chance to look at it yet? If I can help you... let me know!

Thanks

David

davidetoile commented 11 years ago

Hi Alfred,

Any hint to debug this problem? Can I help you? I am still very interested to make this module work.

Thanks for your feedback.

David

davidetoile commented 11 years ago

Btw there's a new version of PGV 4.3 that might help... http://wiki.phpgedview.net/en/index.php?title=PhpGedView_v4.3

Regards

David