Forums / Install & configuration / How do I re-run the installation process?

How do I re-run the installation process?

Author Message

David Rivera

Wednesday 23 April 2003 12:45:35 am

At the last step on the set-up proccess I clicked continue without looking at the url of my site, and I need to change that so that eZ will work properly. I changed the CheckValidity= to TRUE on the file "settings/site.ini" file but nothing happens. Thanks in advance ;)

Bård Farstad

Wednesday 23 April 2003 12:49:06 am

eZ publish will create override settings when you run the setup wizard. This will create .append files in settings/override/. You can just delete these files, or change the values in it. The CheckValidity is overrided in these files, so changing the main site.ini will not have any effect.

--bård

Documentation: http://ez.no/doc

David Rivera

Wednesday 23 April 2003 1:25:15 am

Thanks, :)

I ran the installation again, but I'm experiencing member activactions problems. I intalled the sofware in a virtual host. The ezpublish program is in www.siteurl.com/ezpublish. When I recieve the activate account link, I click on it then it just takes me to the log-in screen, then I type the log-in information that I entered before but I get a message telling me that a valid username and password is required, why is this happening and how can I solve it?

Karsten Jennissen

Wednesday 23 April 2003 2:49:50 am

The standard login is admin / publish. Did you try that?

Regards,
Karsten

David Rivera

Wednesday 23 April 2003 3:08:11 am

Thank,

It worked but instead of taking me to the admin area, I get the following page with Debug on:

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /home/virtual/site'##'/fst/var/www/html/ezpublish/kernel/classes/datatypes/ezmedia/ezmediatype.php on line 227
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 44 bytes) in Unknown on line 0"

Does this mean that I don't have enough memory to run Ez Publish? :(

Bård Farstad

Wednesday 23 April 2003 3:36:27 am

This is because on the first runs eZ publish sometimes uses more than 8MB of memory. This needs to be adjused in php.ini. Set the memory limit in PHP to a bit more and it will work.

--bård

Documentation: http://ez.no/doc

David Rivera

Wednesday 23 April 2003 4:12:55 am

Thanks Bård,

I did a search on "php.ini" and didn't find any files, do you know if there's another name to it? it is supposed to be under settings/ , right? I can't find the php.ini file.

Bård Farstad

Wednesday 23 April 2003 4:32:23 am

The php.ini file is normally placed under /usr/local/php/lib/php.ini or /etc/php.ini. It is not part of eZ publish, but the system wide PHP configuration.

You can locate the file by typing( Unix/linux ):
find / -name "php.ini"

--bård

Documentation: http://ez.no/doc

David Rivera

Wednesday 23 April 2003 5:03:37 am

aww man,

I have access to that area but I can't see the php.inc or any other file, both forlders (etc/lib) are empty I guess I can't install Ez Publish.

Karsten Jennissen

Wednesday 23 April 2003 6:06:54 am

Hi David,

as far as I know, every php installation has a php.ini which contains the configuration for php. There must be a file that serves this purpose.

The only time you don't have access to the php configuration is on shared hosting. In this case you might get help from your ISP.

Regards,
Karsten

Paul Borgermans

Wednesday 23 April 2003 6:09:24 am

This is similar to what I had when compiling php (4.3.1). Indeed the php.ini file was not created (hence using the compiled-in defaults) with the default "make install". So I copied the php.ini file from another machine and made the necessary adjustments (php accelerators mainly) afterwards.

To know where you have to put this file, add a line after ob_start(); that reads phpinfo(); in your ezpublish index.php.

Check the config settings with your browser fetching the ezp site (you may search a while, the phpinfo() throws quite some things at you).

Comment out or delete the phpinfo() after you figured the location of php.ini.

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans