PHP Problem

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
clydew4
Posts: 9
Joined: Wed Apr 17, 2002 10:49 am
Location: Richmond, VA

PHP Problem

Post by clydew4 »

Warning: implode() [function.implode]: Bad arguments. in C:\apache2\Apache2\htdocs\cacti\include\snmp_functions.php on line 51


I get this message. Any Ideas. I am running W2K, apache2, latest versions of PHP, mysql, rrdtool. Cacti 0.8.1
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

It sounds like there is an invalid/empty path to your XML file containing the data query. Go to "Data Queries" on the Cacti menu, and click any data query. Make sure it says "XML File Exists", or the query will not work.

-Ian
bebe

XML file

Post by bebe »

I have the same problem and my XML-file exists!?
Any other idea?
Guest

Post by Guest »

same problem here, all xml files exist.

w2k sp2
apache 1.3.26
mysql 3.23
php 4.3
Bernhard Graf

cacti on xp php problem

Post by Bernhard Graf »

Hi,

I also have the same problem. Has anybody been able to solve it yet ?
My feeling is that the variable $xml_file_path is not filled correctly.
How can I see what's in there`?

Bernhard
BChirhart
Posts: 29
Joined: Fri Jun 20, 2003 6:24 am

Post by BChirhart »

Yep - same as above -

I also can not view graphs if I click on them and when I clear polling cache, I get the error. Have any of you tried that to see if you get the same errors in those locations?
Guest

Post by Guest »

:cry:

Same problem too!

I have loaded the latest Cacti and all the prerequisits onto a new Window2000 server.

Get same error messages as above and when I try to view any graghs (including debug) get 'cannot find page' and I am then unable to web page back and windon locks. Need to start anoth session.
doc
Posts: 7
Joined: Wed Oct 01, 2003 5:00 am

Post by doc »

Hi

I had this error too but im pretty sure its a path issue within php.ini.

Once I put the path to

include_path = ".;c:\apache\apache2\htdocs"

i think this is what cleared it up.

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests