Couldn't create cache file & empty settings folders

Author Message

Peter Lachký

Tuesday 31 August 2004 10:06:19 am

Hello,

quite a long time i tried to reinstall ez publish again and again, and find out where is the problem, but I am lost, so I am trying to get help via this forum.

Problems are:
After installation are folders settings/siteaccess/plain and settings/siteaccess/plain_admin empty. I think that this is the reason, why I am always throwen on admin page, even when I try to display user page.

Second problems is that although permissions are ok, ez publish is not able to create a cache files (debug mode: Couldn't create cache file 'var/cache/ini/bla...bla.php', perhaps wrong permissions)

Installation info:

Version ez: 341

Site info:
Template - Plain
Title - Plain
URL - http://ez.petiar.sk/index.php/plain
Admin URL - http://ez.petiar.sk/index.php/plain_admin
Access type - url
Access value - plain
Functionality -

PHP info:
Version - 4.3.7

OS info
Name - Linux dw3.nameserver.sk 2.4.25 #4 SMP Tue Feb 10 21:30:32 CET 2004 i686

Database info:
Type - MySQL
Driver - ezmysql

Demo data:
Demo data was installed.

Email info:
Transport - sendmail

Image conversion:

ImageGD extension was found and used.

Regional info:
Primary - eng-GB
Additional - eng-GB

Critical tests

directory_permissions - Success
phpversion - Success
database_extensions - Success
image_conversion - Success
open_basedir - Success
memory_limit - Success
execution_time - Success
accept_path_info - Success

Other tests:

php_magicquotes - Failure
zlib_extension - Success
mbstring_extension - Failure
imagegd_extension - Success
imagemagick_program - Failure
database_all_extensions - Failure
file_upload - Success
php_register_globals - Failure
texttoimage_functions - Success

Thanks for help.

Petiar

Bård Farstad

Friday 03 September 2004 1:03:05 am

I'm trying to access your site and I get an error message saying that the database connection could not be made. From your description it looks like the apache user doesn't have the correct permissions to write the setting files.

What does eZ publish say on the first page when it's checks the system? Do you get an message about permissions beeing wrong?

--bård

Documentation: http://ez.no/doc

Peter Lachký

Friday 03 September 2004 4:26:11 am

Do you think first page of installation? Yes, I got an message about wrong permissions, so I set them to 770, I think that this could be enough. After that the message did not appear. Do you think that I would try to set permissions to 777?

What do you think about second problem - system is not able to write cache files, although the permissions for var/cache are set to 777 (have a look here: http://www.petiar.sk/ez/index.php/petiar)

Edit: pls, do not chceck mentioned address, I am trying to re-install, so there is nothing to see.

Edit2: I tried to re-install. I set permissions to 777 for all files and folders under settings folder. I choose plain site type and all additional functionality. How is it possible, that folders /settings/siteaccess/plain and plain_admin are empty???
You can have a look here: http://ez.petiar.sk/index.php/plain
I put correct login info during installation, this behaviour is caused, I thing, right because mentioned folders are empty! And I do not know why.
I could copy there neded files, according documentation. But then the second problem still remain - not possible to write cache files.

Thank you a lot for support and great system.
Best regards,
Petiar

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 22:14:38
Script start
Timing: Jan 18 2025 22:14:38
Module start 'layout'
Timing: Jan 18 2025 22:14:38
Module start 'content'
Timing: Jan 18 2025 22:14:39
Module end 'content'
Timing: Jan 18 2025 22:14:39
Script end

Main resources:

Total runtime0.7452 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.0073 588.1641152.6563
Module start 'layout' 0.00730.0031 740.820339.5078
Module start 'content' 0.01040.7333 780.3281558.5469
Module end 'content' 0.74370.0014 1,338.875012.7344
Script end 0.7451  1,351.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4754160.0002
Check MTime0.00140.1825160.0001
Mysql Total
Database connection0.00070.093610.0007
Mysqli_queries0.681891.4996570.0120
Looping result0.00050.0684550.0000
Template Total0.713295.720.3566
Template load0.00200.268420.0010
Template processing0.711195.436520.3556
Template load and register function0.00020.021510.0002
states
state_id_array0.00080.107910.0008
state_identifier_array0.00070.091520.0003
Override
Cache load0.00180.2384710.0000
Sytem overhead
Fetch class attribute can translate value0.00060.073820.0003
Fetch class attribute name0.00120.156940.0003
XML
Image XML parsing0.00060.079320.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00080.1086170.0000
String conversion0.00000.002440.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
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
12content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs