Forums / Install & configuration / cannt do anyting: cant edit/modify contents

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.

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

eZ debug

Timing: Jan 30 2025 21:46:54
Script start
Timing: Jan 30 2025 21:46:55
Module start 'content'
Timing: Jan 30 2025 21:46:55
Module end 'content'
Timing: Jan 30 2025 21:46:55
Script end

Main resources:

Total runtime0.1831 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.1641370.2656
Module start 'content' 0.00730.0120 958.42971,013.6094
Module end 'content' 0.01920.1637 1,972.03913,901.9141
Script end 0.1830  5,873.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00432.3333200.0002
Check MTime0.00120.6824200.0001
Mysql Total
Database connection0.00080.433710.0008
Mysqli_queries0.093350.97771410.0007
Looping result0.00130.70871390.0000
Template Total0.163389.210.1633
Template load0.00070.363910.0007
Template processing0.162788.844410.1627
Override
Cache load0.00040.241310.0004
Sytem overhead
Fetch class attribute can translate value0.00160.861910.0016
XML
Image XML parsing0.00020.131710.0002
General
dbfile0.00764.1283200.0004
String conversion0.00000.002630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs