Jump to content

PHP not working form remote office


Recommended Posts

Are you running php as cgi with php only enabled within a certain directory? Is this directory allowed to be accessed by ip addresses outside your lan?

 

Your problem does not seem logically possible, but that is the obly thing I can think of. Even then, I'm sure you are assigned a local (lan ip) when accessing through vpn.

Errors in /var/log/apache2/error.log

 

[Wed Jan 06 11:13:52 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  id in /var/www/index.php on line 7

[Wed Jan 06 11:13:52 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  id4 in /var/www/zenith/include/show-telephone-list.php on line 4

[Wed Jan 06 11:13:52 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  sort in /var/www/zenith/include/show-telephone-list.php on line 6

[Wed Jan 06 11:13:52 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  page in /var/www/zenith/include/show-news.php on line 29

[Wed Jan 06 11:16:01 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  id in /var/www/index.php on line 7

[Wed Jan 06 11:16:01 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  id4 in /var/www/zenith/include/show-telephone-list.php on line 4

[Wed Jan 06 11:16:01 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  sort in /var/www/zenith/include/show-telephone-list.php on line 6

[Wed Jan 06 11:16:01 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  page in /var/www/zenith/include/show-news.php on line 29

 

 

No errors in /var/log/syslog

 

(Error from remote office on IE)

 

The following error was encountered:

 

Read Timeout

The system returned:

 

[No Error]

 

 

 

These are the only error messages im seeing and it is only when connecting from remote site

 

server range 172.26.0.0

remote site 172.24.0..0

 

root@intranet:/var/log/apache2$ cat error.log

 

[Wed Jan 06 11:40:24 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  id in /var/www/index.php on line 7

[Wed Jan 06 11:40:24 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  id4 in /var/www/zenith/include/show-telephone-list.php on line 4

[Wed Jan 06 11:40:24 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  sort in /var/www/zenith/include/show-telephone-list.php on line 6

[Wed Jan 06 11:40:24 2010] [error] [client 172.24.0.18] PHP Notice:  Undefined index:  page in /var/www/zenith/include/show-news.php on line 29

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.