Notice: CMSB v2.52 Beta 1 (Released: Mar 7)

10 posts by 4 authors in: Forums > CMS Builder
Last Post: March 15, 2013   (RSS)

  • Archived  

By Codee - March 7, 2013

Hi Dave,

Could IT update the install and upgrade instructions for the 2.5+ versions of CMSB?  It could be confusing, especially to new users, that the requirements state incorrect information.

Thanks!

  • Archived  

By Dave - March 8, 2013

Good find!  I've updated the required version numbers for PHP and MySQL in "how to install.txt".  Let me know if you spot any other incorrect information.   Thanks!

Dave Edis - Senior Developer
interactivetools.com
  • Archived  

By Djulia - March 12, 2013

Hi Dave,

>Rewritten Mail System

The smtp function functions perfectly on our server.

I have two suggestions.

1) It would be interesting to be able to make a test of sending since the page of configuration (General Settings).

2) I wished to check the behavior of CMSB if an smtp error occurred and I obtain an error 403.
It would be also interesting if it were possible to configure an error message. That can avoid long moments of debugging.

Do you think that it is possible?

Thanks!

Djulia

  • Archived  

By Codee - March 12, 2013

Very intuitive suggestions, Djulia! 

  • Archived  

By Dave - March 12, 2013

Hi Djulia,

Thanks, I've added this text below the email settings fields and linked it to: ?menu=forgotPassword 

Tip: To test mail settings send yourself an email with the Password Reset form.

The benefit of this is it uses an existing real component of CMSB to confirm email works.

2) I wished to check the behavior of CMSB if an smtp error occurred and I obtain an error 403.
It would be also interesting if it were possible to configure an error message. That can avoid long moments of debugging.

I can recreate this by setting the IP or port number to an invalid one.  Sending a test message hangs for 21 seconds on my server and then returns an error.  You could be getting a 403 because your host doesn't let the PHP script run for as long as it's taking.  I spent about an hour trying to debug this with no luck.  I know from previous experience sometimes PHP can stall (block) while looking up an invalid hostname or try to connect to a server that isn't accepting connections - even through we're calling stream_set_timeout() and doing all the standard things to set a timeout.

Do regular SMTP errors (invalid password) get returned quicker? Is it just invalid hostname/port errors or all errors?

Thanks!

Dave Edis - Senior Developer
interactivetools.com
  • Archived  

By Djulia - March 14, 2013 - edited: March 16, 2013

Hi Dave,

>Do regular SMTP errors (invalid password) get returned quicker? Is it just invalid hostname/port errors or all errors?

Oops! I excuse myself not to have specified that.

For me the problem is only with an error on the password (error 403).

What is interesting, it is that I obtain a stack trace.

Stack trace:
#0 ../3rdParty/SwiftMailer/classes/Swift/Transport/AbstractSmtpTransport.php(400): Swift_Transport_StreamBuffer->readLine(8)
#1 ../3rdParty/SwiftMailer/classes/Swift/Transport/AbstractSmtpTransport.php(277): Swift_Transport_AbstractSmtpTransport->_getFullResponse(8)
#2 ../3rdParty/SwiftMailer/classes/Swift/Transport/EsmtpTransport.php(245): Swift_Transport_AbstractSmtpTransport->executeCommand('Nmt3Y2Myc2JfNDU...', Array, Array)
#3 ../3rdParty/SwiftMailer/classes/Swift/Transport/Esmtp/Auth/LoginAuthenticator.php(44): Swift_Trans in ../3rdParty/SwiftMailer/classes/Swift/Transport/StreamBuffer.php on line 169

For the invalid hostname/port, I obtain an error message :

Mail Error: Connection could not be established with host smtp.xxx.com [Connection timed out #110]

Thanks for your patience!

Djulia

  • Archived  

By Deborah - March 15, 2013

I've installed this beta twice (clean installs, not as upgrades) and am having issues with the basic interface. The left-column navigation menu tabs aren't expanding as intended, so I can't maneuver very well. For example, I am unable to add a new editor.

I made it to the General Settings page where this error appears, next to 'WYSIWYG Language'.

Warning: scandir(/vservers/barnstormerdesig/htdocs/cms-beta/3rdParty/tiny_mce/langs/): failed to open dir: No such file or directory in /vservers/barnstormerdesig/htdocs/cms-beta/lib/menus/admin/general.php on line 349 Warning: scandir(): (errno 2): No such file or directory in /vservers/barnstormerdesig/htdocs/cms-beta/lib/menus/admin/general.php on line 349 Warning: Invalid argument supplied for foreach() in /vservers/barnstormerdesig/htdocs/cms-beta/lib/menus/admin/general.php on line 349

I see the beta did not include the /langs/ directory for upload. Maybe this is what's causing my other issues?

~ Deborah (who is anxious to try the new SMTP mail feature)

  • Archived  

By Dave - March 15, 2013

Djulia, Could you send an email to dave@interactivetools.com with steps to reproduce the SMTP password error?  I'll try in on my server and yours.

Deborah, Can you check for /3rdParty/tiny_mce/langs/ in your cmsbuilder_2_52_build1023_beta1.zip file?  I'm seeing it in mine, not sure what's happening there.  I wondering if maybe the files didn't get completely unzipped or uploaded?  

Let me know, thanks!

Dave Edis - Senior Developer
interactivetools.com
  • Archived  

By Deborah - March 15, 2013

Dave, You guessed right... the zip archive contained the file, but it was not in the unzipped directory. (Must have had a computer hiccup during the unzip.)

Beta installed and I set up and tested the SMTP feature using the password reset form. Works GREAT!

Also checked out and like the password security feature. I'm hoping someone will develop a plugin for setting password rules.

Thanks so much for adding these new features!

~ Deborah