Apache :: Error Reading Status Line From Remote Server

Aug 6, 2014

We are currently using Apache 2.2.10 as the reverse proxy for the SAP portal server 7.3.1. The SAP applications are built based on webdynpro abap technology.2 of the apps are getting intermittent spinning circles. The Apache server will ultimately timeout and give the "bad request" and HTTP 400. We were never able to reproduce the problem except we do see users are running into them. Obviously, the problems occur very randomly, but often enough to generate a lot of support tickets. No error was generated in the sap system log.

Here is what I see from the apache access log and error log:

[31/Jul/2014:23:50:26 -0400] TLSv1 AES128-SHA "POST /sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--?sap-contextid=SID%3aANON%3asapprd_PR3_03%3aezUnW-FXtaYVyXREaAD7rxW0k8o5pk_n9RfjPfcB-NEW HTTP/1.1" 400 3004 "https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)" 706345611

[Fri Aug 01 14:19:07 2014] [error] [client 10.4.53.198] (70014)End of file found: proxy: error reading status line from remote server xxxxxx, referer: https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=RaH2yjQlV6o7wVaj6wv6zA--LXTMFzjjKvcuwT*DXWoBmA--

I found bug 37770 and went to see the apache admin. But he thinks that the parameter(proxy-initial-not-pooled=1) that fixes the bug only applies to mod_proxy_http. However, we are using mod_proxy.

View 1 Replies


ADVERTISEMENT

Apache :: Reverse Proxy Modules - Error Reading Status Line From Remote Server

Oct 17, 2013

We have been using Apache 2.2.x with reverse proxy modules for our clients to access their OWA servers for over a year. I want to get us to Apache 2.4.x so I setup a test box with latest 2.4 on it. I fixed the config file issues since 2.4 has changes in it. OWA proxy is working on my test server with Apache 2.4. But with 2.4 I do have an issue I cannot figure out. Note that this does NOT occur with Apache 2.2. I get the following errors when using ActiveSync through reverse proxy:

[Thu Oct 17 12:19:11.670665 2013] [proxy_http:error] [pid 748:tid 8440] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : [client x.x.x.x:20311] AH01102: error reading status line from remote server mail.nameredacted.net:443
[Thu Oct 17 12:19:11.670665 2013] [proxy:error] [pid 748:tid 8440] [client x.x.x.x:20311] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync

So somehow with Apache 2.4 there is some sort of timeout that was not there with 2.2.

View 2 Replies View Related

Internal Server Error - When Reading Table

Nov 28, 2008

In the forum [url]suddenly we got Internal Server Error. Our host claims it is because of corrupted database accorind the logs:
081128 11:44:38 [ERROR] Got error 126 when reading table './lykman_clubcento/lykman11_members'
Repairing the database from cpanel didnt work. Old available backups are not available.

View 12 Replies View Related

Plesk 12.x / Linux :: Php 5.4 Error Reading Data From FastCGI Server

Dec 21, 2014

I changed to a new server with plesk 12 and every php that worked with Plesk 11.5 and php 5.4 doesn't work in the new server with fstcgi and php 5.4. They run fine if I config subdomain with FastCgi php5.3 but don't with php 5.4.35. I get this error message in error_log of subdmain using this versión of php (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server. Premature end of script headers: test.php

there is no error in /var/log/httpd/suexec_log phpini seems OK.My system uses Centos 6.4 and

View 3 Replies View Related

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server - Cannot Allocate Memory

Jun 22, 2015

PleskLog File

104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Jun 22 15:33:11 2015] [error] [client 176.10.112.11] Premature end of script headers: import_cop.php

and Apache Log

[Mon Jun 22 11:06:57 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Jun 22 15:46:17 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
PHP Warning: Module 'zip' already loaded in Unknown on line 0

How can I fix this problem? The Script is 100% i/O because it has worked onder PHP 5.2 and its comp. whit 5.4.

View 12 Replies View Related

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server And End Of Script Output Before Headers

Feb 17, 2015

I have an issue with running of the php-scripts. It runs via Cron (as it consumes a lot of memory), after aprox. 10 minutes after the start-time of the script the following error appears in the error-log file (path - /var/www/vhosts/system/subdomain.domain.tld/logs/error_log)

[Tue Feb 17 19:46:57.003326 2015] [fcgid:warn] [pid 28629] (104)Connection reset by peer: [client XX.XXX.XXX.XXX:48450] mod_fcgid: error reading data from FastCGI server
[Tue Feb 17 19:46:57.003368 2015] [core:error] [pid 28629] [client XX.XXX.XXX.XXX:48450] End of script output before headers: Name_of_the_script.php

For a very strange reason another PHP-script, that has the same code, but just runs less arrays, and therefore consumes less memory and can be run via browser - works perfectly from both browser and the cron. The php.ini for this domain set up correctly (see the attachment)...

View 1 Replies View Related

Plesk 12.x / Linux :: Connection Reset By Peer - Error Reading Data From FastCGI Server

Mar 23, 2015

I have this error.

Code:

[Mon Mar 23 20:53:14 2015] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Mar 23 20:53:14 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php

My VPS

OSDebian 7.8
Plesk version12.0.18 Update #38

Code:

<IfModule mod_fcgid.c>
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

[Code] .....

View 2 Replies View Related

Plesk 12.x / Linux :: Adding Multiple PHP Version / Error Reading Data From FastCGI Server

Jun 6, 2014

I'm trying to add multiple PHP version (current version installed: 5.5.13), using the official documentation. I always get 500 Internal Server Error after switching to the new version, with the following error_log content:

Code:
[Sat Jun 07 00:49:35 2014] [warn] [client XXX.XXX.XXX.XXX] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jun 07 00:49:35 2014] [error] [client XXX.XXX.XXX.XXX] Premature end of script headers: index.php
Here you can view phpinfo() obtained running php54-cgi index.php from the command line. Same script doesn't work as FastCGI.

I'm trying to add PHP 5.4.29. Here is how I compiled it:

Code:

./configure
--prefix=/usr/local/php54
--with-bz2
--with-config-file-path=/usr/local/php54/etc
--with-config-file-scan-dir=/usr/local/php54/etc/php.d
--with-curl

[code]....

Switching back to PHP 5.5.13 and the script works fine (a simple phpinfo() output).How can I try to understand/debug what's wrong with the installation?

View 5 Replies View Related

Apache :: Server Status Unavailable

Jan 14, 2014

Issue: Unable to access simple server status reports though server-status.(chrome could not find..)

Environment:

Home Lab; Win8(dont ask..)
apache 2.0(httpd-2.0.64-win32-x86-no_ssl)
*Fire down, router rules unrestrictive

set in httpd:
...
<Location /server-status>
SetHandler server-status

Order Deny,Allow
Deny from all
Allow from all
</Location>
...

Advanced mods, require compilation to standing installation of apache but the server status is said to be precompiled with the version.

View 6 Replies View Related

Apache :: Get Server-status To Display

Mar 24, 2014

i am trying to get server-status to display. when i have the following set:

<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from .myServer.com
</Location>

You don't have permission to access /server-status on this server.

View 3 Replies View Related

Long Running Apache Processes In Server-status

Feb 13, 2007

I'm not sure I understand the server-status page enough to know if this is a problem or not, but I have several processes that seem to run forever, or until I restart Apache. e.g.

Code:
13-1 21045 0/697/4264 W 59.45 19641 0 0.0 43.28 274.97 66.249.66.133 www.example.com GET /wp/2005/01/ HTTP/1.1
19-1 408 1/834/1831 C 83.52 32463 0 14.8 149.66 263.48 66.249.66.133 www.example.com GET /wp/ HTTP/1.1
30-1 14416 0/430/431 W 35.19 13347 0 0.0 37.42 37.44 66.249.66.133 www.example.com GET /wp/category/issues/ HTTP/1.1

They are almost always on a single domain (there's about 100 on the server) that's a Wordpress site. These processes are also almost always a search engine.

On the rare case I see them running on other domains on the same server they're always on Wordpress sites.

The longer the processes run, the more processor/memory they use, the more they slow the server down.

It seems to have just started in the past few weeks, I've had the site there for a couple years.

View 2 Replies View Related

Apache :: Server-status Denied By Server Configuration

Jun 8, 2014

I have Apache 2.2.26 running on OS X 10.9.3.My situation is that I consistently get an error that client denied by server configuration when accessing /server-status.

View 1 Replies View Related

Apache Hangs When Having Lots Of ..reading.. Requests

Jan 26, 2008

A weird thing happents once on few days on my server, and it's not a regular thing or on exact time.

When I have this problem no page can be loaded in the browser, but WHM is working, i think because it's accessed by IP .

In apache status page I can see lots of ..reading.. requests which are there even for 10 - 20 seconds sometimes.

Usualy the server has 10 - 20 requests/s :

CPU Usage: u35146 s2297.05 cu2.74 cs4.5 - 6.97% CPU load
11.2 requests/sec - 83.0 kB/second - 7.4 kB/request
10 requests currently being processed, 8 idle servers

But when the ..reading.. requests appear it goes much higher like 100 to 200

11.5 requests/sec - 85.3 kB/second - 7.5 kB/request
200 requests currently being processed, 0 idle servers

after 3 minutes :

160 requests currently being processed, 30 idle servers

When I logged on to SSH I saw that there are ~150 conection from a single IP .

View 14 Replies View Related

DOS Attack Over Apache, Full Of READING Connections

Feb 5, 2007

As you can see my apache is full of Reading connections..... they are filling up my server dening legitimate users to browse trought the websites hosted there... I think this is what is happening to me:
http://mail-archives.apache.org/mod_...l.gmail.com%3E

Im using apache 1.3.3.7 on RHES 3 with latest patches and kernel.

930 requests currently being processed, 6 idle servers
RRRRRRRRWRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRR
RRRRRRRRRWRRRWRRRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR_RRRRRRRRRRRRR_RRRRRRR
RRRRRRRRRRRRRRRRRRRRRRWRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
R_WRRRRRRRRRRRRRRRRRRRRWWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRR
RRRRRRRRRRRRRWRR_RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR_
RRRRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRR_RRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRR
RRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRR.RRR.......................

1-044940/40/40R 0.33340.00.060.06 ??..reading..
2-044950/55/55R 0.47330.00.110.11 ??..reading..
3-044960/35/35R 0.31330.00.050.05 ??..reading..
4-044970/38/38R 0.13210.00.090.09 ??..reading..
5-045410/40/40R 0.16360.00.130.13 ??..reading..
6-046190/28/28R 0.12110.00.030.03 ??..reading..
7-046220/34/34R 0.35320.00.100.10 ??..reading..
8-051640/34/34R 0.135100.00.300.30 ??..reading..

Also, here is the top output of the top command:

top - 12:46:21 up 10 min, 1 user, load average: 1.40, 2.03, 1.06
Tasks: 1063 total, 2 running, 1060 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.9% us, 1.6% sy, 0.0% ni, 93.1% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 2073516k total, 2001984k used, 71532k free, 42384k buffers
Swap: 2048276k total, 0k used, 2048276k free, 178096k cached

Server seems to be fine, but total tasks are always between 1060 and 1124... thats very rare too..

how to avoid this attack?

View 14 Replies View Related

Linux Apache Folder Not Reading Without Trailing Slash

Jan 4, 2007

I am running apache 2.0 on CentOS 4.4 with PHP5 and mysql 5. I am wondering why the following is happening with apache:

if I goto to [url]

This does not work, it times out. But if I goto:

[url]

With the trailing slash it works. That is annoying, anyway to take care of that so it works with or without the trailing slash? Below is my httpd.conf folder and virtual host settings:

---------------------------------------------------------------------------------------------------------------

<VirtualHost *>
ServerAdmin myemail@mydomain.com

DirectoryIndex index.php index.html index.htm index.shtml

<Directory "/var/www/html/">
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC SymLinksIfOwnerMatch

AllowOverride none
</Directory>
</VirtualHost>

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

<Directory "/">
Options FollowSymLinks

AllowOverride None
</Directory>

<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/icons">
Options Indexes MultiViews

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from all

Order allow,deny
</Directory>

View 13 Replies View Related

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

Plesk 11.x / Linux :: Error Adding Remote Database Server

May 9, 2014

PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk 11.5, 11.5.30 Update #44, last updated at April 30, 2014 03:25 AM, Centos 6.5 (Final), Linux 64bit

PROBLEM DESCRIPTION
When I try to add an extra MySQL server, running on a different server, I always get an error that the user has no admin access. But the user I created does have admin access to the database.
The remote database is a MySQL 5.5 on a Linux Ubuntu 12.04 LTS server

STEPS TO REPRODUCE
Tools & Settings -> Database Servers -> Add Databases server

ACTUAL RESULT
Error: Test connection to the database server has failed because the supplied account does not possess administrative privileges: Access denied for user 'admin'@'%' to database 'd536cedf97037e'

EXPECTED RESULT
A working database connection.

ANY ADDITIONAL INFORMATION
These queries are logged by MySQL:

140509 16:54:51 28 Connectadmin@10.1.0.162 as anonymous on
28 QuerySELECT VERSION()
28 Querycreate database `BUG115166_1374110215536CEC3816DD2` /*!40101 default charset=utf8 */
28 Querycreate database `bug115166_1374110215536cec3816dd2` /*!40101 default charset=utf8 */
28 Queryinsert into mysql.user (Host, User, Password) values ('%', 'bug115166_17546', password('BUG115166_1374110215536CEC3816DD2'))
28 QueryFLUSH PRIVILEGES

[Code] .....

If I just ignore this message, go to a subscription and create a database, then the database gets created just fine. It's just Plesk that thinks that something went wrong.

View 2 Replies View Related

Apache :: Remote Wamp Server On Windows Vps

Feb 8, 2015

i installed wampserver on my remote windows VPS.i opened port 80.after that i try to connect it by typing "h t t p : / / remotelink" on my local machine browser.but i can not connect.

View 4 Replies View Related

PhpBB2 Emailer.php Line 234 Error

Jun 22, 2007

I'm running CentOS with a postfix mail server.

I haven't experienced mail problems on other CMS systems - so the basic setup should be working okay - but apparently not that well.

I get the famous emailer.php line 234 error when some users send PMs to each other... The PMs go through, but the error is annoying none the less.

Does anyone have a decent solution for this?

The phpbb community advise to make a Google search (http://www.google.com/search?q=configuring+php+mail ) or use SMTP just don't do it for me - and I don't want to leave some big hole for spammers.

View 4 Replies View Related

Apache :: Configuration Error Causing Internal Server Error

Oct 10, 2012

- Apache version : 2.2.21
- operating system : MAC OS Lion Server
- mod_ssl : 2.2.21

I have a certain area on a homepage which is protected by an .htaccess file. The code of the .htaccess file is the following:

Code:

AuthType Digest
AuthName "Password Required"
Options +Indexes
# code for HTTPS
RewriteEngine On
RewriteCond
%{SERVER_PORT} !^443$
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI}
Require valid-user

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>

[Code] ....

View 3 Replies View Related

Apache Status

Jun 15, 2008

we have an option in WHM which we can view the Apache Process, but we don't have this option in PLESK, can I view Apache Process in PLESK too or from SSH?

View 3 Replies View Related

How Enable Apache Status

Jun 10, 2009

how i can enable apache status like cPanel ! in directadmin

before im enabled

Location /httpd-status>
SetHandler server-status
</Location>
but seems its not like cPanel ( dont show IP and where file now downloaded ... and more information)

Server Version: Apache/2.2.3 (CentOS)
Server Built: May 28 2009 12:50:07

Current Time: Wednesday, 10-Jun-2009 05:59:10 EDT
Restart Time: Tuesday, 09-Jun-2009 13:39:08 EDT
Parent Server Generation: 0
Server uptime: 16 hours 20 minutes 1 second
19 requests currently being processed, 13 idle workers

Scoreboard Key:

"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process

PID Key:

4494 in state: W , 5241 in state: W , 3142 in state: _
4318 in state: _ , 4319 in state: W , 5173 in state: _
4175 in state: W , 5242 in state: W , 5174 in state: W ....

View 1 Replies View Related

ERROR 1044 (42000) At Line 15: Access Denied For User

Jul 2, 2008

My server is new from SoftLayer when i try to restore Data Base He Give Me this Massege

ERROR 1044 (42000) at line 15: Access denied for user 'mov_uu'@'localhost' to database 'mav2'

i try to restore another data base he give Also A masseges

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near

And i have Upload Center It Was Work 100% Suddenly He give me
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, 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
------------------
also
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/nameofuser/public_html/vb/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

View 2 Replies View Related

Code On Line 1 Error In My_thread_global_end(): 3 Threads Didn't Exit

Jul 15, 2007

Before i use: CubePanel and all my site run file. Scine i change to HostingController with PHP5.2.3 and mysql-essential-5.0.45 my site error:

[url]

Quote:

get_box('user_online'); $c_user_online = $tpl->get_block_from_str($html,'user_online'); $c = $tpl->auto_get_block($c_user_online); /* $c_mem = $tpl->get_block_from_str($c_user_online,'member',1); $c_mod = $tpl->get_block_from_str($c_user_online,'mod',1); $c_admin = $tpl->get_block_from_str($c_user_online,'admin',1); $c_this = $tpl->get_block_from_str($c_user_online,'this',1); */ $timeout = 60*30; $total = 0; $member = 0; $guest = 0; $current_time = NOW; $time_exit = $current_time - $timeout; $mysql->query("DELETE FROM ".$tb_prefix."online WHERE timestamp < ".$time_exit); $guests = $mysql->num_rows($mysql->query("SELECT DISTINCT sid FROM ".$tb_prefix."online WHERE sid != ''")); $member_sql = $mysql->query("SELECT user_id, user_name, user_level FROM ".$tb_prefix."user WHERE user_online = 1 AND user_timeout > ".$time_exit." ORDER BY user_timeout DESC"); $members = $mysql->num_rows($member_sql); $total = $guests + $members; while($r = $mysql->fetch_array($member_sql)){ $id = $r['user_id']; $level = $r['user_level']; $name = $r['user_name']; if ($id == $_SESSION['user_id']) $s = $c['this']; elseif ($level == 1) $s = $c['member']; elseif ($level == 2) $s = $c['mod']; elseif ($level == 3) $s = $c['admin']; $online_list .= $tpl->assign_vars($s, array( 'user.ID' => $id, 'user.NAME' => $name, 'user.URL' => '#User,'.$id, ) ); } $html = $tpl->assign_vars($html, array( 'TOTAL' => $total, 'GUESTS' => $guests, 'MEMBERS' => $members, ) ); $html = $tpl->assign_blocks_content($html, array( 'user_online' => $online_list, ) ); return $html; } ?>PHP Fatal error: Call to undefined function box_user_online() in D:WebspaceAKIT2ITonline.2it.inwwwincludesclass_template.php(86) : eval()'d code on line 1 Error in my_thread_global_end(): 3 threads didn't exit

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved