Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: egibault on September 24, 2012, 13:53:19

Title: [Resolved]Re: Installation failure localhost LAMP
Post by: egibault on September 24, 2012, 13:53:19
After create the database when I returned to http:// localhost
The page is blank
Title: Re: Installation failure localhost LAMP
Post by: datahell on September 24, 2012, 13:57:27
See repository/logs/error.log for the last error message and paste it here.
Title: Re: Installation failure localhost LAMP
Post by: Amigamerlin on September 24, 2012, 19:49:28
See repository/logs/error.log for the last error message and paste it here.

Ciao Datahell

Same error here: blank page:
here my error log:

ERROR in file C:\UniServer\www\nautilus\modules\mod_content\mod_content.php line 24 Class 'elxisError' not found

Ciao

Spec:
Apache 2.2.17
MySQL 5.1.53-community
PHP 5.3.4

Elxis Nautilus Beta 1295
Title: Re: Installation failure localhost LAMP
Post by: Tank on September 24, 2012, 19:56:14
I am having the same blank page issue.

I tried the changes from this post and checked the files:
Here is a small tip on how we can find out if our inner.php file is working properly! Check the following urls ...
Administration area:
http://www.example.com/estia/inner.php/user/
Front-end area:
http://www.example.com/inner.php/user/

In case that you see a blank or 404 error page then your inner.php don't work! Check the instructions as Datahell mentioned above : https://forum.elxis.org/index.php?topic=7032.msg46547#msg46547



Funny thing is, backend administration works fine for me - I can login and make changes.
Also, going to elxis.loc/inner.php/user works. Also, all other pages work fine. I was able to go to http://elxis.loc/famous-places/ and so on.
However, weirdly, elxis.loc (or when I click on "Home") shows a blank page.

can anyone else go to localhost/famous-places/ and confirm the same issue? Do other pages work for you and only homepage is blank?

This is the same before and after I made the suggested modifications to the files.
I also changed templates, and in all other pages works fine, so doesn't seem to be from template.
Any ideas on this one?
I'm using Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4

Also, this is in my error log.
Code: [Select]
[2012-09-24 16:46:33] ERROR in file D:\Server\www\projects\cms\elxis\modules\mod_content\mod_content.php line 24
Call-time pass-by-reference has been removed
Title: Re: Installation failure localhost LAMP
Post by: datahell on September 24, 2012, 20:19:57
You are using php 5.4.x, pass by reference has been deprecated.
Sorry for this, I will fix it and re-update Elxis 4.0 release later (I will be offline for a while).

Till then, here is the fix (tell me if it worked):

Open modules/mod_content/mod_content.php
Go to line 24
Change this:
$ePlugin->process(&$row);
to this:
$ePlugin->process($row);
Title: Re: Installation failure localhost LAMP
Post by: Amigamerlin on September 24, 2012, 21:22:33
You are using php 5.4.x, pass by reference has been deprecated.
Sorry for this, I will fix it and re-update Elxis 4.0 release later (I will be offline for a while).

Till then, here is the fix (tell me if it worked):

Open modules/mod_content/mod_content.php
Go to line 24
Change this:
$ePlugin->process(&$row);
to this:
$ePlugin->process($row);

Works for me. Thank you .
Title: Re: Installation failure localhost LAMP
Post by: Tank on September 24, 2012, 23:10:54
You are using php 5.4.x, pass by reference has been deprecated.
Sorry for this, I will fix it and re-update Elxis 4.0 release later (I will be offline for a while).

Till then, here is the fix (tell me if it worked):

Open modules/mod_content/mod_content.php
Go to line 24
Change this:
$ePlugin->process(&$row);
to this:
$ePlugin->process($row);

That fixed it for me too, thanks datahell!
Title: Re: Installation failure localhost LAMP
Post by: egibault on September 25, 2012, 12:16:07
See repository/logs/error.log for the last error message and paste it here.

No error message ...
You are using php 5.4.x, pass by reference has been deprecated.
Sorry for this, I will fix it and re-update Elxis 4.0 release later (I will be offline for a while).

Till then, here is the fix (tell me if it worked):

Open modules/mod_content/mod_content.php
Go to line 24
Change this:
$ePlugin->process(&$row);
to this:
$ePlugin->process($row);

That fixed it for me too, thanks datahell!

no good for me...
Title: Re: Installation failure localhost LAMP
Post by: webgift on September 25, 2012, 12:36:16
Unfortunately egibault can't help you because of a localhost installation. Can you please provide us some information of your php or can you upload this elxis installation on the internet (maybe on a sub domain)?
Title: Re: Installation failure localhost LAMP
Post by: egibault on September 25, 2012, 13:26:04

I have no problem with aphrodite installation
The last installation Nautilus is not clear
with te file repertory repository, and no multilingual


My phpinfo...
Title: Re: Installation failure localhost LAMP
Post by: speck on September 25, 2012, 14:02:26
if u have Win XP service pack 3 and some problem with apache and Xampp
try to instal WAMP, is very friendly to use ir ... no problem to install elxis 4 and it works all right
before to install wamp remember to stop IIS, and Mysql.

if someone want the link where to download the WIN installer of wamp send me a Private Message
Title: Re: Installation failure localhost LAMP
Post by: datahell on September 25, 2012, 14:34:30
Those having problems on local installation must post an error message in order to understand whats happening.
If Elxis error.log is empty see your web server's error log!
Title: Re: Installation failure localhost LAMP
Post by: Tank on September 25, 2012, 16:15:19

I have no problem with aphrodite installation
The last installation Nautilus is not clear
with te file repertory repository, and no multilingual


My phpinfo...

Hi egibault, can you check if other pages work?
example http://localhost/famous-places/
or
http://localhost/elxis/

Thanks
Title: Re: Installation failure localhost LAMP
Post by: egibault on September 26, 2012, 00:02:16
Those having problems on local installation must post an error message in order to understand whats happening.
If Elxis error.log is empty see your web server's error log!


[Tue Sep 25 22:55:33 2012] [error] [client 127.0.0.1] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in /var/www/includes/libraries/elxis/database/statement.class.php:41\nStack trace:\n#0 /var/www/includes/libraries/elxis/database/statement.class.php(41): PDOStatement->execute(NULL)\n#1 /var/www/includes/install/install.class.php(151): elxisPDOStatement->execute()\n#2 /var/www/includes/install/install.php(19): elxisInstaller->process()\n#3 /var/www/includes/loader.php(144): require('/var/www/includ...')\n#4 /var/www/index.php(18): require('/var/www/includ...')\n#5 {main}\n  thrown in /var/www/includes/libraries/elxis/database/statement.class.php on line 41, referer: http://localhost/
Title: Re: Installation failure localhost LAMP
Post by: datahell on September 26, 2012, 11:33:38
This has been fixed already. Please re-download elxis.
Title: [Resolved]Re: Installation failure localhost LAMP
Post by: egibault on September 27, 2012, 12:58:45
It's OK...
Thank-you !
 :)

This new version is promising
I can help to translate in French