phireuk
-
Posts
49 -
Joined
-
Last visited
-
Days Won
7
Posts posted by phireuk
-
-
I purchased a licence on 2nd May 2015.
Ather not using it for the last few years I have tried to use it this week, but it no longer works and says it's invalid.
Can someone help me to find out why my licence key no longer works.
Many Thanks
Jon
-
Can you give an example?
What extra information would be shown?
Well for example, I offer rouncube or zoho email option with hosting.
So the customer sees either
option 1 Zoho mail - (£10 one off setup charge £0 mothly)
option 2 roundcube mail - (£0 setup and £0 monthly)
Just thought, an area to display more info would be good, a hover over could display an extra field from the New Package Option page.
As a designer, most of my customers are not as tech savy as a typical hosting customer, they tend to need a bit of hand holding.
something like this...
-
Is it possible to have more info displayed when hovering over an add-on in the order forms. So that the customer can get some information regarding certain add-on and why they may need it.
In a similar way as an <a> tag can use the title=" " attribute.
-
-
Sounds like a tag in the welcome email is causing that.
Thanks for the quick responce. I had an image link in the welcome email. I removed it but the same error.
So then i removed {package.email_html} from the responce, manually filled out the email for that specific customer, and it worked.
Then readded, the stock response. I presume it will be ok for normal account activation?
Hi {contact.first_name},
Your service has been approved and activated. Please keep this email for your records.
{package.email_html}
Working now, but I have 3 services the customer. Is it OK to manully remove the earlier services from the database? It only generted 1 invoice
fortunately.Thanks for your help. -
Oh noes!
Array to string conversion on line 18 in /home/admin/web/mydomain.com/public_html/vendors/h2o/h2o/datatype.php
I tried it but got the above message.
-
The ideal of course would be to have postcode lookup. The reason, surely for recording the address is either a) to mail the customer something, to let HMRC know who you are trading with and c) to send the police round. In this case, the ISO matters less than the postcode. Users should at least be able to disable this. Michael, it might be best to keep your political opinions to yourself, if I were a pro-eu customer I might decide not to trade with you?
Have you changed your setup? or do you use the standard blesta ISO database? I've manually edited the country to UK and the random mix of states, counties and local authorities to the full & correct County list.
Just have to deal with SYK for (South Yorkshire) in front of the postcode. If you know specifically where to change from the 3 letter code to the full State / county, it would be good to know.
I'm pro EU, My wife's family all live in Crimea, and a lot of friends were on Maidan Square in Kyiv. So I see the bigger picture, and know friends of friends that have already died for the EU... it's strange to see so much anti EU sentiment, after all the main founding aim of the EU has been a 100% success. No war in europe, by containing nationalism, unforunatly the side effect is culture homoganisation, but we knew that when we signed up. The ironic thing is if we left the EU, Scotland would 100% leave the UK and then blesta will need to update the database, because ISO won't.
-
Can't find the file but there's a file in Blesta where you can remove the "code" and place the "name" nothing is impossible with Blesta..
Yes. it's very flexible
app\models\states.php looks promising
-
Most people in the UK call it Great Britain because we are British people and we are proud of our country. The UK is the name for the four countries together, but we are Great Britain. And hopefully in 2016 we will be out of the European Union so the European crap doesn't matter to us.
Anyway...
Just editing the database is not possible, because the state can only be 3 letters. Changing to larger Varchar code length in mysql is possible, but then when you choose an edited state / county in blesta, the code will only allow 3 char maximum no matter what the you choose in the database .
so even if editing the database, stuck with 3 letter code for the county.
-
We're known as Great Britain and always have been. G(reat) B(ritain) Why change something people know, even people who send me mail from aboard mix from GB or UK, the post still gets to my door with the postman and if they can do it I'm sure you can cope with it. And also what currency do we use here? UKP? United Kingdom Pound or is it's GBP which stands for Great British Pound.. Why is it Great British because it's from Great Britain.
As for EU states on their website? Can you link to it as I can't find it nor when I search it on europa.eu/index_en.htm.
It's up to people I've had people who are lazy and put WAR, UK, and Warwickshire, United Kingdom, or West Midlands, UK. Which I don't class myself from the West Midlands I say Warwickshire, but if someone doesn't know where that is it's the West Midlands near Birmingham.
Who gives a dam in the UK? No-one and the royal mail use the "Post Code" that's all they use and the first line of the address.
The technical definition Great Britain is the name of the main Island, and United Kingdom is the name of the country. It's the same as Holland vs Netherlands. The country is Netherlands, and Holland is simply the biggest region.
here's the EU link
http://publications.europa.eu/code/pdf/370000en.htm
Excluding Cameron and Fararge I've never heard anyone from UK call it "Great Britain" . Apart from the fact it's not the name of our country, it's embarrassing. Great? Is there anywhere else that's so weird? How about Mega Macedonia, Or Fantastic Finland... What about Awesome Australia or Super Spain.
-
Again why post another thread? It's stated Blesta uses the ISO for everything from USA, Greece, Spain, UK, Australia, and if Jupiter had places on it they would also comply with the International Organization for Standardization and you can't do or change anything. Unless you moan to the people who make the standardizations for the UK.
Moan to them not Blesta. It's the STANDARD for a reason.
ISO (International Organization for Standardization) is an independent, non-governmental membership organization and the world's largest developer of voluntary International Standards. We are made up of our 163 member countries who are the national standards bodies around the world, with a Central Secretariat that is based in Geneva, Switzerland. Learn more about our structure and how we are governed. What are standards? International Standards make things work. They give world-class specifications for products, services and systems, to ensure quality, safety and efficiency. They are instrumental in facilitating international trade. ISO has published more than 19 500 International Standards covering almost every industry, from technology, to food safety, to agriculture and healthcare. ISO International Standards impact everyone, everywhere.
Don't like it make your own all you have to do is edit the states database.
Opened another thread because the other one was closed without debate. ISO is not a standard used in the UK. They still call it GB, and the country is UK. It's not been GB since the year 1707.
If a data source used is old hat, defunct or incorrect. Don't use it. The EU states on their website ISO standards should not be used for UK and Greece. Because it's wrong. It's a bug in the data used and should be raised as a bug.
Thanks for the heads up about all i need to do is edit the database. I will do so.
but you are being defensive about blesta, rather than being open to the fact it's not ideal. Because you're from the UK too... and be honest, have you ever had a single letter in your life that has a 3 letter ISO code on the address and no county? The royal mail were famous for getting the letter there no matter how. You could just put a slice of toast in a letterbox with the postcode, house number and a stamp. Chances were the slice of toast would get to the address, but the Royal mail was privatised last year, so the good old days are over, and now they demand correctly formulated address.
A good proportion of my customers still like to use a phone and fax. And I've already had my first customer ask for paper billing. I'm not having a dig a blesta, just pointing out, the one size fits all address system does not fit the UK very well at all. The suggestion is designed to make blesta better. It was not my concern to think off the development time that would be needed to implement the changes, just that it would be an improvement.
-
The UK counties in blesta are not correct. Posted in the bugs forum, but told not a bug and the thread was closed. But is actually a bug, because there is no way to add a customer correct address to Blesta if they live in the UK.
As has been pointed out to me, Blesta uses http://en.wikipedia.org/wiki/ISO_3166-2:GB
A standard which is not currently used for addresses in the UK, and is incompatible.
The UK uses The UK postal system not Switzerland's ISO sysetm.
http://en.wikipedia.org/wiki/Postal_counties_of_the_United_Kingdom
Saying we use ISO standard for UK is like saying we have Blesta translated into Greek but used the Latin alphabet.
Due to using ISO standard, blesta has an incomplete mix of some counties, some countries and some local councils in the "State / Province" address field.
For example. I Live in Sheffield. The county is South Yorkshire (not listed in Blesta) (blesta lists the city council (sheffield))
London is the worst example, The county of London is not on the list either, and London appears to have been divided into political local borough council seats. For example Lambeth, Barking and Dagenham, Hackney. Additionally the list is not even complete, it has some counties, some boroughs and countries too (England). Dividing London for example into Lambeth, Barking and Dagenham, Hackney is fine but messy I guess (Address line 2 would normally be the correct place for Lambeth.), but if it's going to be done the way it is currently, where is Chelsea, Kensington & Finsbury?
London falls into;
Kent
EssexMiddlesex
Hertfordshire
SurreyLondon (County) which includes "City of London" (Which is not actually London the city, it's very small area inside London)
Dividing the UK into political local boroughs instead of counties, is not ideal, as there will be plenty of people that don't even know what local council they fall under.
I understand a degree of local knowledge is needed, and If you guys are from the states the data is taken form elsewhere.. And even if you are from the UK it's confusing. It gets more confusing though, because some areas are Special postal towns. These are places that don't need a county (but you can add one if you wish).
London, Sheffield & Bristol are all examples of special postal towns. For example, these are places that a letter will get delivered to whether the county is present on an envelope or not. EG
1 Station Road
Sheffield
S1 1SS
is the same as
1 Station Road
Sheffield
South Yorkshire
S1 1SS
But in Blesta, the only way to write the address is
1 Station Road
Sheffield
Sheffield
S1 1SS
which will produce the address
1 Station Road
Sheffield
SHF
S1 1SS
The only way to sort this for the UK is to
- add the correct list of counties
- remove the 3 letter province code, and display the full name here (South Yorkshire),
- Optional (rename Zip code to Postcode)
- Optional (rename state / province to county)
- Optional but not advised (make county (state / province) field optional for customers)
Provided these 2 rules are followed, Blesta can then store correct UK addresses in 95% of cases, and the other 5% will have a duplicate line eg (London in London)
It's important from my perspective, because in many cases it's not possible for a customer to add the correct address to their profile. Hopefully it's possible to manually edit the info. But for those that are interested here is the correct list of UK counties.
(England)
Avon
Bedfordshire
Berkshire
Buckinghamshire
Cambridgeshire
Cheshire
Cleveland
Cornwall
County Durham
Cumbria
Derbyshire
Devon
Dorset
East Sussex
Essex
Gloucestershire
Hampshire
Herefordshire
Hertfordshire
Isle of Wight
Kent
Lancashire
Leicestershire
Lincolnshire
London (London boroughs should be completed on address line 2 including "City of London")
Merseyside
Middlesex
Norfolk
Northamptonshire
Northumberland
North Humberside
North Yorkshire
Nottinghamshire
Oxfordshire
Rutland (optional but best to include)
Shropshire
Somerset
South Humberside
South Yorkshire
Staffordshire
Suffolk
Surrey
Tyne and Wear
Warwickshire
West Midlands
West Sussex
West Yorkshire
Wiltshire
Worcestershire(Northern Ireland)
County Antrim
County Armagh
County Down
County Fermanagh
County Londonderry
County Tyrone
(Scotland)
Aberdeenshire
Angus
Argyll
Ayrshire
Banffshire
Berwickshire
Caithness
Clackmannanshire
Dumfriesshire
Dunbartonshire
East Lothian
Fife
Inverness-shire
Isle of Arran
Isle of Barra
Isle of Benbecula
Isle of Bute
Isle of Canna
Isle of Coll
Isle of Colonsay
Isle of Cumbrae
Isle of Eigg
Isle of Gigha
Isle of Harris
Isle of Iona
Isle of Islay
Isle of Jura
Isle of Lewis(Wales)
Clwyd
Dyfed
Gwent
Gwynedd
Mid Glamorgan
South Glamorgan
Powys
West GlamorganIf the developers are not wanting to concede this is a bug (the bug being using an incompatible standard) then is there a way to manually edit the php files?
-
The UK counties in blesta are not correct.
Blesta has used an incomplete mix of some Counties and some local councils in the "State / Province" address field.
For example. I Live in Sheffield. The county is South Yorkshire (not listed in Blesta) (blesta lists the city council (sheffield))
London is the worst example, The county of London is not on the list either, and London appears to have been divided into political local borough council seats. For example Lambeth, Barking and Dagenham, Hackney. Additionally the list is not even complete, it has some counties, some boroughs and countries too (England). Dividing London for example into Lambeth, Barking and Dagenham, Hackney is fine but messy I guess (Address line 2 would normally be the correct place for Lambeth.), but if it's going to be done the way it is currently, where is Chelsea, Kensington & Finsbury?
London falls into;
Kent
EssexMiddlesex
Hertfordshire
SurreyLondon (County) which includes "City of London" (Which is not actually London the city, it's very small area inside London)
Dividing the UK into political local boroughs instead of counties, is not ideal, as there will be plenty of people that don't even know what local council they fall under.
I understand a degree of local knowledge is needed, and If you guys are from the states the data is taken form elsewhere.. And even if you are from the UK it's confusing. It gets more confusing though, because some areas are Special postal towns. These are places that don't need a county (but you can add one if you wish).
London, Sheffield & Bristol are all examples of special postal towns. For example, these are places that a letter will get delivered to whether the county is present on an envelope or not. EG
1 Station Road
Sheffield
S1 1SS
is the same as
1 Station Road
Sheffield
South Yorkshire
S1 1SS
But in Blesta, the only way to write the address is
1 Station Road
Sheffield
Sheffield
S1 1SS
which will produce the address
1 Station Road
Sheffield
SHF
S1 1SS
The only way to sort this for the UK is to
- add the correct list of counties
- remove the 3 letter province code, and display the full name here (South Yorkshire),
- Optional (rename Zip code to Postcode)
- Optional (rename state / province to county)
- Optional but not advised (make county (state / province) field optional for customers)
Provided these 2 rules are followed, Blesta can then store correct UK addresses in 95% of cases, and the other 5% will have a duplicate line eg (London in London)
It's important from my perspective, because in many cases it's not possible for a customer to add the correct address to their profile. Hopefully it's possible to manually edit the info. But for those that are interested here is the correct list of UK counties.
(England)
Avon
Bedfordshire
Berkshire
Buckinghamshire
Cambridgeshire
Cheshire
Cleveland
Cornwall
County Durham
Cumbria
Derbyshire
Devon
Dorset
East Sussex
Essex
Gloucestershire
Hampshire
Herefordshire
Hertfordshire
Isle of Wight
Kent
Lancashire
Leicestershire
Lincolnshire
London (London boroughs should be completed on address line 2 including "City of London")
Merseyside
Middlesex
Norfolk
Northamptonshire
Northumberland
North Humberside
North Yorkshire
Nottinghamshire
Oxfordshire
Rutland (optional but best to include)
Shropshire
Somerset
South Humberside
South Yorkshire
Staffordshire
Suffolk
Surrey
Tyne and Wear
Warwickshire
West Midlands
West Sussex
West Yorkshire
Wiltshire
Worcestershire(Northern Ireland)
County Antrim
County Armagh
County Down
County Fermanagh
County Londonderry
County Tyrone
(Scotland)
Aberdeenshire
Angus
Argyll
Ayrshire
Banffshire
Berwickshire
Caithness
Clackmannanshire
Dumfriesshire
Dunbartonshire
East Lothian
Fife
Inverness-shire
Isle of Arran
Isle of Barra
Isle of Benbecula
Isle of Bute
Isle of Canna
Isle of Coll
Isle of Colonsay
Isle of Cumbrae
Isle of Eigg
Isle of Gigha
Isle of Harris
Isle of Iona
Isle of Islay
Isle of Jura
Isle of Lewis(Wales)
Clwyd
Dyfed
Gwent
Gwynedd
Mid Glamorgan
South Glamorgan
Powys
West Glamorgan -
Despite the ambiguous title, i'm just wondering how big other peoples blesta installs are.
I have 25GB on my VPS, including OS, packages, software etc, solely for hosting blesta. And have been given the opportunity to double my RAM and drive space for 2 euro extra a month (the offer expires soon)
I noticed log_cron is the biggest area in my database, and is growing quickly. I wondered if this will simply keep growing forever, or does it delete old entries after so long? My PDF invoices are about 250KB (with the logo + header), and my customer base will be small compared to a hosting company, as im primarily a designer.
So do people think 25GB will be more than enough, or should I upgrade?
How big is your database and total install?
How many customers?
How long have you been running blesta?
-
I also think mailparse "mailparse.so"
should be added in your php.ini file and next restart php, and restart apache
Well done sir!
Looks like that has solved it
I added
extension=mailparse.so
to /etc/php5/cli/php.ini
in the extensions section, and rebooted.
Big thanks to Tyson, Paul, Licensecart and Serge.
next time im not going to bother with a VPS and just install on a shared cpanel
-
nope looks good.
hmmm, I guess, i just need to wait for US west cost to have their corn flakes. Then hopefully one of the devs can she some light on;
PHP Fatal error: Call to undefined function mailparse_msg_create() in /home/admin/web/mydomain.com/public_html/plugins/support_manager/vendors/mime_mail_parser/MimeMailParser.class.php on line 130
-
That's the PHP, Mailparse uses that and Percl or pecl or perl or something weird.
This is how i installed it. as root...
apt-get install php5-gd php5-imap php-pear php5-dev make
pecl install mailparse
vim /etc/php5/apache2/conf.d/mailparse.ini ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;added this one and only line;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; extension=mailparse.so ---------------------- saveded it and exited
service apache2 restart
I used this guide
http://wiki.cerbweb.com/Installing_PHP_Mailparse_Ubuntu
Did i do something wrong?
-
have you got the pecl or something version of mailparse?
Not sure, to be honest! what version do i need? This is what php is reporting...
here is the only other mention of mailparse
-
Thanks for the heads up, and advice. Honestly, I can't find a php error log. but fortunatly, vestaCP has a cron log, which repoted this...
Attempting to run all tasks for My Company Limited.
Attempting to apply credits to open invoices.
There are no invoices to which credits may be applied.
The apply credits task has completed.
Attempting to deliver invoices scheduled for delivery.
No invoices are scheduled to be delivered.
The deliver invoices task has completed.
Attempting to provision paid pending services.
The paid pending services task has completed.
Attempting to unsuspend paid suspended services.
The unsuspend services task has completed.
Attempting to process renewing services.
The process renewing services task has completed.
Attempting plugin cron for order accept_paid_orders.
Finished plugin cron for order accept_paid_orders.
Attempting plugin cron for support_manager poll_tickets.
PHP Fatal error: Call to undefined function mailparse_msg_create() in /home/admin/web/mydomain.com/public_html/plugins/support_manager/vendors/mime_mail_parser/MimeMailParser.class.php on line 130
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" dir="ltr">
<head>
<title>Blesta</title>
<link rel="stylesheet" type="text/css" href="/app/views/errors/css/styles.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div class="program_error">
<h3>Oh noes!</h3>
<div class="contents">
<p>Call to undefined function mailparse_msg_create() on line <strong>130</strong> in <strong>/home/admin/web/mydomain.com/public_html/plugins/support_manager/vendors/mime_mail_parser/MimeMailParser.class.php</strong></p>
</div>
</div> </body>
</html>iv'e not looked in the file at line 130, because, to be honest, im not sure what i would be looking for. As Paul mentioned it could be something to do with mailparse, but php info says it's enabled.
For the record, it's hosted on a KVM, my memory never has less than 200 MB free and 950MB free swap.
Any ideas?
EDIT:
/** * Set the email text * @return Object MimeMailParser Instance * @param $data String */ public function setText($data) { $this->resource = mailparse_msg_create(); // does not parse incrementally, fast memory hog might explode mailparse_msg_parse($this->resource, $data); $this->data = $data; $this->parse(); return $this; }
-
More informtion on what happens.
If I delete all log_cron` WHERE `log_cron`.`run_id` = 19
and leave cron to run as normal...
then...
Blesta does read my inbox, (unread emails show as read) but the email does not show in support manager, this rules out a firewall issue.
Im 99% sure this is a blesta problem and not something I have done or a setup problem.
-
OK so.. this is what I have discovered
Running Cron manually, only pulls the email through if there are 0 entries in the log_cron table in the field run_id with the value 19. (NULL or otherwise)
IE, the email will only arrive if I;
1. DELETE FROM `admin_blesta`.`log_cron` WHERE `log_cron`.`run_id` = 19
2. reply to the customer with ticket assigned to a staff member
3. reply via email as the customer
4. run cron manually
Then and only then does the email come through. The next time cron runs automatically i get a NULL value again.
-
If it works when you run it manually, but not via the cron, then I would venture to guess that your CLI environment is different.. it may be missing mailparse.
Do you have SSH access? If so, try disabling your cron temporarily, wait 5 minutes, and run it via CLI just as your cron would. Does it hang? If so, clear the hang and try again after enabling error reporting in your /config/blesta.php config file
To enable error reporting, edit /config/blesta.php and changeConfigure::errorReporting(0);toConfigure::errorReporting(-1);Thanks for the advice. I double checked mailparse and, added a test.php page, outputs the following.
phpinfo() says
mailparse mailparse support enabled Extension Version 2.1.6 Revision $Revision: 305002 $
Directive Local Value Master Value mailparse.def_charset us-ascii us-ascii
If I run cron manually twice in a row, the second time, it doesn't run the poll_tickets
1st
Attempting to run all tasks for My company.
Attempting plugin cron for support_manager poll_tickets.
Finished plugin cron for support_manager poll_tickets.
All tasks have been completed.
Attempting to run all system tasks.
All system tasks have been completed.
2nd
Attempting to run all tasks for My company.
All tasks have been completed.
Attempting to run all system tasks.
All system tasks have been completed.
EDIT:
As for running cron from putty, I have no idea where to begin, never done that before. error reporting in blesta is at -1 already. and this may be a daft question be where would the results get stored? In a php error log or in the database somewhre?
I am unable to get email messages running manually now, I can't replicate what I did to get that 1 email through.
EDIT2:
The department email setting is set to "Read" the email however the 1 email that got through shows in the zoho inbox as unread. Not sure if that relevant or not.
-
I would like to recommend you to check at your firewall parameter if you allowed your IMAP port(s),
By the way if you have a firewall, what is it?
Fail2ban. But the email gets through I just found out if running cron manually... the next auto cron it creates a NULL value in end date and never completes so all future emails don't get through.
-
If i delete the NULL valure and run Cron manually I get;
Attempting to run all tasks for My company.
Attempting plugin cron for support_manager poll_tickets.
Finished plugin cron for support_manager poll_tickets.
All tasks have been completed.
Attempting to run all system tasks.
All system tasks have been completed.And the email gets through into support manager.
But then... Cron runs the next time automatiaclly and the same issue with NULL value.
No errors, can't find any php error_log file
My Licence lifetime no longer works
in Pre-Sales Questions
Posted
Thanks, I managed to login to blesta.store. I was trying to log into the licencecart site, and didn't have access to my domains email server.
But now managed to get a password reset email from blesta.store and my licence is there.
Many thanks for your help!