ipplan fails with no such file or directory PHPLIB.php

Bug #267347 reported by Deep6
6
Affects Status Importance Assigned to Milestone
ipplan (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ipplan

IPPlan fails with the following error:

PHP 5.2.4-2ubuntu5.3 (Linux)
Unknown error type: [2] require_once(/usr/share/ipplan/menus/lib/PHPLIB.php) [function.require-once]: failed to open stream: No such file or directory Line: 540 File: /usr/share/ipplan/ipplanlib.php

Fatal error: require_once() [function.require]: Failed opening required '/usr/share/ipplan/menus/lib/PHPLIB.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/ipplan/ipplanlib.php on line 540

It appears as though the entire menus/ folder is absent in the 4.86 release,

Description: Ubuntu 8.04.1
Release: 8.04
Package: ipplan_4.86a-2_all.deb

Revision history for this message
Jan Wagner (waja) wrote :

$ ls -la /usr/share/ipplan/|grep menus
lrwxrwxrwx 1 root root 27 2008-10-04 15:32 menus -> ../php/libphp-phplayersmenu
$ ls -la /usr/share/ipplan/../php/libphp-phplayersmenu
total 56
drwxr-xr-x 7 root root 4096 2008-10-04 15:32 .
drwxr-xr-x 5 root root 4096 2008-10-04 15:32 ..
-rw-r--r-- 1 root root 1714 2004-08-14 16:40 layersmenu-galaxy.css
-rw-r--r-- 1 root root 1674 2004-08-14 16:39 layersmenu-gtk2.css
-rw-r--r-- 1 root root 1864 2004-08-15 18:37 layersmenu-index.css
-rw-r--r-- 1 root root 1674 2004-08-14 16:39 layersmenu-keramik.css
-rw-r--r-- 1 root root 1353 2004-08-14 16:42 layersmenu-old.css
-rw-r--r-- 1 root root 1947 2004-08-14 16:42 layerstreemenu.css
-rw-r--r-- 1 root root 53 2003-09-19 15:08 layerstreemenu-hidden.css
drwxr-xr-x 2 root root 4096 2008-10-04 15:32 lib
drwxr-xr-x 2 root root 4096 2008-10-04 15:32 libjs
drwxr-xr-x 2 root root 4096 2008-10-04 15:32 menuicons
drwxr-xr-x 2 root root 4096 2008-10-04 15:32 menuimages
drwxr-xr-x 2 root root 4096 2008-10-04 15:32 templates
$ ls -la /usr/share/ipplan/../php/libphp-phplayersmenu/lib/PHPLIB.php
-rw-r--r-- 1 root root 15278 2003-09-13 10:44 /usr/share/ipplan/../php/libphp-phplayersmenu/lib/PHPLIB.php
$ dpkg -l | grep ipplan
ii ipplan 4.86a-2 web based IP address management software and

looks like you messed anything on your system

Changed in ipplan:
status: New → Invalid
Revision history for this message
kelargo (kelong-2000) wrote :

I get this same bug.

There is no link to the directory ipplan in /var/www for /usr/share/ipplan
and the module is not activated in apache.

/var/www# ls -laF
total 12
drwxr-xr-x 2 root root 4096 2008-09-25 21:08 ./
drwxr-xr-x 15 root root 4096 2008-09-25 21:08 ../
-rw-r--r-- 1 root root 4052 2008-09-25 21:08 index.html

Revision history for this message
kelargo (kelong-2000) wrote :

this let me move forward and get to the install screen ..

/var/www# ln -s /usr/share/ipplan ipplan

I am not sure if this is the "best" solution...
not sure how apache modules are properly added .. ?

Revision history for this message
Jan Wagner (waja) wrote :

Just one question ... did you have a look into the documentation in /usr/share/doc/ipplan/, especially into /usr/share/doc/ipplan/README.Debian?

You can read there:

The default ipplan alias in /etc/ipplan/apache.conf has been disabled to
prevent the alias from affecting every virtual host. Feel free to re-enable
the alias if necessary.

Revision history for this message
Jan Wagner (waja) wrote :

Deep6: To get the menus/ folder appearing, you need to remove the comment before "Alias /ipplan/menus /usr/share/php/libphp-phplayersmenu" in /etc/ipplan/apache.conf.

You have to ways to come to your situation:

* Installing ipplan out of the box, so you should have read /usr/share/doc/ipplan/README.Debian and even /etc/ipplan/apache.conf. If you have done that carefully, you probably will have a look into /etc/ipplan/apache.conf and sort out, what you wan't todo with it.

* Upgrading ipplan from former version should ask you about the changes to /etc/ipplan/apache.conf and you should have seen that there was added an alias for /ipplan/menus, which is commented out by default.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.