Jump to content
  • 0

Error When Trying To Activate New Account


Question

Posted

I'm working on setting up my new blesta install, using only the Cpanel Extended Module right now for account creation.

 

I made a test account, signed up and purchased a plan (free plan for testing purposes).

 

Then I enter the AdminCP to activate the order.

 

1. There is no password entered into the details (though I did put one in when I filled out the order form).  Is this normal?  I've tried leaving it blank as well as putting in a password...#2 below happens either way.

 

2. When I click "activate" the following error occurs:

 

Oh noes!

unexpected character in filters : "/" at 1974 on line 233 in /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php 

Printing Stack Trace:
#0 /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php(114): ArgumentLexer->parse()
#1 /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php(75): H2o_Parser::parseArguments('pricing.cancel_...', 1955)
#2 /home/staxweb/public_html/my/vendors/h2o/h2o.php(106): H2o_Parser->parse()
#3 /home/staxweb/public_html/my/vendors/h2o/h2o.php(142): H2o->parse('

???Hi {conta...')
#4 /home/staxweb/public_html/my/app/models/emails.php(796): H2o::parseString('

???Hi {conta...', Array)
#5 /home/staxweb/public_html/my/app/models/emails.php(514): Emails->buildEmail('service_creatio...', '1', 'en_us', Array)
#6 /home/staxweb/public_html/my/app/models/services.php(1135): Emails->send('service_creatio...', '1', 'en_us', 'daniel.b.barr@g...', Array, NULL, NULL, NULL, Array)
#7 /home/staxweb/public_html/my/app/models/services.php(932): Services->sendNotificationEmail(Object(stdClass), Object(stdClass), '1')
#8 /home/staxweb/public_html/my/app/controllers/admin_clients.php(3396): Services->edit('2', Array, false, true)
#9 /home/staxweb/public_html/my/lib/dispatcher.php(111): AdminClients->editService()
#10 /home/staxweb/public_html/my/index.php(21): Dispatcher::dispatch('/admin/clients/...')
#11 {main}

 

19 answers to this question

Recommended Posts

  • 0
Posted

What do your service creation and package welcome email templates look like?

 

Service Creation:

 

Hi {contact.first_name},

Your service has been approved and activated. Please keep this email for your records.

{package.email_html}

 

Welcome Email: (I just threw these in here to see what all they generated, so this might be the issue since there's not static content in it maybe?)

 

{client.id}

{client.id_code}

{client.first_name}

{client.last_name}

{pricing.term}

{pricing.period}

{pricing.currency}

{pricing.price}

{pricing.setup_fee}

{pricing.cancel_fee}

{module.*}

{package.*}

{service.*}

I unchecked the box to send the email and it worked fine (other than the fact that the password that is entered during ordering does not autopopulate the field....so you have to make one up in order to activate it) , so that must be what the issue is.

 

I also thought that maybe it was those last 3 entries in the welcome email, but I removed those and tried again and it still did the same thing.

  • 0
Posted

Service Creation:

 

Hi {contact.first_name},

Your service has been approved and activated. Please keep this email for your records.

{package.email_html}

 

Welcome Email: (I just threw these in here to see what all they generated, so this might be the issue since there's not static content in it maybe?)

 

{client.id}

{client.id_code}

{client.first_name}

{client.last_name}

{pricing.term}

{pricing.period}

{pricing.currency}

{pricing.price}

{pricing.setup_fee}

{pricing.cancel_fee}

{module.*}

{package.*}

{service.*}

I unchecked the box to send the email and it worked fine (other than the fact that the password that is entered during ordering does not autopopulate the field....so you have to make one up in order to activate it) , so that must be what the issue is.

 

I also thought that maybe it was those last 3 entries in the welcome email, but I removed those and tried again and it still did the same thing.

 

Is it still happening? Try this one mate, I use this one: http://www.blesta.com/forums/index.php?/topic/223-welcome-email-for-hosting/

  • 0
Posted

yup, still happening even using what you posted in your thread.  Everything is updated as well from what I can tell (using 3.0.5 patch).

 

weird, I used the MG one, and upgraded, not had any orders for resellers though so I can't tell you if mine is broken, but it worked for me before. What happens when you make a service via the admin area?

  • 0
Posted

weird, I used the MG one, and upgraded, not had any orders for resellers though so I can't tell you if mine is broken, but it worked for me before. What happens when you make a service via the admin area?

 

Just tried that, does the same thing :(.

 

Also, using the version of cpanel extended released by Blesta, not the MG version

  • 0
Posted

oh, also.  Just confirmed.  It does actually create the account on the server as long as a password is there (that's another issue in another thread though)...just seems to be causing issues with sending the email.

 

Though, if I look at the module settings in the control panel, it still says 0/25 services for the server it was created on.  Seems like counters aren't updating in my install either (as I have this same issue with pending services...it's showing 4 pending still when there are 0)

  • 0
Posted
{module.*}

{package.*}

{service.*}

Those tags don't exist. You can use {% debug %} in the email template to see what tags are available, but make sure not to do so in a live environment, since there may be some sensitive information shown.

 

Are you sure that neither the HTML nor text versions of the email templates have a forward slash somewhere within a tag, e.g. {client.first_name/}? Or maybe the password had a forward slash in it? I haven't reviewed how the module works in any great detail, but it sounds like either an email template problem, or a bug with the module.

 

 

Though, if I look at the module settings in the control panel, it still says 0/25 services for the server it was created on.  Seems like counters aren't updating in my install either (as I have this same issue with pending services...it's showing 4 pending still when there are 0)

The counters for various modules are not working. There are tasks for adding them, but it's been rather low priority.

  • 0
Posted

Those tags don't exist. You can use {% debug %} in the email template to see what tags are available, but make sure not to do so in a live environment, since there may be some sensitive information shown.

 

Are you sure that neither the HTML nor text versions of the email templates have a forward slash somewhere within a tag, e.g. {client.first_name/}? Or maybe the password had a forward slash in it? I haven't reviewed how the module works in any great detail, but it sounds like either an email template problem, or a bug with the module.

 

 

The counters for various modules are not working. There are tasks for adding them, but it's been rather low priority.

 

Yeah, I removed those tags after the first try I think and it still throws the error.

 

I just double checked the html and text (they are identical) and there are no "/" anywhere in the tags.  There also isn't a / in the password.

 

about the counters...gotcha :D

 

If you want, I'm more than happy to give you access to my install if you need to poke around.

  • 0
Posted

I just installed the standard cpanel module to test if it's a module issue or not, and it gives the same type of error.  This is what is produced when using the template that Cubicwebs provided and attempted to generate the service from the client info page.

 

It does actually create the cpanel account on the server still...it just doesn't send the email.

 

Oh noes!

unexpected character in filters : "/" at 690 on line 233 in /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php 

Printing Stack Trace:
#0 /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php(114): ArgumentLexer->parse()
#1 /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php(75): H2o_Parser::parseArguments(' #2 /home/staxweb/public_html/my/vendors/h2o/h2o.php(106): H2o_Parser->parse()
#3 /home/staxweb/public_html/my/vendors/h2o/h2o.php(142): H2o->parse('

???Hi {conta...')
#4 /home/staxweb/public_html/my/app/models/emails.php(796): H2o::parseString('

???Hi {conta...', Array)
#5 /home/staxweb/public_html/my/app/models/emails.php(514): Emails->buildEmail('service_creatio...', '1', 'en_us', Array)
#6 /home/staxweb/public_html/my/app/models/services.php(1135): Emails->send('service_creatio...', '1', 'en_us', 'barrdb@musc.edu', Array, NULL, NULL, NULL, Array)
#7 /home/staxweb/public_html/my/app/models/services.php(818): Services->sendNotificationEmail(Object(stdClass), Object(stdClass), '2')
#8 /home/staxweb/public_html/my/app/controllers/admin_clients.php(3865): Services->add(Array, Array, true)
#9 /home/staxweb/public_html/my/app/controllers/admin_clients.php(3778): AdminClients->createService(Array, Array)
#10 /home/staxweb/public_html/my/app/controllers/admin_clients.php(3342): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass))
#11 /home/staxweb/public_html/my/lib/dispatcher.php(111): AdminClients->addService()
#12 /home/staxweb/public_html/my/index.php(21): Dispatcher::dispatch('/admin/clients/...')
#13 {main}

I have also reuploaded my files to make sure they were all uploaded correctly.

  • 0
Posted

I just installed the standard cpanel module to test if it's a module issue or not, and it gives the same type of error.  This is what is produced when using the template that Cubicwebs provided and attempted to generate the service from the client info page.

 

It does actually create the cpanel account on the server still...it just doesn't send the email.

 

Oh noes!

unexpected character in filters : "/" at 690 on line 233 in /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php 

Printing Stack Trace:
#0 /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php(114): ArgumentLexer->parse()
#1 /home/staxweb/public_html/my/vendors/h2o/h2o/parser.php(75): H2o_Parser::parseArguments(' #2 /home/staxweb/public_html/my/vendors/h2o/h2o.php(106): H2o_Parser->parse()
#3 /home/staxweb/public_html/my/vendors/h2o/h2o.php(142): H2o->parse('

???Hi {conta...')
#4 /home/staxweb/public_html/my/app/models/emails.php(796): H2o::parseString('

???Hi {conta...', Array)
#5 /home/staxweb/public_html/my/app/models/emails.php(514): Emails->buildEmail('service_creatio...', '1', 'en_us', Array)
#6 /home/staxweb/public_html/my/app/models/services.php(1135): Emails->send('service_creatio...', '1', 'en_us', 'barrdb@musc.edu', Array, NULL, NULL, NULL, Array)
#7 /home/staxweb/public_html/my/app/models/services.php(818): Services->sendNotificationEmail(Object(stdClass), Object(stdClass), '2')
#8 /home/staxweb/public_html/my/app/controllers/admin_clients.php(3865): Services->add(Array, Array, true)
#9 /home/staxweb/public_html/my/app/controllers/admin_clients.php(3778): AdminClients->createService(Array, Array)
#10 /home/staxweb/public_html/my/app/controllers/admin_clients.php(3342): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass))
#11 /home/staxweb/public_html/my/lib/dispatcher.php(111): AdminClients->addService()
#12 /home/staxweb/public_html/my/index.php(21): Dispatcher::dispatch('/admin/clients/...')
#13 {main}

I have also reuploaded my files to make sure they were all uploaded correctly.

 

I'm confused, something is really upset somewhere. I use my template and people get the email :o

  • 0
Posted

I think I might just complete delete blesta and reinstall and see if it still pops up.  Will report back soon :)

 

Ok mate :) *fingers crossed* there's only one issue I think your in the same boat, have you been upgrading from 3.0.0 B7? I have you see.

  • 0
Posted

I haven't, I'm using the brand new packages.

 

I just tried everything using my dev install and it worked just fine...so there has to be something wrong with my main install I'm guessing. (figured I'd try that before I reinstalled).  So, guess it's time to reinstall.

  • 0
Posted

I haven't, I'm using the brand new packages.

 

I just tried everything using my dev install and it worked just fine...so there has to be something wrong with my main install I'm guessing. (figured I'd try that before I reinstalled).  So, guess it's time to reinstall.

 

So could be a server issue? or is your dev install on the same server mate?

  • 0
Posted

So could be a server issue? or is your dev install on the same server mate?

 

same server, just different subdomain.

 

I'm thinking maybe something just got screwed up in the database somehow or one of the files is corrupted, etc.  Guess I'll find out shortly, uploading new files now.

  • 0
Posted

Well, I just finished reinstlaling blesta on my main domain, as well as testing out the extended module creation on my dev site...and both seemed to work fine this time around.  Guess I'll have to chalk this one up to a random issue with the files/database of the previous install.

  • 0
Posted

Well, I just finished reinstlaling blesta on my main domain, as well as testing out the extended module creation on my dev site...and both seemed to work fine this time around.  Guess I'll have to chalk this one up to a random issue with the files/database of the previous install.

 

Glad everything is working for you now mate :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...