while enabling module i get this error

Fatal error: Uncaught exception 'TumblrConnectDatabaseException' with message 'Unexpected Exception in get tumblr connect config' in /home/hoodhipp/public_html/modules/tumblr_connect/tumblr_connect_config_class.inc:353 Stack trace: #0 /home/hoodhipp/public_html/modules/tumblr_connect/tumblr_connect.module(707): DbTumblrConnectConfig->get() #1 /home/hoodhipp/public_html/modules/tumblr_connect/tumblr_connect.module(669): getConfig() #2 /home/hoodhipp/public_html/modules/tumblr_connect/tumblr_connect.module(119): getTypesAllowed() #3 /home/hoodhipp/public_html/modules/node/node.module(678): tumblr_connect_nodeapi(Object(stdClass), 'load', NULL, NULL) #4 /home/hoodhipp/public_html/modules/node/node.module(766): node_invoke_nodeapi(Object(stdClass), 'load') #5 /home/hoodhipp/public_html/modules/content_profile/content_profile.module(487): node_load(Array, NULL, NULL) #6 /home/hoodhipp/public_html/modules/content_profile/content_profile.module(88): content_profile_load('uprofile', '1') #7 [internal function]: content_profile_pa in /home/hoodhipp/public_html/modules/tumblr_connect/tumblr_connect_config_class.inc on line 353

Comments

lorinpda’s picture

Title: FATAL ERROR HELP!! » Fatal Error
Assigned: voughndutch » lorinpda

Hi,
Please do not post title's in upper caste :) Work is performed by volunteers :) Upper caste does not escalate support requests:)
....
Can you please post what version of Drupal you are running?
....
"while enabling module i get this error" -- Does this literally mean during the module installation? Or do you mean after completing the Tumblr Connect Configuration Settings dialog (enter your Tumblr login info, etc)?
.
Next, from what you've posted there seems to be a issue/conflict with "content_profile". In the Tumblr_Connect Configuration settings, remove the check next to the "Content Profile" (under Drupal Content Types). Click the "submit" button to save. Please let me know if that makes a difference.
....
Can you tell me which version of the Content Profile module you are using. That way I can test against my own Drupal 6 installation.
....
Thank you.

voughndutch’s picture

My apologies just expressing frustration

I am running drupal 6.22

To be clear the error occurred after clicking tumblr connect and soon after clicking save configuration on module page.

Since then my site is in total disarray. modules have been disabled/deselected. javascript aggregation is broken trying to salvage this situation FML. I will get back to you asap

lorinpda’s picture

Priority: Major » Normal
lorinpda’s picture

Reminder:

Can you tell me which version of the Content Profile module you are using.?

Also, please update your Tumblr Connect configuration.

  • Remove the check next to the "content profile" content type.
  • Click submit to save the configuration.
  • Please report back here if you status changes :) .
lorinpda’s picture

Status: Active » Postponed (maintainer needs more info)
lorinpda’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Hi,
Tested with 6.x-1.0 version of Content Profile. Unable to reproduce.
......

voughndutch’s picture

ill go through the steps you have provided and see if it makes a difference but I am a lil iffy on using this module, took a large chunk of time getting things back to norm. (This is most likely due to the fact that I am new to drupal so no strikes against your module) Further more I placed it in my module directory not enabled and I get white screens so im gonna push forward past this for now thanks for your assistance, and being an example of proper drupal.org etiquette.

voughndutch’s picture

ill go through the steps you have provided and see if it makes a difference but I am a lil iffy on using this module, took a large chunk of time getting things back to norm. (This is most likely due to the fact that I am new to drupal so no strikes against your module) Further more I placed it in my module directory not enabled and I get white screens so im gonna push forward past this for now thanks for your assistance, and being an example of proper drupal.org etiquette.

iex’s picture

Status: Closed (cannot reproduce) » Needs work

I get the similar erroR, and i cant disable any options of this module because the site is non functional after enabling this module. I cant even find the table in database named 'tumblr_connect_config' or even any table containing 'tumblr':

Fatal error: Uncaught exception 'TumblrConnectDatabaseException' with message 'Unexpected Exception in get tumblr connect config' in public_html/modules/tumblr_connect/tumblr_connect_config_class.inc:353 Stack trace: #0
public_html/modules/tumblr_connect/tumblr_connect.module(707): DbTumblrConnectConfig->get() #1
public_html/modules/tumblr_connect/tumblr_connect.module(669): getConfig() #2
public_html/modules/tumblr_connect/tumblr_connect.module(119): getTypesAllowed() #3
public_html/modules/node/node.module(678): tumblr_connect_nodeapi(Object(stdClass), 'load', NULL, NULL) #4
public_html/modules/node/node.module(766): node_invoke_nodeapi(Object(stdClass), 'load') #5
public_html/modules/image/image.module(744): node_load(Array) #6
public_html/modules/image/image.module(2 in /home/g/glushonkov/pickupjob.ru/public_html/modules/tumblr_connect/tumblr_connect_config_class.inc on line 353

iex’s picture

Title: Fatal Error » ugg clearance

What is that?!

iex’s picture

Title: ugg clearance » Fala error
iex’s picture

Title: Fala error » Fatal error
iex’s picture

Hm, i tried to enable it on the diffenet site, it worked OK. Drupal 6.22/ Then i thought that its maybe a conflict with image or content profile, i enabled them both, it is still working OK. So i have no idea why this error appears on the other site...
Both sites are on multi-siting platform and connected to the same database. So why when installing on the first site tables with prefix are not created? but when installing on the other tables are successfully created

lorinpda’s picture

Title: Fatal error » Recovering from a failed module installation.

Hi iex,
Thank you so much for detailing your process and status. That really helps!!! :)
.....
The error message pasted at the top of this post indicates the module installation process (Tumblr Connect) failed. The installation process for Tumblr Connect creates the database tables: cache_tumblr_connect, tumblr_connect_node,tumblr_connect_batch, tumblr_follower,tumblr_connect_config. If any of those tables do not exist, the module cannot function properly.
.....
Module installation procedures are like any procedures you run on a computer system. Failures can occur. I am going to focus on how to "recover" from a failed module installation procedure.
....
You want to completely remove the module whose installation process failed. In this case Tumblr Connect. Perform the following process:

  • Log in to your site as the system administrator.
  • Navigate to [Administer][Modules]
  • Remove the check mark next to Tumblr Connect
  • Click the "Save Configuration" button at the bottom of the screen.
  • At the top of the screen click on "Uninstall"
  • Check "Tumblr Connect"
  • Click the "Uninstall" button twice (as prompted)
  • Click on "List" then locate the link for "update.php"
  • Click the "update.php" link and follow the instructions.
  • Now clear the system cache,
  • Navigate to [Administer][Performance]
  • Click on the "Clear Cached Data" button (at the bottom of the screeen).
  • Now remove Tumble Connect from your Drupal installation (I.E. the file system).
  • Tumblr Connect should be located in [base Drupal installation location]/sites/all/modules

......
Optional: Check your database and verify that the Tumblr Connect database tables are no longer present (table list detailed above).
......
You are now ready to perform a fresh installation of the module.
.....
You've also indicated the system is "white screened". If for some reason, you've duplicated a file listing, you've accidentally duplicated a php function. The result is, the system does not render (i.E. white screen). Your system has recorded a detail error message, we just need to find the log file.
.....
On my system php messages are placed in /var/log/messages.log (AKA syslog). The location of your log file is located in your php.ini file "error_log = syslog". Once you've located where php error messages are printed, review that log file.
.....
I would verify that you didn't accidentally unzip (extract) Tumblr Connect in more than one location. I've accidentally extracted a module in the [base Drupal installation location]/modules directory instead of [base Drupal installation location]/sites/all/modules.
.....
In addition, some file utilities will ask you if you want to overwrite an existing file. If you answer "no" it creates a second copy of the file (e.g. myfile and myfile_2). In this case you now have 2 php files with the same function definition. Duplicate definitions cause a white screen. Your error log will detail the exception. Hence, that's why I recommend completely removing the module (Tumblr Connect) whose installation process has failed.
.....
Hope that helps. Please post an update on your status.
....
Lorin

iex’s picture

Ок, I made the uninstall of the module. But it seems it doesnt worked because there were no database tables to delete. Anyway, i recieved error messages.
Then i cleared the cache.
Then i deleted the module from /modules, and put it in sites/all/modules
Seems it was the case, cause when i enabled the module it worked fine!
Thanks a lot for your help )

lorinpda’s picture

Status: Needs work » Closed (fixed)

Hi Iex,
Again thank you so much for your detailed report:).
.....
Since the recovery procedure resulted in a successful install I am going to close this issue.
....
Thanks again for your help.
....
Lorin