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.

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