I'm using Apache/2.2.16 (Debian) Server as a test server. It has stopped working. What I mean is whenever I try to access a page at say x.x.x.x/foo/bar.php my browsers status bar says waiting for x.x.x.x and the server never responds.
This is what the error logs at says:
[Thu Jun 25 11:30:22 2015] [error] [client 94.200.27.10] PHP Parse error: syntax error, unexpected T_STRING in /usr/share/drupal6/abdi-test/index.php on line 28
[Thu Jun 25 11:30:59 2015] [error] [client 94.200.27.10] PHP Parse error: syntax error, unexpected T_STRING in /usr/share/drupal6/abdi-test/index.php on line 28
[Thu Jun 25 11:31:20 2015] [error] [client 94.200.27.10] PHP Fatal error: Call to undefined method DbConnector::dbQuery() in /usr/share/drupal6/abdi-test/index.php on line 31
[Thu Jun 25 11:57:41 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 11:59:03 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:15:33 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:31:56 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:49:47 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:50:15 2015] [error] [client 151.80.123.208] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Thu Jun 25 12:56:29 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
I'm just an intern so I only have ftp access to this test server. My supervisor says there is a problem with the code on one of the pages somewhere on the server but he's too busy with something else to fix it right now.
Does anyone know what might be wrong?
Related
in my hosting I have a few pages in folders inside of public_html.
So, I need upload a Laravel project in a new folder for access like this: "www.mypage.com/laravelproject". My problem is that I create a folder laravelproject and I put all the laravel project inside this, but give me:
Forbidden
You don't have permission to access /laravelproject/ on this server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
And if i try enter to: "www.mypage.com/laravelproject/public" I receive this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
The hosting give me this errors that produce the project. The project name is "eysa", so I want access it like: "www.mydomain.com/eysa":
[Thu Sep 14 14:31:54 2017] [alert] [client 190.19.102.99]
/var/www/vhost/example.com/home/html/eysa/public/.htaccess: Option
MultiViews not allowed here [Thu Sep 14 14:31:54 2017] [error] [client
190.19.102.99] File does not exist: /var/www/vhost/example.com/home/errors/500.html [Thu Sep 14
14:31:54 2017] [error] [client 190.19.102.99] File does not exist:
/var/www/vhost/example.com/home/html/favicon.ico, referer:
http://example.com/eysa/public [Thu Sep 14 14:31:54 2017] [error]
[client 190.19.102.99] File does not exist:
/var/www/vhost/example.com/home/errors/404.html, referer:
http://example.com/eysa/public
I need help!
Thanks!
Ok, so let's tear down your log file
Here is your main problem your server configuration does not allow to use MultiViews, removing that from your .htaccess file probably should fix the issue.
[Thu Sep 14 14:31:54 2017] [alert] [client 190.19.102.99]
/var/www/vhost/example.com/home/html/eysa/public/.htaccess: Option
MultiViews not allowed here
Your server looking for your custom error page but cannot found, you can define yours in .htaccess as well ;
[Thu Sep 14 14:31:54 2017] [error] [client
190.19.102.99] File does not exist: /var/www/vhost/example.com/home/errors/500.html
Your browser tries to get favicon.ico but cannot be found in root.
[Thu Sep 14 14:31:54
2017] [error] [client 190.19.102.99] File does not exist:
/var/www/vhost/example.com/home/html/favicon.ico, referer:
http://example.com/eysa/public
This is also almost identical error with the one above, same comment applies.
[Thu Sep 14 14:31:54 2017] [error]
[client 190.19.102.99] File does not exist:
/var/www/vhost/example.com/home/errors/404.html, referer:
http://example.com/eysa/public
Seems like your server only allows MultiViews on your root folder, if laravel requires this you can create a sub-domain or create a virtual folder if your hosting allows.
I have encountered "zend_mm_heap corrupted" Error on my app server.
error_log trace is below
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] zend_mm_heap corrupted
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] Premature end of script headers: index.php
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] zend_mm_heap corrupted
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] Premature end of script headers: index.php
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] zend_mm_heap corrupted, referer: http://domain/
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] Premature end of script headers: index.php, referer: http://domain/
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] zend_mm_heap corrupted, referer: http://domain/
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] Premature end of script headers: index.php, referer: http://domain/
I tried different approach bu no luck. Any Idea how this problem can be fixed.
Thanks in advance
Update : Issue is resolved now.
Made two changes in app server to clear the issues.
One reinstalled the frame work used in the server. that resolved the issue of zend_mm_heap.
Secondly removed unwanted extension of homeloader.so from php.ini to end the error of Premature end of script headers: index.php.
am using codeigniter 2.2 and my os is ubuntu 14.04 . I have developed a website using codeigniter on my localhost. it was working fine.
now i have moved the site to the real server http://hotlunchorders.com/. i am getting the error.
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster#hotlunchorders.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
my .htaccess file
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
errorlog file in server
[Thu Jun 04 08:00:35 2015] [error] [client 67.213.90.137] SoftException in Application.cpp:256: File "/home/hotlunchorders/public_html/index.php" is writeable by group
[Thu Jun 04 08:00:35 2015] [error] [client 67.213.90.137] SoftException in Application.cpp:256: File "/home/hotlunchorders/public_html/index.php" is writeable by group
[Thu Jun 04 07:59:57 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/404.shtml, referer: http://hotlunchorders.com/beta/index.php/profile/index
[Thu Jun 04 07:59:57 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/beta/assets/css/global-style-color-icon.css, referer: http://hotlunchorders.com/beta/index.php/profile/index
[Thu Jun 04 07:59:54 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/404.shtml, referer: http://hotlunchorders.com/beta/index.php/home/index
[Thu Jun 04 07:59:54 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/beta/assets/css/global-style-color-icon.css, referer: http://hotlunchorders.com/beta/index.php/home/index
[Thu Jun 04 07:59:49 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/404.shtml, referer: http://hotlunchorders.com/beta/index.php/order/step4/cod
[Thu Jun 04 07:59:49 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/beta/assets/css/global-style-color-icon.css, referer: http://hotlunchorders.com/beta/index.php/order/step4/cod
[Thu Jun 04 07:59:42 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/404.shtml, referer: http://hotlunchorders.com/beta/index.php/order/step3
[Thu Jun 04 07:59:42 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/beta/assets/css/global-style-color-icon.css, referer: http://hotlunchorders.com/beta/index.php/order/step3
[Thu Jun 04 07:59:30 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/404.shtml, referer: http://hotlunchorders.com/beta/index.php/order/step2
[Thu Jun 04 07:59:30 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/beta/assets/css/global-style-color-icon.css, referer: http://hotlunchorders.com/beta/index.php/order/step2
[Thu Jun 04 07:59:26 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/404.shtml, referer: http://hotlunchorders.com/beta/index.php/order/step1
[Thu Jun 04 07:59:26 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/beta/assets/css/global-style-color-icon.css, referer: http://hotlunchorders.com/beta/index.php/order/step1
[Thu Jun 04 07:58:07 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/500.shtml
[Thu Jun 04 07:58:07 2015] [error] [client 67.213.90.137] SoftException in Application.cpp:256: File "/home/hotlunchorders/public_html/index.php" is writeable by group
[Thu Jun 04 07:58:05 2015] [error] [client 67.213.90.137] File does not exist: /home/hotlunchorders/public_html/404.shtml, referer: http://hotlunchorders.com/beta/index.php/profile/index
Can someone help me to fix this problem. tnx.
Points to look at:
Is rewrite module enabled? Enable by sudo a2enmod rewrite.
Are paths correct? Linux is case sensitive.
is writeable by group may point out the permission problems. Try changing permission set to sudo chmod 0750 respective files and directories.
How can we reindex a Magento 1.7.02 version site having more than 24,000 products and hundreds of categories?
When I try to reindex the product price index in Magento Admin Index Management, it generates an internal Server Error 500. When I checked the server log for errors it shows up with messages:
home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:15:03 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:14:37 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/404.shtml
[Wed Jun 04 22:14:37 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/favicon.ico
[Wed Jun 04 22:14:36 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/500.shtml, referer: http://mysitetest.com.au/ultimate4wheel/index.php/admin/process/edit/process/4/key/e7cfe1aaf5b456e018f28e488e42a4bd/
[Wed Jun 04 22:13:51 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:51 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:48 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:48 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:43 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:43 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:35 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:35 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:21 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:21 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:12:06 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.sht
Can anyone help me to solve it... or reindex correctly?
I have also tried increasing time limit, memory limit, skipping security, etc. but didn't work as I wrote in .htaccess file:
php_value memory_limit 2836M
php_value max_execution_time 2592000
php_value max_input_time 2592000
php_value session.gc_maxlifetime 864000
php_value session.cookie_lifetime 864000
php_value max_input_vars 50000
For mass re-indexing you should always try command prompt.
Go to your project path through command line:
cd path/to/your/project/folder
And then open "Shell" folder
cd shell
And then do the following command to re-index all indexes.
php indexer.php --reindexall
For more info go through this link.
Magento link
Everything was working fine till last morning (12 hours ago). But now each of PHP page is showing "500 Internal Server Error". Please look at this link http://abusadat.com. It's an WordPress site. I have thought it's about WordPress.
But I have a sub-domain, where there is a single PHP file - http://demo.abusadat.com/fb-apps/index.php, which gets same error. Though at the same location, there is a HTML file http://demo.abusadat.com/fb-apps/test.html, which works fine. To test if any syntax in PHP page causes that error, I have placed a "die('some message')" at the first line of that "index.php" file, but it shows same error. There is no HTAccess in that sub-domain.
Everything was working - suddenly all PHP stopped, I can't get the problem. Can anyone help?
Edited:
*Latest Error log from cPanel*
[Mon Jun 27 14:42:30 2011] [error] [client 59.93.241.43] File does not exist: /home/abusadat/public_html/demo.abusadat/404.shtml
[Mon Jun 27 14:42:30 2011] [error] [client 59.93.241.43] File does not exist: /home/abusadat/public_html/demo.abusadat/favicon.ico
[Mon Jun 27 14:42:29 2011] [error] [client 59.93.241.43] File does not exist: /home/abusadat/public_html/demo.abusadat/404.shtml
[Mon Jun 27 14:42:29 2011] [error] [client 59.93.241.43] File does not exist: /home/abusadat/public_html/demo.abusadat/favicon.ico
[Mon Jun 27 14:42:26 2011] [error] [client 59.93.241.43] File does not exist: /home/abusadat/public_html/demo.abusadat/404.shtml
[Mon Jun 27 14:42:26 2011] [error] [client 59.93.241.43] File does not exist: /home/abusadat/public_html/demo.abusadat/favicon.ico
[Mon Jun 27 14:40:53 2011] [error] [client 70.176.105.10] File does not exist: /home/abusadat/public_html/demo.abusadat/404.shtml
[Mon Jun 27 14:40:53 2011] [error] [client 70.176.105.10] File does not exist: /home/abusadat/public_html/demo.abusadat/favicon.ico
[Mon Jun 27 14:40:53 2011] [error] [client 70.176.105.10] File does not exist: /home/abusadat/public_html/demo.abusadat/404.shtml
[Mon Jun 27 14:40:53 2011] [error] [client 70.176.105.10] File does not exist: /home/abusadat/public_html/demo.abusadat/favicon.ico
[Mon Jun 27 14:40:53 2011] [error] [client 70.176.105.10] File does not exist: /home/abusadat/public_html/demo.abusadat/500.shtml, referer: http://stackoverflow.com/questions/6497358/any-of-my-php-files-on-the-server-generated-500-internal-server-error
[Mon Jun 27 14:40:00 2011] [error] [client 180.234.41.26] File does not exist: /home/abusadat/public_html/demo.abusadat/500.shtml
[Mon Jun 27 14:39:48 2011] [error] [client 180.234.41.26] File does not exist: /home/abusadat/public_html/demo.abusadat/404.shtml
[Mon Jun 27 14:39:48 2011] [error] [client 180.234.41.26] File does not exist: /home/abusadat/public_html/demo.abusadat/fb-app
[Mon Jun 27 14:39:34 2011] [error] [client 109.132.111.25] File does not exist: /home/abusadat/public_html/demo.abusadat/404.shtml
[Mon Jun 27 14:39:34 2011] [error] [client 109.132.111.25] File does not exist: /home/abusadat/public_html/demo.abusadat/favicon.ico
Thanks,
Sadat
You should check your log files to determine if an automatic update occurred around the time the problem first appeared. Also check if Apache (or your web server) was restarted around that time, activating a previous update.