Elxis CMS Forum

Support => Administration => Topic started by: robot_dika on May 02, 2007, 10:59:48

Title: Blank Page in administrator
Post by: robot_dika on May 02, 2007, 10:59:48
Hello everybody!

I have a problem with my administrator control panel. I've installed elxis with 3 languages (Italian, English and Czech), and I've created the configuration file with notepad, the site sounds good, I can work, I can create sections and menues, but when I want to change some parameters of Global Configuration the system shows a blank page (the permission of the configuration.php are 777) and I cannot change anything. The same problem I have in the Template Section.

What is the problem?

Thank's a lot for your support!  :)

[old attachment deleted by admin]
Title: Re: Blank Page in administrator
Post by: Ivan Trebješanin on May 02, 2007, 13:08:58
Are you using FTP support?
Title: Re: Blank Page in administrator
Post by: robot_dika on May 02, 2007, 13:14:26
Sorry, what do you mean with FTP support?

I'm using Filezilla to upload..

Thank you for reply....

Title: Re: Blank Page in administrator
Post by: Ivan Trebješanin on May 02, 2007, 13:23:01
No, I mean FTP Support in Config panel... is it checked? I understand you cant see it now... :D
But, you can check here:

$mosConfig_ftp = '0';
$mosConfig_ftp_host = 'ftp.www.YourDomain.com';
$mosConfig_ftp_user = '';
$mosConfig_ftp_pass = '';
$mosConfig_ftp_port = '21';
$mosConfig_ftp_root = '';

These lines are contained near the end of your config.php. Point is that your relative FTP path should be correct.
Title: Re: Blank Page in administrator
Post by: robot_dika on May 02, 2007, 14:14:27
Yes, the ftp configs are like you have shown..

is it correct?

Title: Re: Blank Page in administrator
Post by: eliasan on May 02, 2007, 16:37:28
I have the feeling that the problem is with the encoding of configuration.php file.

I suggest to download it (using FTP) in your PC.
Open it with an editor that supports UTF-8. You can use PsPad or Notepad++.
Save it in UTF-8 encoding and upload it back to your site.

Always keep a backup of configuration.php!


Title: Re: Blank Page in administrator
Post by: robot_dika on May 02, 2007, 17:15:04
I've created the configuration file with that mathod, after installation I've copied the codes and I've pasted on notepad file, than I've saved with php extension..

sorry, but I've not understood...

Title: Re: Blank Page in administrator
Post by: datahell on May 02, 2007, 17:38:23
Change configuration.php file permissions to 666 or 644.
Title: Re: Blank Page in administrator
Post by: robot_dika on May 02, 2007, 17:43:27
I've tried...

same problem...  :'(
Title: Re: Blank Page in administrator
Post by: Ivan Trebješanin on May 02, 2007, 21:43:09
Sorry, I was away...

I would try to enable FTP in config.php, like this:

$mosConfig_ftp = '1';
$mosConfig_ftp_host = 'ftp.www.YourDomain.com';
$mosConfig_ftp_user = 'FTPuserName';
$mosConfig_ftp_pass = 'FTPpassword';
$mosConfig_ftp_port = '21';
$mosConfig_ftp_root = 'FTPpath';

This would solve problems with file permissions.
If this is not working, use updiag tool in admin panel, and check file system.
Title: Re: Blank Page in administrator
Post by: datahell on May 02, 2007, 22:07:41
FTP host seems wrong. most probably should be something like ftp.yourdomain.com (without www)
FTP path must be correctly written. You should write the path from your FTP root to your Elxis installation directory.

Example 1
Elxis absolute path is:
/home/username/public_html
When we login to our FTP root directory we login in the /home/username directory (we see this folder as '/' in our FTP client) and we see inside this folder a list of other folders. One of them is public_html where we have Elxis installed. So our FTP path for Elxis is:
/public_html

Example 2
Elxis absolute path is:
/home/username/www/elxiscms
When we login to our FTP root directory we see a list of directories. One of them is www. Inside www is a directory named elxiscms where we have Elxis installed. So our FTP path for Elxis is:
/www/elxiscms
Title: Re: Blank Page in administrator
Post by: robot_dika on May 03, 2007, 10:34:37
FTP host seems wrong. most probably should be something like ftp.yourdomain.com (without www)
FTP path must be correctly written. You should write the path from your FTP root to your Elxis installation directory.


I sent to you a private message.. Thank's a lot
Title: Re: Blank Page in administrator
Post by: voxdizainas on May 03, 2007, 20:29:26
jep same problem
Title: Re: Blank Page in administrator
Post by: datahell on May 03, 2007, 22:02:39
Fixed for robot_dika.
Title: Re: Blank Page in administrator
Post by: voxdizainas on May 04, 2007, 13:20:28
Fixed for robot_dika.

????
Title: Re: Blank Page in administrator
Post by: robot_dika on May 04, 2007, 13:54:12
Fixed for robot_dika.

Thank's a lot for your support, now I can change some details of global configuration..I have created a new user group and when I try to log in with a new user password created, the system shows "You are not authorized to view this resource."....


That group is on the same level of Public Frontend .. what could be the problem?

Thank you
Title: Re: Blank Page in administrator
Post by: datahell on May 04, 2007, 18:17:24
Public Frontend equals visitor! Your group should be at least under "Register". When you finish creating the new group you must give it access rights (permissions). See the permissions that has the "Register" group and add the same for that group also.
Title: WTF ... Blank Page in administrator
Post by: voxdizainas on May 05, 2007, 08:58:23
Hi all
if try configuration site i see blank page of global configuration?
Title: Re: Blank Page in administrator
Post by: datahell on May 05, 2007, 09:55:26
Do you have safe_mode ON in PHP?
Do posix PHP functions exist in your server?
Title: Re: Blank Page in administrator
Post by: voxdizainas on May 05, 2007, 10:46:05
Server info
http://narcizas.serveriai.lt/PHP/ (http://narcizas.serveriai.lt/PHP/)
Title: Re: Blank Page in administrator
Post by: datahell on May 05, 2007, 12:19:17
As I said you, you have posix functions disabled in your php:

Configure Command    './configure' '--disable-posix' '--enable-safe-mode' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-mbstring' '--enable-sockets' '--enable-wddx' '--enable-zip' '--enable-memory-limit' '--with-apache=../apache_1.3.37' '--with-openssl' '--with-zlib' '--with-curl=/usr/local' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir' '--with-gettext' '--with-mcrypt' '--with-mhash' '--with-xsl' '--with-mysql=/usr' '--with-mysqli' '--with-pdo-mysql' '--with-pear=/usr/share/pear'

This generates a fatal error in php. Posix is required in Elxis inorder to determine the files' owners (nobody or local FTP user). Then Elxis manipulates files respectively. Call Elxis commercial support if you wish, inorder us to modify the Elxis Core functions on your site inorder to work with posix disabled. Contact eliasan in this occasion.
Title: Re: Blank Page in administrator
Post by: voxdizainas on May 05, 2007, 12:34:00
 >:( Ok thanks
Title: Re: Blank Page in administrator
Post by: robot_dika on May 05, 2007, 12:54:28
Public Frontend equals visitor! Your group should be at least under "Register". When you finish creating the new group you must give it access rights (permissions). See the permissions that has the "Register" group and add the same for that group also.

Thank's for your reply..and for your support..

I tried to do like you said, but maybe I wrong something..

I created a new group with 'registred' level called 'CLIENT', then I created a new user with 'CLIENT' permission, I created a content with the same permission then I created a menu giving the 'CLIENT' permission, final I published the module menu with the same permission..

I guess to do correct, but I don't understand why when I try to login I obtain that message...

Thank's for your support