For the wrong-positioned alarmbox in saratoga-templates:
In css-file,
both .malarmbox and . malarmmore: remove clear:both; AND float:right; and fix the width so it fit
@Alessandro:
Take a look in source-code and it says:
// Henkka
For the wrong-positioned alarmbox in saratoga-templates:
In css-file,
both .malarmbox and . malarmmore: remove clear:both; AND float:right; and fix the width so it fit
@Alessandro:
Take a look in source-code and it says:
// Henkka
The css mod did the trick! Working fine now in saratoga template!
Thanks Henkka.
Dick
Have submitted the problem at my webhost, this is their answer:
Annoying to hear that you get this error message.
CURLOPT_FOLLOWLOCATION will not be supported given we use open_basedir. We use this to ensure the safety of our customers and ensure servers.
Unfortunately, it is not possible to adapt this for specific customers.
We apologize for any inconvenience.
Pity the ma script I can unfortunately not use.
Peter.
Well it depends on your webhost Peegee. As I (still) have the same error my host answered me:
Bad provider I should say.
Let you know my investigations to possible reasons for the error. No warnings here at the moment so have to wait
Hi Edje,
were you able to insert new meteoalarm script in your site?
I’ve some problem with css or something else…my dashboard became wide and other object misalignments
I’ve attached two screenshots about it.
Regards,
Alessandro
Hi guys,
Zip updated with some fixes to the output. Should be W3-valid now.
henkka
Unfortunately no warnings Alessandro;
in the source of the page I have
and then the script stops
when opening the page first time I have an curlopt_error even with disabled open_basedir etc etc really don’t know what’s the cause
edit: Henkka, thanks for the update error about curlopt persists #-o
Hi Henkka,
this version is a bit better than previously but i’ve the same issue with dashboard.
Probably warning.css goes in conflict with the main css of the narrow site with Ken’s template.
@Edje
Why don’t you try the script with another country with an alarm active?
Regards,
Alessandro
Alessandro
First I have to go rid of this:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/weersverwachtingen.eu/httpdocs/clientraw/wd-ajax-ml/meteo.php on line 312 :x
I have the same error also,
I put // in front of the line 312, I don’t know if it’s okay. :?
Hi Paolo,
have you done any modify at warning.css file?
Because i’ve the issue above.
Regards,
Alessandro
@ Alessandro
I just reduced the width
.malarmbox {…width:870px…;} → width:820px
.malarmmore {…width:870px…;} → width:820px
Me too…but i’ve a big problem with dashboard
When i insert this script my dashboard slides down unexplainably!
wiped out the curlopt_ functions by
[script]
// ----------------------------functions -----------------------------------
function getmeteo($url) {
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_USERAGENT, ‘Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120424 Firefox/12.0 PaleMoon/12.0’);
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 0);
curl_setopt ($ch, CURLOPT_TIMEOUT,4);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 0);
$stuff = curl_exec($ch);
curl_close($ch);
return $stuff;
}
// ----------------------------------------------------------
[/script]
Warning: file_put_contents(http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/sea-meteoalarm-nl.txt) [function.file-put-contents]: failed to open stream: HTTP wrapper does not support writeable connections. in /var/www/vhosts/weersverwachtingen.eu/httpdocs/clientraw/wd-ajax-ml/meteo.php on line 176
as far as I know all my meteo-.txt’s are chmoded 666 or more
http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/wxradar5.php?lang=nl
Somebody please :lol: #-o
You have to remove the http://www.weersverwachtingen.eu/ from the spec … the file has to be the relative path/filename in the filesystem, not using HTTP to try and write a file.
Hi Ken,
have you got any idea about my dashboard issue?
Regards,
Alessandro
Hi Alessandro,
Sorry… can’t diagnose the issue based on an image of a webpage … I need the URL to the page showing the problem …
But you’re a genius of html/php
Ok…here is the link: http://www.meteocarmignano.it
Thanks,
Alessandro
Ah, I may be good with HTML/PHP, but unfortunately can’t use any of the debugging tools on just an image, so thanks for posting the link.
It appears that an extra is closing out the overall
The extra closing
… Utilizzo tramite autorizzazione.
Found and fixes…i love you
Kind regards,
Alessandro