No access to admin / Need help please

Author Message

Ahmed El Safty

Friday 12 January 2007 9:35:41 am

Hi all,

Initially I had a problem in the admin interface, not beeing able to delete all cache. The system returned with a fatal error..

Out of mind, I deleted the cache folders via ftp, the /var/cache/ and everything under /var/news_site/cache/ .

My Site is pretty messed up now, and i have no clue what to do?

Some of the error messages I get:

Error: Jan 12 2007 18:19:39
Could not open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/c289b3ed89e7dee8a3a352a77b308232.php' for writing, perhaps wrong permissions
Error: eZPHPCreator::store Jan 12 2007 18:19:39
Failed to open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/c289b3ed89e7dee8a3a352a77b308232.php'
Error: Jan 12 2007 18:19:39
Could not open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/8994ca91ad83b44dc9086410d8bf4ebe.php' for writing, perhaps wrong permissions
Error: eZPHPCreator::store Jan 12 2007 18:19:39
Failed to open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/8994ca91ad83b44dc9086410d8bf4ebe.php'
Error: Jan 12 2007 18:19:39
Could not open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/d0dacb89c3f2673c993a6c4a20dcfec0.php' for writing, perhaps wrong permissions
Error: eZPHPCreator::store Jan 12 2007 18:19:39
Failed to open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/d0dacb89c3f2673c993a6c4a20dcfec0.php'
Error: Jan 12 2007 18:19:39
Could not open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/df040ccff08a8acdcaa56e7d96af635a.php' for writing, perhaps wrong permissions
Error: eZPHPCreator::store Jan 12 2007 18:19:39
Failed to open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/df040ccff08a8acdcaa56e7d96af635a.php'
Error: Jan 12 2007 18:19:39
Could not open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/d1ffd70cb6e91c5ba56e5831e64a94eb.php' for writing, perhaps wrong permissions
Error: eZPHPCreator::store Jan 12 2007 18:19:39
Failed to open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/d1ffd70cb6e91c5ba56e5831e64a94eb.php'
Error: Jan 12 2007 18:19:39
Could not open file 'var/news_site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/ger-DE/49553db8d7bc5ac1ce5e0bb5bc852f0c.php' for writing, perhaps wrong permissions

THESE FILES DO NOT EXIST ANYMORE, SINCE I DELETED THEM.

What can I do. Permissions on var are on 777.

Please help, my boss is gonna kill me, if he finds out, that 4 month of work are gone...

I would new-install 3.9 now, but I am wondering if I can merge my date easily? Because I have a very big pic library, which I don't want to loose?

So, is there any possibility to make a fresh install, and copy the old data in the new system. All the articles and pics I have?

Or can I undo my mistake of deleting the cache files somehow?

Any help really appreciated..

Used ez: 3.8.6
PHP: 4.4
mysql: Upgraded from 4.0 to 4.1 . Could the problem be this silent upgrade?

thanks folks,

Claudia Kosny

Friday 12 January 2007 9:57:19 am

Hello Ahmed

Deleting the content of the cache folder usually is not a big problem, I actually prefer emptying the cache this way as it it faster than doing it via the interface. Therefore I wonder a bit about your problem now. Did you delete the cache folders or just the content of these folders? If you deleted the folders itself, check whether there are back now. If not, create them. Make sure that the permissions for the cache folders are set to 777 as well.

And before you try anything further, make a backup of the var folder and the database.

Before making a fresh install of eZ 3.9 and trying to get the data in there, I would try making a fresh install of EZ 3.8.6 (first try on another server). Then copy the design, the settings, the var/news_site/storage folder into the new installation and replace the database with yours.
Empty the cache of this new installation (contrary to your experience it really should not matter whether you do it on the filesystem or not) and refresh the page. If that works, update this to 3.9, if you want to.

Good luck

Claudia

Ahmed El Safty

Friday 12 January 2007 11:16:11 am

Hello Claudia,

I really appreciate your valuable and fast response. Thanks!

I will try your suggestions and keep you posted.

The behaviour with the var folder is strange to me as well, but we'll see.

regards, ahmed

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 21:04:40
Script start
Timing: Jan 18 2025 21:04:40
Module start 'layout'
Timing: Jan 18 2025 21:04:40
Module start 'content'
Timing: Jan 18 2025 21:04:41
Module end 'content'
Timing: Jan 18 2025 21:04:41
Script end

Main resources:

Total runtime0.9906 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1484152.6406
Module start 'layout' 0.00550.0029 741.789139.4609
Module start 'content' 0.00840.9808 781.2500485.1719
Module end 'content' 0.98920.0014 1,266.421912.1563
Script end 0.9905  1,278.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3154160.0002
Check MTime0.00120.1253160.0001
Mysql Total
Database connection0.00090.089310.0009
Mysqli_queries0.939694.8520570.0165
Looping result0.00060.0581550.0000
Template Total0.962097.120.4810
Template load0.00220.226420.0011
Template processing0.959896.889920.4799
Template load and register function0.00010.013110.0001
states
state_id_array0.00090.091010.0009
state_identifier_array0.00190.190420.0009
Override
Cache load0.00190.1925550.0000
Sytem overhead
Fetch class attribute can translate value0.00060.058220.0003
Fetch class attribute name0.00080.078430.0003
XML
Image XML parsing0.00040.041220.0002
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00060.0603100.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs