If I have a php page with no errors, everything works fine. If I remove a semicolon so it should give me an error, it displays nothing but a white page... Also, there is no error_log created.
php.ini error config:
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; error_reporting is a bit-field. Or each number up to get desired error
; reporting level
; E_ALL - All errors and warnings
; E_ERROR - fatal run-time errors
; E_WARNING - run-time warnings (non-fatal errors)
; E_PARSE - compile-time parse errors
; E_NOTICE - run-time notices (these are warnings which often result
; from a bug in your code, but it's possible that it was
; intentional (e.g., using an uninitialized variable and
; relying on the fact it's automatically initialized to an
; empty string)
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
; initial startup
; E_COMPILE_ERROR - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR - user-generated error message
; E_USER_WARNING - user-generated warning message
; E_USER_NOTICE - user-generated notice message
;
; Examples:
;
; - Show all errors, except for notices
;
;error_reporting = "E_ALL"
;
; - Show only errors
;
;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
;
; - Show all errors except for notices
;
error_reporting = E_ALL & ~E_NOTICE
; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On
; Even when display_errors is on, errors that occur during PHP's startup
; sequence are not displayed. It's strongly recommended to keep
; display_startup_errors off, except for when debugging.
display_startup_errors = Off
; Log errors into a log file (server-specific log, stderr, or error_log (below))
; As stated above, you're strongly advised to use error logging in place of
; error displaying on production web sites.
log_errors = On
; Set maximum length of log_errors. In error_log information about the source is
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
;log_errors = On;
; Do not log repeated messages. Repeated errors must occur in same file on same
; line until ignore_repeated_source is set true.
ignore_repeated_errors = Off
; Ignore source of message when ignoring repeated messages. When this setting
; is On you will not log errors with repeated messages from different files or
; sourcelines.
ignore_repeated_source = Off
; If this parameter is set to Off, then memory leaks will not be shown (on
; stdout or in the log). This has only effect in a debug compile, and if
; error reporting includes E_WARNING in the allowed list
report_memleaks = On
; Store the last error/warning message in $php_errormsg (boolean).
track_errors = Off
; Disable the inclusion of HTML tags in error messages.
;html_errors = Off
; If html_errors is set On PHP produces clickable error messages that direct
; to a page describing the error or function causing the error in detail.
; You can download a copy of the PHP manual from http://www.php.net/docs.php
; and change docref_root to the base URL of your local copy including the
; leading '/'. You must also specify the file extension being used including
; the dot.
;docref_root = "/phpmanual/"
;docref_ext = .html
; String to output before an error message.
;error_prepend_string = "<font color=ff0000>"
; String to output after an error message.
;error_append_string = "</font>"
; Log errors to specified file.
error_log = "error_log"
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = error_log;
a question on mod_proxy. We're using mod_proxy as a simple reverse proxy (ProxyPass & ProxyPassReverse) to reverse-proxy various back-end PHP and Mono/.NET apps.
One problem we see is that when the back-end PHP app suffers an error (e.g. a 404 or 500) , then mod_proxy ignores the nicely-formatted custom error page served up by our PHP app, and instead serves a very plain generic mod_proxy 404 or 500 error page back to the client. Is there a way to configure mod_proxy to serve up the 500/404 error page content which is created by the back-end app ?
(We thought ProxyErrorOverride might work, but it seems to be intended for the opposite scenario, where I want to *ignore* the 404 page content from the back-end and show a mod_proxy-defined error page instead.We're using apache 2.2 on 64-bit CentOS 6.5 ( httpd-2.2.15-31.el6.centos.x86_64 )
We have about 100 servers using CSF, and CSF is generating A LOT of mail alerts.. which is causing us to receive over 1000 mails daily, just from CSF alerts.. this doesn't include support emails or others.
My question..
How do you handle mail alerts when you have lot of servers? See... i can not waste 5 hours reading every mail.. even if I start deleting those mails a lot of important and critical alerts can be erased in the process..
I was wondering what other people did to prevent their networks from being used as platforms for network abuse. I just setup an inward facing snort server, myself- But I was wondering what other providers (especially other low-cost VPS providers)
i'm wanting my users to be able to upload pictures to their accounts via email by sending the picture to a central email address (pics@mysite.com, for example).
from there, i'd like to take that incoming email and parse it how i see fit. (matching the email address to the user account, inserting the subject as the photo title, etc...)
I've been with NPSIS as a host for 8 years. They started out with 2 guys and their wives doing the billing. Many changes/expansions over the years and all went well till they sold out in 2007. I didn't even realize they sold it until recently when the problems kept increasing and the solutions didn't. It ended today when NPS threatened to turn me in for collections. I in turn will be filing BBB and Attorney General. They lost track of my payment for 2 years thru the school I teach at. I had a grant that paid for a domain name and some hosting for the 2 years for the kids to create their own sites. I called to confirm payment before the grant expired last spring. Now they suddenly say it was never paid. They did slip up and mention that they were in the process of converting to a new billing software package. Good Luck at turning the school in to collections.
Anyway, I am in the market for a new host. I have a couple of other accounts that will follow me. I have been searching for 2 days now and I am finding more bad hosts than good ones. I'm not looking for a McDonalds approach like godaddy or hostgator. I'd prefer something more than a 1 man operation. My typical approach with any new business is to google "NewBusinessName complaint" or "NewBusinessName sucks". This only works for places that have been in business for a year or more though. I am coming up with a lot of hosts on my "NOT" list and the few I find on the good list don't quite have what I want either.
My main concern for my primary account is email/span handling. I like to use horde and squirrelmail, and boxtrapper as part of cpanel. I can deal with something other than boxtrapper if it has white list/ response challenge. I am not sure what the next 8 years will bring as far as needs/changes are concerned but I want a host willing to change with the times. Dealing with spam is a big deal to me.
Any suggestions? Like I say I've been searching for 2 days so far and it seems like finding a needle in a hay stack. I'm still reading lots of info on this site but I am in a hurry to switch hosts.
I created a SQL Server database that need sto be setup for the customer on their hosting account. The hosting company wanted the sql statemens, ok so I gave it to them to setup my tables and stored procedures. I also mentioned that if they gave me a username and password with database location and catalog name for the connection string and as long as I had create rights for that database I could run my own sql statements via SQL Server Enterprise Manager to set it up. They sent an excuse about how insecure that wasy and that they couldn't send any usernames or passwords for the database to me t set this up.
They also said it's becomming more common for Hosting Companies to not allow access to the databases for thatpurpose. Ok... uh how in the world do they expect to have a programmer create and run their data driven website without that information? I'm confused on what these guys are doing.
So.. is this true? Are more hosting companies hording their database infromation and customer usernames and passwords from the developers?
On apr 10th, I ordered 1 month of 3dg's $20 vps plan..
I asked about paying through paypal, and they said that they would setup the account, and charge me 'later'
on somewhere around may 5th~7th, I turned off auto-renew through their control panel..
since then, I forgot about the vps, and went ahead with my life, etc.
but today.. I get in my email a $40 PayPal invoice, charging me for apr11~june11 ...
I turned off auto renew before may10, which was the expire date for the plan.. but it now appears it has not been canceled.
I have never used their service after may 10... and I never enabled auto renew, but set it to disabled ...
now, they are charging me $40, which is complete.. BS. they have renewed my account against my will, and they want me to pay for it.. and they are threatening me to take 'legal action'. should I decide not to pay $40...
don't trust 3dghosting.. they will renew your account w/o your consent, and charge you. if you don't give into their demands, they will contact debt collection agency, and contact credit bureaus..
don't trust 3dghosting.. they are ignorant people. I can pretty much imagine the big "WE CHARGE CUSTOMERS AT OUR WILL, AND WE MAKE THEM PAY NO MATTER WHAT" image as their background display for their computers...
As the title says, 1 of the accounts on my server is getting the following error message - error number 0x800CCC79 server response 451 temporary local problem -
Yet other accounts on the server are sending and recieving fine?
what would cause this error? Its not tempory as its been 48 hours
yum -y groupinstall kde Loading "priorities" plugin Setting up Group Process Setting up repositories Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update
what is this? what ever i try to install i get this weird error..
Unable to parse zone: Error while parsing zonedata for xyz.com: syntax error, line 25 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.
--> Populating transaction set with selected packages. Please wait. ---> Package cadaver.i386 0:0.22.5-1.el5.rf set to be updated ---> Package mtr.i386 2:0.72-1.el5.rf set to be updated ---> Package rsync.i386 0:3.0.2-1.el5.rf set to be updated ---> Package nmap.i386 2:4.20-1.el5.rf set to be updated ---> Package lftp.i386 0:3.7.1-1.el5.rf set to be updated ---> Package syslinux.i386 0:3.63-1.el5.rf set to be updated ---> Package dkms.noarch 0:2.0.19-2.el5.rf set to be updated ---> Package subversion.i386 0:1.4.6-0.1.el5.rf set to be updated --> Running transaction check --> Processing Dependency: perl(Crypt:asswdMD5) for package: syslinux --> Finished Dependency Resolution Error: Missing Dependency: perl(Crypt:asswdMD5) is needed by package syslinux
Other Details: eth0: error fetching interface information: Device not found cp: cannot stat `/etc/apf.bk.last/vnet/*.rules': No such file or directory Imported options from 9.7-1 to 9.7-1. Note: Please review /etc/apf/conf.apf for consistency, install default backed up to /etc/apf/conf.apf.orig my host has said Code: edit the apf.conf file to venet0:0 instead of eth0 which ive done and im still getting the error, Ive pasted my current conf.apf config below
Code: #!/bin/sh # # APF 9.7 [apf@r-fx.org] # Copyright (C) 1999-2007, R-fx Networks <proj@r-fx.org> # Copyright (C) 2007, Ryan MacDonald <ryan@r-fx.org> # This program may be freely redistributed under the terms of the GNU GPL # # NOTE: This file should be edited with word/line wrapping off, # if your using pico/nano please start it with the -w switch # (e.g: pico -w filename) # NOTE: All options in this file are integer values unless otherwise # indicated. This means value of 0 = disabled and 1 = enabled.
## # [Main] ## # !!! Do not leave set to (1) !!! # When set to enabled; 5 minute cronjob is set to stop the firewall. Set # this off (0) when firewall is determined to be operating as desired. DEVEL_MODE="1"
# The installation path of APF; this can be changed but it is not recommended. INSTALL_PATH="/etc/apf"
# Untrusted Network interface(s); all traffic on defined interface will be # subject to all firewall rules. This should be your internet exposed # interfaces. Only one interface is accepted for each value. IFACE_IN="venet0" IFACE_OUT="venet0"
# Trusted Network interface(s); all traffic on defined interface(s) will by-pass # ALL firewall rules, format is white space or comma separated list. IFACE_TRUSTED=""
# This option will allow for all status events to be displayed in real time on # the console as you use the firewall. Typically, APF used to operate silent # with all logging piped to $LOG_APF. The use of this option will not disable # the standard log file displayed by apf --status but rather compliment it. SET_VERBOSE="1"
# The fast load feature makes use of the iptables-save/restore facilities to do # a snapshot save of the current firewall rules on an APF stop then when APF is # instructed to start again it will restore the snapshot. This feature allows # APF to load hundreds of rules back into the firewall without the need to # regenerate every firewall entry. # Note: a) if system uptime is below 5 minutes, the snapshot is expired # b) if snapshot age exceeds 12 hours, the snapshot is expired # c) if conf or a .rule has changed since last load, snapshot is expired # d) if it is your first run of APF since install, snapshot is generated # - an expired snapshot means APF will do a full start rule-by-rule SET_FASTLOAD="0"
I upgraded my PHP to 5.2.4 ang changed server API from Apache to CGI, and now a site doesnt load anymore...
It gives this error message: Fatal error: Internal Optimizer error: can't translate opcode 60 (JMP_NO_CTOR), please contact Zend support in /home/vrock/public_html/rwf/rwengine.lib on line 0
PHP Version 5.2.4 Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
Usually everything has been working fine with this .htaccess-file until today. There hasn't been any change on the system.
If you click on the hyperlink to the restricted area the login window appears where you need to type in your username and a password. After typing in these data the following message appears in the browser:
500 Internal Server Error
The server encountered an internal error or misconfigruation and was unable to complete your request. (…)
The apache error log file contains the following message:
Request exceeded the limit of 10 sub request nesting levels due to probable configuration error.
Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
The increase of the LimitInternalRecursion does not solve the problem. So I switched the LogLevel in the httpd.conf file from warn to debug and looked again on the entries of the error log.
The following appeared (I have replaced ip addresses, usernames and URL by xyz or <URL>) :
Code:
[error] [client xyz] mod_digest_apple: Client is using a nonce not issued by this server for this context:/rb/Vorlesung/WS12/Downloads/, referer: http:<URL>
Command:MLSD Response:150 Accepted data connection Response:226-ASCII Response:226-Options: -a -l Response:226 24 matches total Error:Connection timed out Error:Failed to retrieve directory listing
I am using fedora 7 and when i fire "yum localinstall dovecot-*" it gives error. Could not retrieve mirrorlist [url]Error was [Errno4] IOError:< urlopen Error (110,'connection timed out')> Error:cannot retrieve repository metadata (Repomd.xml) for repository:fedora
Here are my settings in the /etc/php5/apache2/php.ini file:
display_errors = On display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On error_log = /var/log/php5/error.log
However unfortunately I never see any error log being generated in the /var/log/php5/error.log file?
Also with my shared hosting site one thing which I noticed was, due to some configurations set by them, the error.log used to generate in the folder where the error occured. This is a cool thing which they used to do, but I just dont understand how did they do that.
In my move away from proprietary CP not configured for my needs and over which I have little control, I'm uninstalling them from my servers. On one of my VPS, I reinstalled the OS, CentOS 5.2 and am trying to prepare for an upgrade to CentOS 5.3 (and installs of new mailserver, webserver, CP and DNS server) by doing the required software updates on the server. However, I keep getting nearly the exact same error, outputting the exact same files. In this case, I'm trying to install "vim-minimal" for bash since I'm having bash problems, too:
-bash-3.2# yum install vim-minimal Loaded plugins: fastestmirror, protect-packages Loading mirror speeds from cached hostfile * rpmforge: fr2.rpmfind.net * base: ftp.nluug.nl * updates: ftp.nluug.nl * addons: ftp.nluug.nl * extras: ftp.nluug.nl Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package vim-minimal.x86_64 2:7.0.109-4.el5_2.4z set to be updated --> Processing Dependency: libc.so.6(GLIBC_2.2.5)(64bit) for package: vim-minimal --> Processing Dependency: libc.so.6(GLIBC_2.3.4)(64bit) for package: vim-minimal --> Processing Dependency: libc.so.6(GLIBC_2.4)(64bit) for package: vim-minimal --> Processing Dependency: libacl.so.1(ACL_1.0)(64bit) for package: vim-minimal --> Processing Dependency: libc.so.6(GLIBC_2.3)(64bit) for package: vim-minimal --> Processing Dependency: libc.so.6()(64bit) for package: vim-minimal --> Processing Dependency: libacl.so.1()(64bit) for package: vim-minimal --> Processing Dependency: libtermcap.so.2()(64bit) for package: vim-minimal --> Processing Dependency: libselinux.so.1()(64bit) for package: vim-minimal --> Running transaction check ---> Package libtermcap.x86_64 0:2.0.8-46.1 set to be updated ---> Package glibc.x86_64 0:2.5-34 set to be updated --> Processing Dependency: glibc-common = 2.5-34 for package: glibc ---> Package libselinux.x86_64 0:1.33.4-5.1.el5 set to be updated --> Processing Dependency: libsepol.so.1()(64bit) for package: libselinux ---> Package libacl.x86_64 0:2.2.39-3.el5 set to be updated --> Processing Dependency: libattr.so.1(ATTR_1.0)(64bit) for package: libacl --> Processing Dependency: libattr.so.1()(64bit) for package: libacl ---> Package glibc.i686 0:2.5-34 set to be updated ---> Package libselinux.i386 0:1.33.4-5.1.el5 set to be updated --> Running transaction check ---> Package libattr.x86_64 0:2.4.32-1.1 set to be updated ---> Package libsepol.x86_64 0:1.15.2-1.el5 set to be updated ---> Package glibc-common.x86_64 0:2.5-34 set to be updated --> Finished Dependency Resolution
I just put a new server and testing a few sites on there but for some reason I cannot get them up. The sites will not appear in the browser despite being propagate for over 24 hours. I just attempted to delete and then re-add a dns zone for one of the accounts and I got the following message in whm...
Add a DNS Zone Results of adding zone [url] Zone created successfully for IP Zone is owned by system
The same IP that its trying to add is listed in WHM under " Main >> Server Configuration >> Basic cPanel/WHM Setup" under the 'Main Shared Virtual Host IP' option. What am I missing here?