Error messages at top of my site
Permalink
My site has been working fine for quite a while but last time I looked I got a number of error messages at the top like this:
Warning: fopen(/home/pixelfar/public_html/files/cache_objects/object_4b12fca765c06326ba5a613fcab1efc4) [function.fopen]: failed to open stream: Permission denied in /home/pixelfar/public_html/concrete/libraries/cache/default.php on line 44
Warning: fputs(): supplied argument is not a valid stream resource in /home/pixelfar/public_html/concrete/libraries/cache/default.php on line 45
I am also unable to access my dashboard and enter edit mode.
What is happening and how do I fix it?
My site is at:http://www.pixelfarm.ca
Warning: fopen(/home/pixelfar/public_html/files/cache_objects/object_4b12fca765c06326ba5a613fcab1efc4) [function.fopen]: failed to open stream: Permission denied in /home/pixelfar/public_html/concrete/libraries/cache/default.php on line 44
Warning: fputs(): supplied argument is not a valid stream resource in /home/pixelfar/public_html/concrete/libraries/cache/default.php on line 45
I am also unable to access my dashboard and enter edit mode.
What is happening and how do I fix it?
My site is at:http://www.pixelfarm.ca
Thanks Brainakazuria,
I tried what you suggested but it didn't help. When I try to login to
edit my site I get this message:
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql
error: [-32000: Cache write error] in CacheExecute(/home/pixelfar/
public_html/files/cache/12/
adodb_1248e71438167abadb85e58b273288b2.cache, select ctID from
PageTypes) ' in /home/pixelfar/public_html/concrete/libraries/
3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /home/
pixelfar/public_html/concrete/libraries/3rdparty/adodb/
adodb.inc.php(1819): adodb_throw('mysql', 'CacheExecute', -32000,
'Cache write err...', '/home/pixelfar/...', 'select ctID fro...',
Object(ADODB_mysql)) #1 /home/pixelfar/public_html/concrete/libraries/
database.php(34): ADOConnection->CacheExecute(10, 'select ctID
fro...') #2 /home/pixelfar/public_html/concrete/models/
permissions.php(461): Database->querycache(10, 'select ctID fro...')
#3 /home/pixelfar/public_html/concrete/models/permissions.php(72):
CollectionPermissions->CollectionPermissions(Object(Page)) #4 /home/
pixelfar/public_html/concrete/models/permissions.php(116):
PermissionsProxy::getNewOrCached(Object(Page), in /home/pixelfar/
public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php
on line 78
After this when I try to go to my site all I ever get is this message.
Pixelman
I tried what you suggested but it didn't help. When I try to login to
edit my site I get this message:
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql
error: [-32000: Cache write error] in CacheExecute(/home/pixelfar/
public_html/files/cache/12/
adodb_1248e71438167abadb85e58b273288b2.cache, select ctID from
PageTypes) ' in /home/pixelfar/public_html/concrete/libraries/
3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /home/
pixelfar/public_html/concrete/libraries/3rdparty/adodb/
adodb.inc.php(1819): adodb_throw('mysql', 'CacheExecute', -32000,
'Cache write err...', '/home/pixelfar/...', 'select ctID fro...',
Object(ADODB_mysql)) #1 /home/pixelfar/public_html/concrete/libraries/
database.php(34): ADOConnection->CacheExecute(10, 'select ctID
fro...') #2 /home/pixelfar/public_html/concrete/models/
permissions.php(461): Database->querycache(10, 'select ctID fro...')
#3 /home/pixelfar/public_html/concrete/models/permissions.php(72):
CollectionPermissions->CollectionPermissions(Object(Page)) #4 /home/
pixelfar/public_html/concrete/models/permissions.php(116):
PermissionsProxy::getNewOrCached(Object(Page), in /home/pixelfar/
public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php
on line 78
After this when I try to go to my site all I ever get is this message.
Pixelman
I think your out of space on your server :P
I checked my server and there is lots of space. However when I looked at my homepage and viewed the source I got a real surprise. I found this at the bottom of the page:
<!-- glinks --><SPAN STYLE="font-style: normal; visibility: normal; position: absolute; left: 0px; top: 0px;">
xeex6652201
<a href=http://resubil.steadywebs.com/index.html>Westwood The radio 1 Rap Show (5 february 2005)</a>
<a href=http://resubil.steadywebs.com/index1.html>Various Artists Kumharas volume 2</a>
followed by a lot of similar links and ending with:
</SPAN><!-- glinks --></body>
</html>
I don't know exactly what to make of this. It looks like someone has hijacked my site and is using it somehow! I think this may explain the error messages, etc.
How does something like this happen and how do you prevent it? Everything is password protected.
I think I'll probably have to rebuild my site but I sure want to prevent something like this from happening again and also like to warn people about this kind of thing.
<!-- glinks --><SPAN STYLE="font-style: normal; visibility: normal; position: absolute; left: 0px; top: 0px;">
xeex6652201
<a href=http://resubil.steadywebs.com/index.html>Westwood The radio 1 Rap Show (5 february 2005)</a>
<a href=http://resubil.steadywebs.com/index1.html>Various Artists Kumharas volume 2</a>
followed by a lot of similar links and ending with:
</SPAN><!-- glinks --></body>
</html>
I don't know exactly what to make of this. It looks like someone has hijacked my site and is using it somehow! I think this may explain the error messages, etc.
How does something like this happen and how do you prevent it? Everything is password protected.
I think I'll probably have to rebuild my site but I sure want to prevent something like this from happening again and also like to warn people about this kind of thing.
Contact your hosting company, change all passwords, remove/update all scripts, its usually an outdated script on the server that does it.
seems there is some problem in your cache, if that doesn't work then uploading a new default.php into the following location: /concrete/libraries/cache/ from a fresh concrete package