Hi, I followed the guide for the installation of Debian ISPConfig3 with 6, and all right, but there is a serious problem: the guide: http://www.howtoforge.com/perfect-server-debian-squeeze-with-bind-and-courier-ispconfig-3 When you install a component from Joomla 1.5.22, an error "error 500 internal server error", and you can not install anything. Any solution for this problem? attach capture with error
Please post the exact error message that you find in the error.log of the website. And check the website settings, for joomla it is recommended to use "php-fcgi" as php mode and make sure that the suexec checkbox is enabled.
pleas is a novice in Linux, how too see the error log? ans the options is enabled suexec, and the "fast-cgi" is select. thx
What did you do? I installed a fresh install Joomla 1.6 and get a lot of internal server errors. Rudolf.
As Till said, please post the content of the error.log of the joomla website. You can find it in /var/www/yourwebsite.com/logs/
I was writing a reply to neobcn. Some people write "I solved it", but they don't write what they did. But here's my error: Code: [Fri May 27 08:47:52 2011] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Fri May 27 08:47:52 2011] [error] [client 188.201.240.114] Premature end of script headers: index.php, referer: mysite.com Thanks, Rudolf.
Make sure that all joomla files are owned by the web[id] user and client[id] group of the website and that suexec is enabled in the website settings.
How to check the files for ownership? I just uploaded the files via FTP so I don't understand how ownership could be changed? Rudolf. Edit: I used and see that some files and folders are owned by root. Is there an easy way to change the owner?
Removed all files and uploaded them again with the right owner now. Fast-cgi and suexec is enabled. Error log:
Please upload a info.php file with the following contents to the website: <?php phpinfo(); ?> and open it in the webbrowser. Do you get the normal phpinfo output or a error message?
I get the normal output, no error. Code: PHP Version 5.2.11-0.dotdeb.1 System Linux myserver 2.6.28-17-server #58-Ubuntu SMP Tue Dec 1 19:58:28 UTC 2009 i686 Build Date Sep 20 2009 09:36:06 Server API CGI/FastCGI etc. etc.
Ok, so php is working in that site. Please post the output of: ls -la /var/www/yourwebsite.com/web/ replace the domain name if the domain name of the affected website.
Here's the output: Code: [email protected]:~/web$ ls -la /var/www/mysite.com/web/ total 15020 drwxrwxrwx 21 web61 client8 4096 2011-05-27 12:36 . drwxr-xr-x 6 root root 4096 2011-05-27 09:54 .. drwxr-xr-x 10 web61 client8 4096 2011-04-19 04:11 administrator drwxr-xr-x 2 web61 client8 4096 2011-04-19 04:11 cache -rw-r--r-- 1 web61 client8 77640 2011-04-05 00:01 CHANGELOG.php drwxr-xr-x 12 web61 client8 4096 2011-04-19 04:11 components -rw-r--r-- 1 web61 client8 1783 2011-05-26 22:25 configuration.php -rw-r--r-- 1 web61 client8 3411 2010-01-26 15:10 configuration.php-dist -rw-r--r-- 1 web61 client8 1172 2010-01-26 15:10 COPYRIGHT.php -rw-r--r-- 1 web61 client8 14918 2011-01-25 18:42 CREDITS.php drwxrwxrwx 4 web61 client8 4096 2010-07-28 22:12 demi drwxrwxrwx 2 web61 client8 4096 2010-07-13 11:38 error -rwxrwxrwx 1 web61 client8 1406 2011-02-16 13:55 favicon.ico -rwxrwxrwx 1 web61 client8 22 2010-07-28 22:13 hostedservice.html drwxrwxrwx 3 web61 client8 4096 2011-02-13 16:12 hd -rw-r--r-- 1 web61 client8 3189 2011-04-07 17:47 htaccess.txt drwxr-xr-x 4 web61 client8 4096 2011-04-19 04:11 images drwxr-xr-x 2 web61 client8 4096 2011-04-19 04:11 includes -rw-r--r-- 1 web61 client8 588 2010-01-26 15:10 index2.php -rw-r--r-- 1 web61 client8 1389 2011-02-21 20:44 index.php -rw-r--r-- 1 web61 client8 7938 2011-02-14 14:59 indexxx.html -rw-r--r-- 1 web61 client8 20 2011-05-27 10:59 info.php -rw-r--r-- 1 web61 client8 4344 2010-01-26 15:10 INSTALL.php -rw-r--r-- 1 web61 client8 6956762 2011-05-27 12:33 Joomla_1.5.zip -rw-r--r-- 1 web61 client8 7979071 2011-05-26 21:52 Joomla_1.6.zip -rw-r--r-- 1 web61 client8 1245 2011-04-19 04:11 joomla.xml drwxr-xr-x 4 web61 client8 4096 2011-04-19 04:11 language drwxr-xr-x 6 web61 client8 4096 2011-04-19 04:11 libraries -rw-r--r-- 1 web61 client8 17816 2009-01-17 10:55 LICENSE.php -rw-r--r-- 1 web61 client8 27986 2010-01-26 15:10 LICENSES.php -rw-r--r-- 1 web61 client8 15606 2011-03-11 11:28 license.txt -rw-r--r-- 1 web61 client8 17816 2009-12-12 16:44 LICENSE.txt drwxr-xr-x 2 web61 client8 4096 2011-04-19 04:11 logs drwxr-xr-x 8 web61 client8 4096 2011-04-19 04:11 media drwxr-xr-x 25 web61 client8 4096 2011-04-19 04:11 modules -rw-r--r-- 1 web61 client8 8226 2011-02-14 14:59 pagina2.html -rw-r--r-- 1 web61 client8 7836 2011-02-14 14:59 pagina3.html -rw-r--r-- 1 web61 client8 7983 2011-02-14 14:59 pagina4.html -rw-r--r-- 1 web61 client8 8348 2011-02-14 14:59 pagina5.html -rw-r--r-- 1 web61 client8 5941 2011-02-14 14:59 pagina6.html drwxr-xr-x 10 web61 client8 4096 2011-04-19 04:11 plugins -rw-r--r-- 1 web61 client8 9200 2011-03-11 11:28 readme.html -rw-r--r-- 1 web61 client8 4493 2011-01-09 03:40 README.txt -rw-r--r-- 1 web61 client8 849 2011-04-03 02:43 robots.txt drwxr-xr-x 3 web61 client8 4096 2011-02-13 15:08 spot drwxr-xr-x 2 root root 4096 2011-05-02 00:30 stats drwxr-xr-x 6 web61 client8 4096 2011-04-19 04:11 templates drwxr-xr-x 2 web61 client8 4096 2011-02-13 13:58 test drwxr-xr-x 2 web61 client8 4096 2011-04-19 04:11 tmp -rw-r--r-- 1 web61 client8 1811 2011-04-07 17:30 web.config.txt -rw-r--r-- 1 web61 client8 990 2011-02-14 14:59 WebPlusDb.txt -rw-r--r-- 1 web61 client8 3210 2011-03-11 11:28 xmlrpc.php
Is this a fresh joomla install or is this a copy of a joomla installation from a different server that you copied into thsi webspace. There seem to be some files that dont belong to a fresh joomla installation. If its a copied installation, have you changed the database logins in the joomla config files and created the database and restored the original database content?
The Joomla installtion is fresh (There was a Wordpress installation and some files stayed there with some data in in that we need so the files were not deleted). The database is also an empty database with new joomla tables in it.
Please rename the .htaccess file to _.htaccess.txt to ensure that there are no former wordpress rules active.
There are no .htaccess anymore, renamed the file to _htacces,txt Sometimes the site is working and sometimes I get this error. You can check it at marchella.com and refresh it sometimes.
Please check the error.log of the website again, if its still the same internal server error. Also check the php.ini file for cgi / fastcgi if the memory limit is high enough (e.g. 64MB or 128 MB).
Code: [Fri May 27 14:57:45 2011] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Fri May 27 14:57:45 2011] [error] [client 188.201.240.114] Premature end of script headers: index.php Memory limit is: memory_limit = 128M (not sure if this is cgi /fastcgi memorty limit?)