vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vBMS : vBulletin Mail System (https://vborg.vbsupport.ru/showthread.php?t=140828)

chopin2256 04-18-2007 09:04 PM

Hi,

I keep getting this error:
Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:110/pop3}INBOX in /includes/vbms_class_installer.php on line 791
My host says this though:
"Imap listens on port 143, not port 110 as the error is showing. If you are sending via imap then it should be port 143. Port 110 is for popping your mail, it's what outlook uses"
I cannot figure out how to install this after many many many attempts, and I still have no idea if this is a software error bug, or a problem with the way my host set up IMAP. Although, IMAP should be working correctly, they installed it twice, and made sure it was working correctly.

chopin2256 04-18-2007 09:42 PM

Here is additional verification that IMAP and all ports are working on my server:
Hi,

I've checked to see that port 110, 143, and 25 are all open and listening.

-bash-2.05b# hostname
vps.youngcomposers.com

-bash-2.05b# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.

-bash-2.05b# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc.
See COPYING for distribution information.


-bash-2.05b# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220-vps.youngcomposers.com ESMTP Exim 4.63 #1 Wed, 18 Apr 2007 18:15:54 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

Apparently the error is not on my end, and a potential bug in the software installation process.

MikeHolohan 04-22-2007 06:26 PM

I installed this on my test forum, now I can't login, it keeps sending me back to the login page.. Mike.

Slave 04-24-2007 05:23 AM

Quote:

Here is additional verification that IMAP and all ports are working on my server:
Hi,

I've checked to see that port 110, 143, and 25 are all open and listening.

-bash-2.05b# hostname
vps.youngcomposers.com

-bash-2.05b# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.

-bash-2.05b# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc.
See COPYING for distribution information.


-bash-2.05b# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220-vps.youngcomposers.com ESMTP Exim 4.63 #1 Wed, 18 Apr 2007 18:15:54 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
Apparently the error is not on my end, and a potential bug in the software installation process

If I remember correctly, from when I first set up vBMS, there are two types of IMAP. One is the IMAP service, which as your host has shown is working on your box, the other is the PHP package. The error you're getting is to do with the PHP package. (Don't worry, it took me ages to find this information out!)

You need to ask your web host to update/install the PHP on your box with "php-imap"

If you box is redhat linux, as example, the host would use the following command from shell ..

Code:

up2date --imap
Which should get something like the following ..

Code:

Testing package set / solving RPM inter-dependencies...
########################################
php-imap-4.3.2-37.ent.i386. ########################## Done.                   
php-4.3.2-37.ent.i386.rpm:  ########################## Done.                   
php-ldap-4.3.2-37.ent.i386. ########################## Done.                   
php-mysql-4.3.2-37.ent.i386 ########################## Done.                   
php-odbc-4.3.2-37.ent.i386. ########################## Done.                   
php-pgsql-4.3.2-37.ent.i386 ########################## Done.                   
Preparing              ########################################### [100%]

Installing...
  1:php                    ########################################### [100%]
  2:php-imap              ########################################### [100%]
  3:php-ldap              ########################################### [100%]
  4:php-mysql              ########################################### [100%]
  5:php-odbc              ########################################### [100%]
  6:php-pgsql              ########################################### [100%]
The following packages were added to your selection to satisfy dependencies:

Name                                    Version        Release
--------------------------------------------------------------
php                                    4.3.2          37.ent             
php-ldap                                4.3.2          37.ent             
php-mysql                              4.3.2          37.ent             
php-odbc                                4.3.2          37.ent             
php-pgsql                              4.3.2          37.ent

As you can see I'm running PHP 4.3.2

Once that's done, restart the server and vBMS "should" work :)

Ultimative 04-24-2007 11:33 AM

When I try to install I'm getting this error:

The following setting groups are already defined: vbms

I previously installed it but it's no longer there and I wish to install from scratch. Anyway to correct this?

Krofh 04-25-2007 05:30 AM

Quote:

Originally Posted by scan-pa
Do you have an update on the changes for the next release of this product?

I'm just gonna be completely honest... I thought I'd have time to work on this, but it's not working out. I've got some exams in the middle of May, and after that I'm mostly done with school for the summer and should then be able to spend the time on this. I don't honestly expect to be able to get anything done before then though. Sorry for the long delays on this.

For those of you using IMAP rather than just accessing your mail server by POP3, you might try this option... I set this up for someone using IMAP and this was the only way I was able to get it to work on his site. In includes/vbms_functions_checkmail.php, find the vbms_checkmail_construct_connection_string(...) function and change this bit:

Code:

function vbms_checkmail_construct_connection_string($hostname = false, $port = false, $notls = NULL)
{
        global $vbulletin;
       
        $hostname = ($hostname === false ? $vbulletin->options['vbms_hostname'] : $hostname);
        $port = ($port === false ? $vbulletin->options['vbms_port'] : $port);
        $notls = ($notls === NULL ? $vbulletin->options['vbms_forcenotls'] : $notls);
       
        $notls = ($notls ? "/notls" : "");
       
        return "{" . $hostname . ":" . $port . "/imap" . $notls . "}INBOX";
}

That should do it. I'm gonna try and make IMAP access a chooseable option in the next update.

Quote:

Originally Posted by Ultimative
The following setting groups are already defined: vbms

Try deleting the "vbms" entry from the settinggroup table in your database then. You could also try properly running the uninstaller, as it's likely that the setting groups are not the only thing that was leftover from the first installation.

Quote:

Originally Posted by MikeHolohan
I installed this on my test forum, now I can't login, it keeps sending me back to the login page.. Mike.

Restore a database backup? I have no idea what'd be causing this... can you not log in to the ACP or the normal forum or both?

MikeHolohan 04-25-2007 04:24 PM

Quote:

Originally Posted by Krofh (Post 1235129)


Restore a database backup? I have no idea what'd be causing this... can you not log in to the ACP or the normal forum or both?

I couldn't login to anything, not the forum, not the AdminCp nothing, but it didn't matter it was just my test forum, I restored the database, thanks for the reply... Mike.

MAXpowerPXL 04-26-2007 05:58 AM

After much reading through all the errors posted here to find answers to my questions, I have this up and running.

I had the connection error during the installation and I found my server would only allow me to connect via imap not pop3.

In my opinion, this is the best vBulletin mod/hack ever made.
I almost can't believe it's free!

Thank you so much Krofh for the effort that has gone into this.

nonamer69 04-27-2007 01:31 AM

"EMAIL ATTACHMENTS = NO WORKY"

I've looked all over this thread to find a reason why I cannot seem to receive any attachments in my email messages. I tried the solution succo stated but still the same result. Has this problem not been resolved or is there a solution to that I missed somewhere in this thread?

btw, thanks for this great addon I just wish I could use it to its full capacity.

thincom2000 04-27-2007 04:12 AM

Changed it to output $reason instead of the error image and to hopefully locate my issue.

When running the cron, there are emails in the vbms account. VBMS checks the right account and counts the messages correctly.

PHP error: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object (/home/crackede/public_html/includes/vbms_functions_checkmail.php:421)

No mail is saved to user accounts.
The mail VBMS found is deleted.
No logs are saved.

I am using PHP 5.1.6


All times are GMT. The time now is 04:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01398 seconds
  • Memory Usage 1,767KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete