cannt do anyting: cant edit/modify contents

Author Message

Babul Gogoi

Thursday 28 October 2004 11:25:15 pm

Hi,

i hv installed everything fine.

BUT I cannt add or modify anything from admin..

whenever I click on EDIT, I get no edit box!

pls someone help

Regards

Babul Gogoi
http://www.Tarshi.com/home/index.php

ALSO: The EZP is VERY VERY slow .. why?

Frederik Holljen

Friday 29 October 2004 12:46:51 am

Could you please provide some more information about your system (ram/cpu etc) and about your installation (version/installation options chosen).

Babul Gogoi

Saturday 30 October 2004 12:00:33 am

here's the system info from
http://www.tarshi.com/home/index.php/x_admin/setup/info

System information

System information
eZ publish
Site:
www.tarshi.com/home/index.php

Version
3.4.2 (3.4.2)

SVN revision
7264

Extensions

PHP
Version
4.3.9

Extensions
xml, tokenizer, standard, sockets, session, posix, pcre, overload, mysql, ftp, ctype, calendar, bcmath, zlib, apache

Safe mode is off.
Basedir restriction is off.
Global variable registration is on.
File uploading is enabled.
Maximum size of post data (text and files) is 55M.
Script memory limit is .
Maximum execution time is 30 seconds.

PHP Accelerator
There is no known PHP accelerator active.

Database
Type
mysql

Server
localhost

Database
tarshic_bsql

Connection retry count
0

Charset
iso-8859-1 (Internal)

============

PHP info at: http://www.tarshi.com/home/test.php

Babul Gogoi

Tuesday 02 November 2004 9:14:25 pm

Hi,

anyone can pls help me or let me know wht is wrong in my installation?

Regards

Konrad Mazurkiewicz

Wednesday 03 November 2004 12:47:42 am

Hi,
Try change 'maximum execution time' in php.ini, which currently is 30 seconds, to a larger value,
because templates probably are not compiled, or use <install_dir>bin/php/eztc.php to compile it manually.

Konrad

Babul Gogoi

Thursday 04 November 2004 12:19:25 am

pls.. can u help me again..

how do I run teh eztc.php file?

it is located at: http://www.tarshi.com/home/bin/php/eztc.php

I tried to add a crontab as

php /home2/mydisk/www/home/bin/php/eztc.php

but no use..

Thanks again..

Łukasz Serwatka

Thursday 04 November 2004 1:17:19 am

Hi Babul

U can parse your file using php -C /bin/php/eztc.php form your ez site root folder.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Babul Gogoi

Thursday 04 November 2004 9:34:26 pm

Hi

As I donot hv telnet/ssh access to the website, I added a cron job as

php -C /home/myroot/bin/eztc.php

And hers's the failed message..
I think I need to change the php include file statement ..
in each of the files.. to complete system path..

which r the files?

============
Failed loading /usr/local/Zend/lib/ZendOptimizer.so:
/usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or
directory
Content-type: text/html
X-Powered-By: PHP/4.3.9

<br />
<b>Warning</b>: main(lib/ezutils/classes/ezcli.php): failed to open
stream: No such file or directory in
<b>/home2/tarshic/public_html/home/bin/php/eztc.php</b> on line <b>37</b><br />
<br />
<b>Warning</b>: main(): Failed opening 'lib/ezutils/classes/ezcli.php'
for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in
<b>/home2/tarshic/public_html/home/bin/php/eztc.php</b> on line
<b>37</b><br />
<br />
<b>Warning</b>: main(kernel/classes/ezscript.php): failed to open
stream: No such file or directory in
<b>/home2/tarshic/public_html/home/bin/php/eztc.php</b> on line <b>38</b><br />
<br />
<b>Warning</b>: main(): Failed opening 'kernel/classes/ezscript.php'
for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in
<b>/home2/tarshic/public_html/home/bin/php/eztc.php</b> on line
<b>38</b><br />
<br />
<b>Fatal error</b>: Undefined class name 'ezcli' in
<b>/home2/tarshic/public_html/home/bin/php/eztc.php</b> on line <b>40</b><br />

Łukasz Serwatka

Thursday 04 November 2004 11:18:03 pm

Did u execute this php -C /bin/eztc.php from your ez root dir? Why u add php -C /home/myroot/bin/eztc.php to your crone jobs? U can do that manualy, go to your ez publish instalation directory and run the script. If doesn`t work jus add full path to your php for example <full_path to your PHP file/>php -C /bin/eztc.php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Babul Gogoi

Friday 05 November 2004 2:36:39 am

but I DONOT hv shell access to my site..

then how to run the script?

Dirk Billerbeck

Tuesday 09 November 2004 2:50:12 am

Hi Babul,

you have to change to the ezpublish root directory before you can execute the php command:

cd <path_to_your_ezpublish_root_directory> ; php -C bin/eztc.php

And you may not have a '/' before the 'bin' directory.

cu,

Dirk

Babul Gogoi

Tuesday 23 November 2004 8:15:28 pm

Hi again..
with no success..
Can I keep teh Zend files inside my webspace?

Regards

Babul

the cron result is below:

Failed loading /usr/local/Zend/lib/ZendOptimizer.so:
/usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or
directory
Content-type: text/html
X-Powered-By: PHP/4.3.9

PHP is currently using the 'cgi' interface. Make sure it is using the
'cli' interface.

============

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 15:50:07
Script start
Timing: Jan 18 2025 15:50:07
Module start 'layout'
Timing: Jan 18 2025 15:50:07
Module start 'content'
Timing: Jan 18 2025 15:50:09
Module end 'content'
Timing: Jan 18 2025 15:50:09
Script end

Main resources:

Total runtime1.4655 sec
Peak memory usage4,096.0000 KB
Database Queries90

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.1641152.6563
Module start 'layout' 0.00630.0044 740.820339.4922
Module start 'content' 0.01081.4531 780.3125772.3828
Module end 'content' 1.46390.0016 1,552.695324.1250
Script end 1.4655  1,576.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2186160.0002
Check MTime0.00150.0993160.0001
Mysql Total
Database connection0.00080.051310.0008
Mysqli_queries1.345691.8169900.0150
Looping result0.00130.0901880.0000
Template Total1.416496.620.7082
Template load0.00200.138820.0010
Template processing1.414496.508220.7072
Template load and register function0.00020.016910.0002
states
state_id_array0.00120.082910.0012
state_identifier_array0.00250.168720.0012
Override
Cache load0.00210.14551510.0000
Sytem overhead
Fetch class attribute can translate value0.00090.061350.0002
Fetch class attribute name0.00170.1128140.0001
XML
Image XML parsing0.00180.123550.0004
class_abstraction
Instantiating content class attribute0.00000.0019150.0000
General
dbfile0.00140.0933240.0001
String conversion0.00000.000640.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
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
23content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
14content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 54
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs