Elxis CMS Forum
Support => General => Topic started 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 ::)
-
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()
-
-> 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:
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
psacln:x:2524:
to
psacln:x:2524:apache
For my server I also had to add psaftp,psaadm:
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):
<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:
/usr/local/psa/admin/bin/websrvmng -av
Make sure Apache runs with your new configuration:
# 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.
-
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()
-
I informed the admin about your post Niko. And he is following your post. Problems seem to be getting solved.
Euxaristo! :)
-
;D Χαίρομαι που βοήθησα
-
What is Legacy Mambot Includer ???
i disabled it. is this a problem ?
-
You need it ONLY if you use components, modules or bot for prior version exp: 2006.x
-
A ok! so it's ok :) thnx