-----Forwarded by Douglas Arellanes/Mdlf on 09/16/2009 07:22AM -----To: <contact@campware.org>From: "Tommy Ipsen" <tip@sam.sdu.dk>Date: 09/15/2009 09:34PMSubject: Smarty - which version is used in Campsite?
Hi
I am in the process of reinstalling our
campsite-server and was wondering if the version of Smarty used by Campsite really
is v. 2.6.18? If this is the case will it be possible to upgrade Smarty to the
newest version instead of the old one? (Security issues is my worry)
Yep, we're using 2.6.18, you can upgrade it in your installation
though, I run latest stable 2.6.26 locally and the upgrade process was
straight forward.
Download 2.6.26 tarball, unpack it and copy relevant files like this:
$ cp -a /path/to/latest_smarty/Smarty-2.6.26/libs/*
/path/to/your/campsite_document_root/include/smarty/
Thank you for pointing this out, I'll upgrade it for next release.
Best,
On Wed, Sep 16, 2009 at 12:23 AM, wrote:
>
> -----Forwarded by Douglas Arellanes/Mdlf on 09/16/2009 07:22AM -----
>
> To:
> From: "Tommy Ipsen"
> Date: 09/15/2009 09:34PM
> Subject: Smarty - which version is used in Campsite?
>
> Hi
>
>
>
> I am in the process of reinstalling our campsite-server and was wondering if the version of Smarty used by Campsite really is v. 2.6.18? If this is the case will it be possible to upgrade Smarty to the newest version instead of the old one? (Security issues is my worry)
>
>
>
> Best regards
>
> Tommy Ipsen
> Project Officer, Samfundsvidenskabeligt Fakultets EDB Organisation (SFEO)
>
> Tel.
>
> +45 6550 2124
>
> Fax
>
> +45 6593 2349
>
> Email
>
> tip@sam.sdu.dk
>
> Web
>
> http://www.sam.sdu.dk/ansat/tip
>
> Addr.
>
> Campusvej 55, 5230 Odense M
>
>
>
> ________________________________
>
> Campusvej 55
today the person updating the news site reported me that he can't
access the admin tools (front end looked fine back then).
Unfortunately I could look very quickly the site then and I saw the
bug report screen where should be admin login. Now the whole site is
not connected, Firefox giving error "Firefox can't establish a
connection to the server at..."
I did report this to the people taking care of the server as well but
since I saw some errors in the error log (look below), I decided to
tell you folks too in case there is something alarming or need to be
fixed in the installation.
Best regards,
Sanna
ERROR LOG:
[Wed Sep 16 10:42:02 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined variable: fetched in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 99, referer: http://myserverspace.ficom/fi_FI/100/
[Wed Sep 16 10:42:02 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined variable: fetched in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 134, referer: http://myserverspace.ficom/fi_FI/100/
[Wed Sep 16 10:42:09 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined index: 221_Template in /home/webadmin/
myserverspace.ficom/html/classes/CampCache.php on line 157, referer: http://myserverspace.ficom/fi_FI/100/
[Wed Sep 16 10:42:48 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined index: Section::GetSections_3_1_21_805_null_null
in /home/webadmin/myserverspace.ficom/html/classes/CampCache.php on
line 157, referer: http://myserverspace.ficom/fi_FI/100/
[Wed Sep 16 10:42:48 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined index: CampSystem_ArticleTemplate_21_3_1_805 in /
home/webadmin/myserverspace.ficom/html/classes/CampCache.php on line
157, referer: http://myserverspace.ficom/fi_FI/100/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined variable: fetched in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 97, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Warning: imagejpeg() [
href='function.imagejpeg'>function.imagejpeg]: Unable to open '/
home/webadmin/myserverspace.ficom/html/images//image_cache//derivates/
30/cms-image-000001007.jpg' for writing: Disk quota exceeded in /home/
webadmin/myserverspace.ficom/html/template_engine/classes/
CampGetImage.php on line 346, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined variable: fetched in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 134, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Warning: filemtime() [
href='function.filemtime'>function.filemtime]: stat failed for /
home/webadmin/myserverspace.ficom/html/images//image_cache//derivates/
30/cms-image-000001007.jpg in /home/webadmin/myserverspace.ficom/html/
template_engine/classes/CampGetImage.php on line 331, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined variable: fetched in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 134, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Warning: readfile(/home/webadmin/myserverspace.ficom/html/images//
image_cache//derivates/30/cms-image-000001007.jpg) [
href='function.readfile'>function.readfile]: failed to open
stream: No such file or directory in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 332, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined variable: fetched in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 97, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
[Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
Notice: Undefined variable: fetched in /home/webadmin/
myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
line 99, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
The server space had ended... with quite radical results indeed.
About the error messages in log: are they related in your opinion for
the space issue or other problems?
Still wondering how the empty 2Gb suddenly went away...
/Sanna
On 16.9.2009, at 22.42, Generare Management Department wrote:
> Hi,
>
> today the person updating the news site reported me that he can't
> access the admin tools (front end looked fine back then).
> Unfortunately I could look very quickly the site then and I saw the
> bug report screen where should be admin login. Now the whole site is
> not connected, Firefox giving error "Firefox can't establish a
> connection to the server at..."
> I did report this to the people taking care of the server as well
> but since I saw some errors in the error log (look below), I decided
> to tell you folks too in case there is something alarming or need to
> be fixed in the installation.
>
> Best regards,
>
> Sanna
>
> ERROR LOG:
> [Wed Sep 16 10:42:02 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined variable: fetched in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 99, referer: http://myserverspace.ficom/fi_FI/100/
> [Wed Sep 16 10:42:02 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined variable: fetched in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 134, referer: http://myserverspace.ficom/fi_FI/100/
> [Wed Sep 16 10:42:09 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined index: 221_Template in /home/webadmin/
> myserverspace.ficom/html/classes/CampCache.php on line 157, referer: http://myserverspace.ficom/fi_FI/100/
> [Wed Sep 16 10:42:48 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined index: Section::GetSections_3_1_21_805_null_null
> in /home/webadmin/myserverspace.ficom/html/classes/CampCache.php on
> line 157, referer: http://myserverspace.ficom/fi_FI/100/
> [Wed Sep 16 10:42:48 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined index: CampSystem_ArticleTemplate_21_3_1_805 in /
> home/webadmin/myserverspace.ficom/html/classes/CampCache.php on line
> 157, referer: http://myserverspace.ficom/fi_FI/100/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined variable: fetched in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 97, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Warning: imagejpeg() [
> href='function.imagejpeg'>function.imagejpeg]: Unable to open '/
> home/webadmin/myserverspace.ficom/html/images//image_cache//
> derivates/30/cms-image-000001007.jpg' for writing: Disk quota
> exceeded in /home/webadmin/myserverspace.ficom/html/template_engine/
> classes/CampGetImage.php on line 346, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined variable: fetched in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 134, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Warning: filemtime() [
> href='function.filemtime'>function.filemtime]: stat failed for /
> home/webadmin/myserverspace.ficom/html/images//image_cache//
> derivates/30/cms-image-000001007.jpg in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 331, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined variable: fetched in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 134, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Warning: readfile(/home/webadmin/myserverspace.ficom/html/images//
> image_cache//derivates/30/cms-image-000001007.jpg) [
> href='function.readfile'>function.readfile]: failed to open
> stream: No such file or directory in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 332, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined variable: fetched in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 97, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
> [Wed Sep 16 10:42:49 2009] [error] [client 217.152.189.238] PHP
> Notice: Undefined variable: fetched in /home/webadmin/
> myserverspace.ficom/html/template_engine/classes/CampGetImage.php on
> line 99, referer: http://myserverspace.ficom/fi_FI/100/805/1903/
Wednesday, September 16, 2009, 10:24:56 PM, you wrote:
GMD> The server space had ended... with quite radical results indeed.
GMD> About the error messages in log: are they related in your opinion for
GMD> the space issue or other problems?
GMD> Still wondering how the empty 2Gb suddenly went away...
I suspect it may be something similar to what ate up server space on
the installation of Campsite I am currently building: php-generated
mail in huge numbers.
Check your mail inbox, not just that of your specific email account,
check the *server email adress* which usually defaults to your basic
server name. You just might find some 2 GB worth of 900 bytes-sized
emails.
A first solution, after deleting those mails, is to create an incoming
serverwide email filter which filters out these mails before they are
written to the harddisk. In my client's case a mere three weeks was
sufficient to fill up some 200-250 MB!
That filter will stop the disk from filling up, but of course the
mails themselves, sent every 30 seconds in our case, are eating up
server ressources quite needlessly.
While Holman ponders the reply for FTP users, FYI the new version of smarty
will come as standard with the 3.3.3 release (i.e. it's already been
implemented, pls. see http://trac.campware.org/campsite/ticket/3015)
All the best,
Sava
pippa wrote on 09/16/2009 04:55:09 PM:
> From:
>
> pippa
>
> To:
>
> Holman Romero
> Thanks for the information, but there are apparently several using
> Campsite who have no shell access.
>
> So how would someone without shell access upgrade?
>
> Cheers,
>
> Pippa
>
>