Support Forum

  • Page:
  • 1
  • 2

strange FTP traffic stemming from cache/zengridframework/css

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi everybody,
after some security messages from my host I started to monitor FTP logs more closely.

Any idea what migh cause a constant localhost (on the server) FTP traffic opening and adressing the file cache/zengridframework/css
and template/zengridframework/css/fonts.css.

I checked all files for code that might cause it, but they seem to be clean. The effect is noticed on two sites - Rasa and Newsstream template.
Thanks a lot.
  • MaMuster's Avatar
  • MaMuster
  • LIfetime Developer - Big Bamboo
  • 329 posts
  • 10 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi,

Sounds like the template is trying to write css cache files but it shouldn't be writing by ftp unless you have joomla's ftp layer enabled.

I think it would only then be continuous if the cache folders were not writeable and it was trying to save them unsucessfully.

Your server access logs should tell you what is happening.

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
I have the FTP Layer enabled.

The question is

why would the template want to wirte in the cache folder and is there a way of controlling/switching it on or off.

The sites are minor sites, in genaral no need for chaching.

The log is basically one long list of three minites intervalls with cach/zengrid/ access.
  • MaMuster's Avatar
  • MaMuster
  • LIfetime Developer - Big Bamboo
  • 329 posts
  • 10 Thanks
  • Karma: 4
The administrator has disabled public write access.
Do you have css cache enabled in the template settings?
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
In your question you refer to compress CSS and compress Javascript?

Yes it was active. I disabled it now. Will know tomorrow morning if this was the cause from the log.

Thanks
  • MaMuster's Avatar
  • MaMuster
  • LIfetime Developer - Big Bamboo
  • 329 posts
  • 10 Thanks
  • Karma: 4
The administrator has disabled public write access.
Yes, that's whet I was referring to.

Let us know what you find out. As far as I am aware, the files should only be cached on saving the template parameters.

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Hi guys,

I have the same problem, got also a security warning.
Also using the Rasa template. Framework version 1.1.11.
Checked and indeed, in templates/zengridframework/css the fonts.css gets recent changes all the time. Inpecting the file it seems OK though.
CSS Compression is disables, Javascript Compression is Disabled, Mootools kept in output.
FTP-layer is disabled.
Any idea what might be going on/how to remedy?

Thanks in advance,

shunty
  • shunty2's Avatar
  • shunty2
  • LIfetime Developer - Big Bamboo
  • 24 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Shunty,

Can you let us know if the issue continues with css and js compression turned off?

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
As they are disabled, I guess they are allready off, dear Anthony?
See attach for all actual positions of the template performance settings,

thanks in advance,
shunty
Attachments:
  • shunty2's Avatar
  • shunty2
  • LIfetime Developer - Big Bamboo
  • 24 posts
  • Karma: 0
The administrator has disabled public write access.
Hmm yes.

Perhaps post a ticket so we can see if there is anything out of place in that folder.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
OK, will do asap.

Thanks in advance,

shunty
  • shunty2's Avatar
  • shunty2
  • LIfetime Developer - Big Bamboo
  • 24 posts
  • Karma: 0
The administrator has disabled public write access.
thanks

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Any new insights?

Since the topic popped up again and there are others users experiencing it I checked my logs again.

Still having it. I am pretty sure I disabled everything as suggested in the post above.

best regards
  • MaMuster's Avatar
  • MaMuster
  • LIfetime Developer - Big Bamboo
  • 329 posts
  • 10 Thanks
  • Karma: 4
The administrator has disabled public write access.
Had a delay in making this ticket, but will make one right now so that Anthony or Paulus might check. Will report here afterwards.

In the mean time I installed a copy of the productional site on a development domain, and it has the same thing.
It seems to "deliver an update" to that css file as soon as someone accesses the site or a page of the site.

shunty
  • shunty2's Avatar
  • shunty2
  • LIfetime Developer - Big Bamboo
  • 24 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks if you could include as much details as possible - we may also need cpanel access to check logs

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Just sent the ticket.
FTP and admin access info included.

If cPanel access also still needed, just le me know, Paulus.

Thanks in advance,

shunty
  • shunty2's Avatar
  • shunty2
  • LIfetime Developer - Big Bamboo
  • 24 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
For anybody else having this problem with the ftp layer enabled, here is a fix:

Modify the templates templateDetails.xml file to add a new field under the typekit options
<field type="zentitle" label="Disable Writing of Fonts.css" />
<field name="fontDisable" type="list" default="0" label="Writing of fonts.css" description="Disable after creation if using FTP layer">
<option value="0">Enabled</option>
<option value="1">Disabled</option>
</field>

In the framework template open the file /functions/vars.php

Add a new variable for the new template param
$fontDisable = $this->params->get("fontDisable", "0");

Look for the lines
// Fonts logic
if ($fonts =="1" or $fonts =="3") {
include_once (dirname(__FILE__).DS.'elements/fonts.php');

$fontcss ="fonts";
$fonts=="1";
}

and replace with
// Fonts logic
if ($fonts =="1" or $fonts =="3" && $fontDisable =="0") {
include_once (dirname(__FILE__).DS.'elements/fonts.php');

$fontcss ="fonts";
$fonts=="1";
}
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Or ... we can make this modification for you if you create a ticket.

This is only an issue in some rare cases and since these templates will be updated to T3 soon this is the best way to proceed.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Thanks, guys!

JoomlaBamboo is easily the best!
  • shunty2's Avatar
  • shunty2
  • LIfetime Developer - Big Bamboo
  • 24 posts
  • Karma: 0
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers