Pierre Lannoy on "[Plugin: Live Weather Station] Fatal error: Class 'Locale' not found in"

ساخت وبلاگ

bradpotts
Member
Posted 4 months ago #

Hello.

Would like to use your plugin but I get the error below on weather stations management page, it happens when I click 'Add'

Do you happen the know the reason why?

Fatal error: Class 'Locale' not found in /home/lavtechc/public_html/slocat/wp-content/plugins/live-weather-station/includes/trait-datas-output.php on line 1844

Thank You.

https://wordpress.org/plugins/live-weather-station/

Pierre Lannoy
Member
Plugin Author

Posted 4 months ago #

Hello bradpotts!
You have this error because the inteational extension for php is not installed on your server. Is it a server of your own? Do you have hand on this server or is this a hosted server?

Pierre Lannoy
Member
Plugin Author

Posted 3 months ago #

Hello bradpotts!
May I help you to install php inteationalisation package?
Or have succeeded in doing it - and so, could I consider this issue as closed?

Thanks.
Pierre

Pierre Lannoy
Member
Plugin Author

Posted 3 months ago #

I'm closing this issue because of its inactivity, don't hesitate to re-open it if you have still a problem with this package...

Best regards
Pierre

hello, just saw this post I'm having the same issue . I'm using a shared hosting package can you please walk me through the solution. thanks

Pierre Lannoy
Member
Plugin Author

Posted 3 months ago #

Hello cpnow2!

Sorry to hear you don't have php inteationalization package...
It's relatively simple to install it if you have hand on the server, which is not the case on shared hosting. I don't know how is "organized" your hosting provider, so i don't know how to install this php extension (php5-intl) in your environment. You must probably ask you provider...

(That said, I am very surprised that some hosting providers offer php servers without this extension... which one is it ?)

MaintainerCB
Member
Posted 3 weeks ago #

I am having an issue with getting your Live Weather Station working.

I have this PHP waing...

Inteationalisation extension is not installed. You can not manage OWM stations...

Can you help me? I have tried to install the int package from debian and it says file not found. Here is the code I have run in putty on the debian server.
sudo apt-get install php5-intl

Pierre Lannoy
Member
Plugin Author

Posted 3 weeks ago #

Hello MaintainerCB!
Sorry to hear you have a problem ton install php5-intl...

Could you give me the exact message you obtain while executing sudo apt-get install php5-intl? I'm not a debian guru but I will try to help you...

Pierre

dmcanaveral
Member
Posted 23 hours ago #

I also have the same issue. I got it to work perfectly on a local wp install but when attempting to add a station to my live site, I get a PHP waing on the Live Weather Stations settings page:

Inteationalisation extension is not installed. You can not manage OWM stations...

When I go to the manage stations page and click add, I get this:

Fatal error: Class 'Locale' not found

I am connected via an Open Weather Map API key.

Pierre Lannoy
Member
Plugin Author

Posted 6 hours ago #

Hi dmcanaveral.
Sorry to hear you have issues while trying the plugin.
As the message says, you must install Inteationalisation support to be able to manage OWM stations. As is it specified in the FAQ, this intl support is a requirement...

dmcanaveral
Member
Posted 5 hours ago #

I didn't manually install it on my local setup, and my live site has the same files so I'm not sure why it wouldn't already be installed, but I did a quick search but couldn't find anything on installing this package. Will you please advise on how to install it?

Pierre Lannoy
Member
Plugin Author

Posted 5 hours ago #

Of course, could you say me which is your OS?

dmcanaveral
Member
Posted 3 hours ago #

I'm using a Mac with OS X 10.11.4

Pierre Lannoy
Member
Plugin Author

Posted 1 hour ago #

Do you want to say your live server runs under OSX ??????

dmcanaveral
Member
Posted 38 minutes ago #

That's my operating system. If you're asking about my server, it's hosted through LiquidWeb and I do have access to it.

Pierre Lannoy
Member
Plugin Author

Posted 34 minutes ago #

OK. As this extension has to be installed on your server (it's a php extension), could give me which OS runs this server?

dmcanaveral
Member
Posted 30 minutes ago #

It looks like it's CentOS 5.11

Pierre Lannoy
Member
Plugin Author

Posted 13 minutes ago #

OK, so let's try:
sudo yum install php-intl
that should be enough

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 223 تاريخ : جمعه 7 خرداد 1395 ساعت: 3:34