Elxis CMS Forum

Support => General => Topic started by: rentasite on January 16, 2010, 16:19:52

Title: Transfering Elxis site on Plesk server
Post by: rentasite on January 16, 2010, 16:19:52
Hi, i have transfered a site on a plesk server and on a subdomain. all i get now is a blank page. What should the settings be, for:

configuration.php
$mosConfig_absolute_path =
$mosConfig_live_site =
$mosConfig_cachepath =
$mosConfig_sendmail =
$mosConfig_ftp_root =


.htaccess
RewriteBase.....

anything else i should take care? it's my 1st time working with Plesk  ::)
Title: Re: Transfering Elxis site on Plesk server
Post by: rentasite on January 16, 2010, 16:51:11
i need only the answer for .htaccess   

found the solution for configuration.php

edit i get this error when trying to access Tools in Admin area.

URI: index2.php?option=com_admin&task=tools
Path: /administrator/components/com_admin/admin.admin.php
Line: 128
Invalid argument supplied for foreach()
Title: Re: Transfering Elxis site on Plesk server
Post by: CREATIVE Options on January 16, 2010, 17:45:53
-> Check in the MySQL for absolute paths (images or links)
-> Update the Softdisk ?

What excaly do you need for the htaccess ?

The plesk is Dedicate ? or Shared ?

Notice the following regarding Plesk Security:

The solution is a slightly modified version from the original post found at rackerhacker.com

Change the umask in ‘/etc/proftpd.conf’ from ‘022′ to ‘002′.

Then, update the directory permissions by running the following at the command line:
Code: [Select]
cd /var/www/vhosts/[domain.com]
chown -R [username]:psacln httpdocs
chmod -R g+w httpdocs
find httpdocs -type d -exec chmod g+s {} ;

Add the ‘apache’ user to the ‘psacln’ group by editing ‘/etc/group’.

Change
Code: [Select]
psacln:x:2524:

to
Code: [Select]
psacln:x:2524:apache

For my server I also had to add psaftp,psaadm:
Code: [Select]
psacln:x:2524:apache,psaftp,psaadm

Some PHP settings, sometimes including not being able to write to ‘/var/lib/php/session’.
To fix the issues, make some adjustments to the ‘/var/www/vhosts/[domain]/conf/vhost.conf’ for the domain (you may have to create this file):
Code: [Select]
<Directory /var/www/vhosts/[domain]/httpdocs>
php_admin_flag magic_quotes_gpc on
php_admin_flag display_errors on
php_admin_value session.save_path /tmp
</Directory>


If the vhost.conf is brand new, then run:
Code: [Select]
/usr/local/psa/admin/bin/websrvmng -av

Make sure Apache runs with your new configuration:
Code: [Select]
# httpd -t (check your work)
# /etc/init.d/httpd reload (service httpd restart on my server)
 

Done! No more errors on the install screen and no more apache/ftpuser issues with uploading files.
Title: Re: Transfering Elxis site on Plesk server
Post by: rentasite on January 16, 2010, 17:53:48

Niko, im not on the server. and im not familiar with Plesk. I disabled "Legacy Mambot Includer" and some errors have gone.

new error i get this error when trying to access Tools in Admin area.

URI: index2.php?option=com_admin&task=tools
Path: /administrator/components/com_admin/admin.admin.php
Line: 128
Invalid argument supplied for foreach()
Title: Re: Transfering Elxis site on Plesk server
Post by: rentasite on January 16, 2010, 17:57:48

I informed the admin about your post Niko. And he is following your post. Problems seem to be getting solved.

Euxaristo!  :)
Title: Re: Transfering Elxis site on Plesk server
Post by: CREATIVE Options on January 16, 2010, 18:37:14
 ;D Χαίρομαι που βοήθησα
Title: Re: Transfering Elxis site on Plesk server
Post by: rentasite on January 17, 2010, 21:56:10

What is Legacy Mambot Includer ???

i disabled it. is this a problem ?
Title: Re: Transfering Elxis site on Plesk server
Post by: CREATIVE Options on January 17, 2010, 22:24:19
You need it ONLY if you use components, modules or bot for prior version exp: 2006.x
Title: Re: Transfering Elxis site on Plesk server
Post by: rentasite on January 17, 2010, 22:38:34

A ok! so it's ok  :)  thnx