[Solved] Invalid PHP_SELF Path

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

[Solved] Invalid PHP_SELF Path

Post by French_Poul »

Hello,

I have the 0.8.7b cacti version, and I have installed the plugin architecture with http://cactiusers.org/wiki/PluginArchitectureInstall (I used the plugin architecture fited to the 0.8.7b cacti version).

But, now, it's impossible to connect me to Cacti ; when I do http://myServer/cacti/ , I have : Invalid PHP_SELF Path.

Next this, I have installed the patches :

Code: Select all

myServer:/usr/share/cacti/site# patch -p1 -N < upgrade_from_086k_fix.patch
    patching file install/index.php
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file install/index.php.rej
myServer:/usr/share/cacti/site# patch -p1 -N < snmp_auth_none_notice.patch
    patching file lib/snmp.php
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file lib/snmp.php.rej
myServer:/usr/share/cacti/site# patch -p1 -N < reset_each_patch.patch
    patching file lib/functions.php
Is it normal for the patches ?

What can I do for reaching Cacti ?

Thanks in advance for your responses.

-- Sorry for my english... --
Last edited by French_Poul on Wed Apr 14, 2010 7:51 am, edited 1 time in total.
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

I have resolved my problem...

First, I have puted in comment (/* ... */) the test which tells me "Invalid PHP_SELF Path" in global.php.

Next, I had some errors : cacti don't find the adodb library. I have download it, and put it in the directory lib of Cacti. Now, I can access to Cacti.

Another problem next : I can't see the graphs... Just RRTool searched the rra repertory at the wrong place. So I created a rra directory in the place where cacti is installed, and puted it at a symbolic link to my rra directrory. Now I have my graphs...!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest