Forums / Setup & design / No access to admin / Need help please

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

eZ debug

Timing: Jan 18 2025 19:27:35
Script start
Timing: Jan 18 2025 19:27:35
Module start 'content'
Timing: Jan 18 2025 19:27:36
Module end 'content'
Timing: Jan 18 2025 19:27:36
Script end

Main resources:

Total runtime0.8909 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 588.9375180.8281
Module start 'content' 0.00860.7358 769.7656490.2656
Module end 'content' 0.74440.1464 1,260.0313337.5000
Script end 0.8908  1,597.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.4992210.0002
Check MTime0.00150.1737210.0001
Mysql Total
Database connection0.00130.151410.0013
Mysqli_queries0.807990.68711940.0042
Looping result0.00200.22471920.0000
Template Total0.856796.220.4283
Template load0.00260.296920.0013
Template processing0.854095.862520.4270
Template load and register function0.00020.024810.0002
states
state_id_array0.00160.176110.0016
state_identifier_array0.00100.111520.0005
Override
Cache load0.00210.2387550.0000
Sytem overhead
Fetch class attribute can translate value0.00240.272330.0008
Fetch class attribute name0.00170.186730.0006
XML
Image XML parsing0.00070.077030.0002
class_abstraction
Instantiating content class attribute0.00000.001730.0000
General
dbfile0.00180.2026210.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs