module uploads create massive error messages

Estrangheros - May 7, 2009 - 01:10

Hi dear drupal community!
6 days ago I though, moving from joomla! to drupal would be a great step forward for me, since I focus myself on creating a community page! But until now, I wasn't even able to create a title for the website, since I firstable was trying to upload and enable some modules. Just as the first day, I get attacked from drupal with error message, and system failures. My hosting account made first place last year, and this year. It's fully support drupal, and joomla! So it shouldn't be the servers fault. Server is using Fantastico for automatically installations.
After hourlong researches on your forum, and additional recommended modules, I already was forced to reinstall drupal 3 times! I'd like to display below some of my worst error events, I experience right now:

1st. after enabling some modules, an error message appeared, saying:

" * warning: Invalid argument supplied for foreach() in /home/latincof/public_html/includes/common.inc on line 3292.
* warning: Invalid argument supplied for foreach() in /home/latincof/public_html/includes/common.inc on line 3213."

2nd: (Please note, that all depended modules were already enabled)

Fatal error: Call to undefined function imagecache_presets() in /home/mySite/modules/node_gallery-6.x-/node_gallery.install on line 207

3rd:
# user warning: Table 'drup_ng_gallery_config' already exists query: CREATE TABLE drup_ng_gallery_config ( `name` VARCHAR(32) NOT NULL DEFAULT '', `gallery_type` VARCHAR(32) NOT NULL DEFAULT '', `image_type` VARCHAR(32) NOT NULL DEFAULT '', `data` LONGTEXT DEFAULT NULL, PRIMARY KEY (gallery_type) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/mySite/includes/database.inc on line 515.
# user warning: Table 'drup_ng_images' already exists query: CREATE TABLE drup_ng_images ( `gid` INT unsigned NOT NULL DEFAULT 0, `nid` INT unsigned NOT NULL DEFAULT 0, `fid` INT unsigned NOT NULL DEFAULT 0, `weight` SMALLINT DEFAULT 0, `is_cover` TINYINT NOT NULL DEFAULT 0, INDEX gallery_image (gid, nid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/mySite/includes/database.inc on line 515.

4th (sometimes, when I use the browser back button, I am able again to access mySite. But than, all modules are again disabled. But most of the time, I can't enter the module section anymore, and needed to reinstall drupal):
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 22800 bytes) in /home/mySite/includes/form.inc on line 1527

5th:
Under the Messaging_XMPP module, I receive the error message: "Xmpp_user (missing)". There is no way at all, to solve this problem! I researched the entire night long on the forum site, I tried to google it, tried all patches available on drupal - no chance!

6th:
Under the UR-Views module, I receive the error message: "Views (missing)". Also here I really tried my very best to solve that issue, and to find the needed file, but there's no chance at all.

Yes, my xmpp framework (without any missing element) is enabled.

I'm totally desperate, because my time is going to run out. I felt like, that drupal has much more enhancements, than my previous joomla! - Should I be wrong, or I'm just too stupid toinstall simple modules?

if u tell me what a drupal

mm167 - May 7, 2009 - 01:31

if u tell me what a drupal site u are building (what features u need), i may build a demo for your ref.

why u need xmpp? u need IM feature?

u need a gallery in your site? to show photo uploaded by your memeber? or show images uploaded by admin?

u want to build Rome in 6 days? ...cool ..

We go the drupal way. How about you?
http://www.drupalway.com

thanx so much for your intention of helping me!

Estrangheros - May 8, 2009 - 01:29

hahaha!
Well; guess you're right:-)! I'm not that patient to myself! Anyway, I'm using drupal 6.11, and I need the xmpp_user for the private message features.
I already could solve the issue with the gallery,at least I hope so. Yes, I want the type, to show photo uploaded by my memebers.
The drupal site, I'm trying to build will be a community site, for storing music on their profile, and exchanging primary music. Additional, they should be able to express themself through pictures, and also to send private messages. Now, beside the still missing elements ("user_xmpp", and "views"), I only receive this one error message:
"Failed opening required 'modules/privatemsg-6.x-1.0/privatemsgapi/privatemsgapi.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/latincof/public_html/modules/activitystream-6.x/PEAR') in /mySite/modules/privatemsg-6.x-1.0/privatemsg.module on line 15"

The rest I could solve by modifying the mem capacity of php.ini. I was told, that I also need to place that file in every single subfolder. I could find some other informations on this site about this error message, that this would be an issue with Apache, that I need to define some permissions. But my hosting provider told me, that it wouldn't have nothing to do with their host, and I simply need to modify the "privatemsgapi.inc" (Modifying exactly which file, and to .....?). That's why I'm a little bit confused about, and hope getting some good tips, so I don't mess up my site again :-S!

Would be such great, if you could help me on it!

just 1 simple question..why

mm167 - May 8, 2009 - 03:35

just 1 simple question..why the folder is "privatemsg-6.x-1.0" in the error msg

"Failed opening required 'modules/privatemsg-6.x-1.0/privatemsgapi/privatemsgapi.inc'"

in general, folder name = module name (without version)

so, agter upload and unzip (or upzip then upload), there should be a folder "privatemsg" instead of "privatemsg-6.x-1.0" ....

it this a module hack?

We go the drupal way. How about you?
http://www.drupalway.com

no hack

Estrangheros - May 8, 2009 - 04:08

Oh really? Nono, I just downloaded just like that from this page under the module section! When I unzipped it, there wasn't a folder, and all files were loose in it. So I created a folder with the same name. Do you think, that could causing the issue? Should I go ahead and rename this folder?

hold on.....are u saying this

mm167 - May 8, 2009 - 04:54

hold on.....are u saying this module:
http://drupal.org/project/privatemsg

the latest (non dev) release is "privatemsg-6.x-1.0-rc2.tar.gz"

I just download it and sure that it can be unzip as a folder "privatemsg". (no verson info in the folder name)

....

try re-download it ... take a cup of coffee.. that will give u enough time to complete the download. try unzip it... see if u can get a folder with name "privatemsg".

good day.

We go the drupal way. How about you?
http://www.drupalway.com

Nice! I will give it a shot!

Estrangheros - May 8, 2009 - 05:28

Nice! I will give it a shot! Guess, meanwhile I also solved another issue with the missing item "views". The last issue I still have to solve is the missing item: "user_xmpp". Please could you give me an idea, what would be the best to do?
I really appreciate all your patient and your help! Thank you so much for it!!!

xmpp is not that easy

mm167 - May 8, 2009 - 05:54

xmpp is not that easy ...

just like "Nuclear Physics is not part of Physics 101" ...

are u sure u really "need" xmpp?

re-consider if xmpp is a MUST in your case.

before I forget...
how much do u know about xmpp?
have u already got your xmpp account?
and/or will you run your own xmpp server?

good luck.

We go the drupal way. How about you?
http://www.drupalway.com

hahaha, made me laught again!

Estrangheros - May 8, 2009 - 08:47

hahaha, made me laught again! Well...; guess, you are again right; Never play with Nuclear Physics, if you're just a baker :-)! I found some other modules, they also provide very cool features :-)! But I'll definitively get into, to see, what xmpp is (just for personal curious reasons)! As I renamed the folder, all other issues disappeared :-D! Just one more left ! But I guess, for you that might a very easy one :-)! And here comes the (hopefully) last question;
I received an error message, saying "Missing php mailer - HTML Mail requires the PHP Mailer class to properly send HTML Mail. Please download the 2.0 version and place the phpmailer folder in your messaging_phpmailer module directory. Rename the folder to "PHPMailer"."
So I did! I downloaded the 5.2 version (for php5), and installed it in my "messaging" folder, because according to what the forum is saying, the "messaging_phpmailer" = "messaging". After I renamed the "messaging" folder to "phpmessaging", but that didn't work out. So I went back, and downloaded the version2 (as the error message said), even I'm sure, that cannot be the right one, since its using php4. However, I installed it in the same way, but nothing has beeing changed.
I feel so dumb, that I can't figure it out by myself, and always need to ask for :-(! But I'm sure, soon I'll be known very well with drupal, because of that great people out there :-)!
Please, could you tell me, what I did wrong on it, because there's no folder in modules, saying "messaging_phpmailer".

Thank you again very much for keep helping me - that's just an unbelievable support I have here! So now I think I was right; drupal and its community is really extremely cool :-D!!!

regarding email ... are u

mm167 - May 8, 2009 - 09:15

regarding email ...

are u testing on a local PC without a static iP, with no domain name?
OR on a remote server, with a static IP and domain name?

one basic concept..
dont test email on a local pc without static ip and without a domain name.

I believe u know, sending email is a chain of steps between email servers.
a->b -> ....-> x -> y -> z

in order to stop email span, most of the email servers have stopped forwarding email if u do not have a static IP and registered domain.

and, email feature is matured in drupal. Once u move the druap on a remote hosting server, the email feature will be OK.

hope this may help u to save some time.

We go the drupal way. How about you?
http://www.drupalway.com

Well, I'm already using

Estrangheros - May 8, 2009 - 16:47

Well, I'm already using remote server (hostmonster.com), because exactly of avoiding those issues. So you mean, this is a config setting on my server?

 
 

Drupal is a registered trademark of Dries Buytaert.