PDA

View Full Version : php path problem at server with Ispmanager Pro


bakon
08-03-2011, 10:17 AM
That problem only occur in a Ispmanager server (version ISPmanager-Pro 4.3.57.3)

We have an strange error when calling a javascript function that use "lightbox".

If we look at errorlog (/var/www/USER/data/logs/site.com.error.log) it shows something like:
[Mon Aug 01 10:54:56 2011] [error] [client 95.17.31.106] File does not exist: /usr/share/javascript/lightbox, referer: http://SITE.com/page.php

We don't call or use "/usr/share/javascript/lightbox"
This is not in the sourcecode.

It should call something like:
/var/www/USER/data/www/DOMAIN.com/javascript/lightbox

We have tested same code/web in other servers (Cpanel or another Ispmanager) and it works OK.

Any idea about that error or where to find it out?

Thank you in advance.

slava
08-03-2011, 11:03 AM
Try check if auto subdomains are not enabled. And disable it.

bakon
08-03-2011, 12:02 PM
Try check if auto subdomains are not enabled. And disable it.

Auto subdomains are disabled for that site as here:
http://forum.ispsystem.com/en/showpost.php?p=3941&postcount=2

Any other idea?

slava
08-04-2011, 05:45 AM
Are you check all files for this Alias?
grep -R lightbox /etc/httpd
and also check all includes
grep Include /etc/httpd/conf/httpd.conf
Also check for symlinks /var/www/USER/data/www/site.com and .httaccess files

bakon
08-04-2011, 03:30 PM
Are you check all files for this Alias?
grep -R lightbox /etc/httpd
and also check all includes
grep Include /etc/httpd/conf/httpd.conf
Also check for symlinks /var/www/USER/data/www/site.com and .httaccess files

It doesn't works... or we havn't found of to solve it...any other idea?
Could I submit a ticket in your ticket system?

Thank you.

bakon
08-05-2011, 01:42 PM
Any update about that topic?

Thank you.

slava
08-06-2011, 11:28 PM
You can write ticket and our administrators check this