Elxis CMS Forum

Support => Installation => Topic started by: Zensai on June 22, 2011, 14:53:31

Title: ElXis 2009.4 PHP.ini wont work (solved)
Post by: Zensai on June 22, 2011, 14:53:31
Hey Guys. I just wanted to install Elxis on my Webspace (Strato).

It is located in Subfolder mydomain.tld/page/cms as there is a internal referring to  the folder /page when one enters mydomain.tld in browserbar.

I have .htaccess in the /page/cms folder (which is elxis directory) and php.ini in the Same directory.

info.php tells me session path is my custom path (htdocs/session) but Elxis does not and still shows the error.

Date.timezone = "Europe/Berlin" does not work on either of them (info and elxis).

i tried putting htaccess and php.ini in different directories, but nothing helped.

When i edit .htaccess i get an error 500 : Internal Server Error
Please help!

Greets,
Zensai
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: ks-net on June 22, 2011, 15:14:44

http://wiki.elxis.org/wiki/PHP_settings
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: Zensai on June 22, 2011, 15:38:26
i knew that, thanks anyway.

The thing is, i do not have root access. i can not acces any folders above htdocs(which is my "root") There is only 3 Folders in there: CGI-bin, cgi-data and page, which contains the folder cms with elxis in it.

The PHPinfo still says the correct session.save_path, but elxis seems to just ignore it.

(it is in the Same folder) ,

as i just said, when i edit .htaccess i get an error 500....any more help then tge Link above would be really appreciated!
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: webgift on June 22, 2011, 17:55:34
Can you tell us at the .htaccess file, what have  you written at line : RewriteBase / ?
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: @ndreas on June 22, 2011, 21:39:55
 is there an elxis 2009.4 version?
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: webgift on June 23, 2011, 11:21:49
is there an elxis 2009.4 version?
Zensai most probably means 2009.3.
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: Zensai on June 23, 2011, 20:19:18
i actually do,

the rewrite base in .htaccess is /cms/


But i would like to know where to find an option like "start editor" or something where i see the frontend and edit it instantly? cuz thats what a wysiwyg editor is?

I have logged in as admin, but i cannot edit the page when i look at it, i can just edit stuff in backend (which is most likely not wysiwyg....)
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: ks-net on June 23, 2011, 20:43:51
Quote
as i just said, when i edit .htaccess i get an error 500....any more help then tge Link above would be really appreciated!
What modifications made in .htaccess?

i bet that your server runs php as fast-cgi... thats why you get errors when trying to add php.ini parameters in your htaccess.

can you tell as what is your php environment in phpinfo?

if your php runs as fast-cgi you have many limitations in custom php.ini and .htaccess ini parameters...
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: webgift on June 23, 2011, 20:44:43
Change that from /cms/ to /
and inform us again ;) if you can see the public area.
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: ks-net on June 23, 2011, 20:58:43
Quote
I have .htaccess in the /page/cms folder (which is elxis directory) and php.ini in the Same directory.

info.php tells me session path is my custom path (htdocs/session) but Elxis does not and still shows the error.

Date.timezone = "Europe/Berlin" does not work on either of them (info and elxis).

i tried putting htaccess and php.ini in different directories, but nothing helped.

Stavros its obvious that this user   has problems with php.ini parameters and not with rewrite rules ...
maybe must fix rewrite base to something like /page/cms ....

but this is something that he must look  after fixing session save path and date timezone!
Title: Re: ElXis 2009.4 PHP.ini wont work (Session Save Path and Date.timezone
Post by: Zensai on June 24, 2011, 02:19:43
as i said, i got timezone and sessions ave path fixed. i solved it by placing the php. ini into /cms and /cms/installation folder.

My .htacces is not modified, except the rewritebase is set to /cms/

so it all works and stuff but i either do not know what a wysiwyg-editor is, or i am too dumb to find it.

I can modify the page in the backend but only via the modules and stuff, i cannot edit it in frontend( or in frontend-view).

Thats what i am looking for

p.s.:

my PHP is iimplemented is CGI, as far as i know.


My phpinfo:
www /... /.... info.php [link removed by ks-net... do not expose sensitive data in public view]
Title: Re: ElXis 2009.4 PHP.ini wont work (solved)
Post by: ks-net on June 24, 2011, 02:47:38
Ok... don't ask in this post  questions that you   have  already asked in an other post:
https://forum.elxis.org/index.php?topic=6380.msg41552#msg41552
you will get your answers there...

This topic marked as SOLVED...
Title: where is PHP.INI ?
Post by: symeon on September 10, 2011, 11:31:32
Please... I cannot locate php.ini
Thanks.

Δεν μπορώ να βρω το αρχείο PHP.INI. Μπορεί κάποιος να βοηθήσει;
Title: Re: ElXis 2009.4 PHP.ini wont work (solved)
Post by: webgift on September 10, 2011, 19:34:24
Php.ini file can be edited or viewed only from the hosting provider of your website.
Title: Re: ElXis 2009.4 PHP.ini wont work (solved)
Post by: datahell on September 10, 2011, 21:20:41
The easiest way is to type from an ssh window: locate php.ini
If needed, first update file-system database, command: updatedb

Or you can use the find command (it will take some time to search the whole filesystem) :
cd /
find . -name "php.ini"