Back Reply to topic
Guest 
 
 
 
 
PHP Startup .. Cannot find module (IP-MIB) Posted: Post 06:56 Mon - Jun 30, 2008

But it looks like I'm stuck at step 0. zunge zeigen
I get a PHP error when i try to launch the bot. I have installed PHP from the link provided, with everything possible selected during the installation. Can anyone identify what iwe done wrong? I'm using Vista 64, if that matters. But I'm getting the same exact error on my laptop (Win XP).

Here is a report from the dos window:
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_oci8.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oci.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oci8.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_pgsql.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_sqlite_external.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pgsql.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pspell.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_sybase_ct.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ibm_db2.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ifx.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ingres2.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_maxdb.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mcve.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_netools.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_oracle.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_ibm.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_informix.dll' - Det angivne modul blev ikke fundet. in Unknown on line 0
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
PHP Notice:  Constant XML_ELEMENT_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_TEXT_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_CDATA_SECTION_NODE already defined in Unknown on line0
PHP Notice:  Constant XML_ENTITY_REF_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_ENTITY_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_PI_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_COMMENT_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_DOCUMENT_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_DOCUMENT_TYPE_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_DOCUMENT_FRAG_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_NOTATION_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_DTD_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_DECL_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_ENTITY_DECL_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_NAMESPACE_DECL_NODE already defined in Unknown on line 0
PHP Notice:  Constant XML_LOCAL_NAMESPACE already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_CDATA already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_ID already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_IDREF already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_IDREFS already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_ENTITY already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_NMTOKEN already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_NMTOKENS already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_ENUMERATION already defined in Unknown on line 0
PHP Notice:  Constant XML_ATTRIBUTE_NOTATION already defined in Unknown on line 0
PHP Warning:  require_once(SAM/php_sam.php): failed to open stream: No such file or directory in sam_factory on line 1
PHP Fatal error:  require_once(): Failed opening required 'SAM/php_sam.php' (include_path='.;C:\php5\pear') in sam_factory on line 1
Could not startup.
Restarting bot (no delay ..)


Thanks in advance

Regards
Gjeep

/moved, /merged, Chaly

Still getting a screen load full of :
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library
Cannot find module (IP-MIB): At line 0 in (none)


I can make the notices to go away, by editing the php.ini. But i can't launch the bot. Any help would be appreciated, else i guess the bot is just not for me.

Regards
Gjeep
Reply with quote


Chaly 
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 06:24 Tue - Jul 01, 2008

Anonymous wrote:
Still getting a screen load full of :
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library
Cannot find module (IP-MIB): At line 0 in (none)


I can make the notices to go away, by editing the php.ini. But i can't launch the bot. Any help would be appreciated, else i guess the bot is just not for me.

Regards
Gjeep

not a smart solution, but maybe the fastest (if you're running windows) :
1) deinstall php,
2) go to your php-installation dir and backup/move all files that weren't removed, particularly the php.ini
3) download it here: http://www.php.net/get/php-5.2.6-win32-installer.msi/from/a/mirror
4) reinstall it, enable the extensions "bcmath" and "sockets"
5) navigate to your php installpath again and
6) rename the php.ini-recommend to php
you may want to change the error reporting of php (FAQ 5a) but i would suggest you first try to start the bot again. if the error is still left search your bot-directory and windows-directory for any additional php.ini files
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Guest 
 
Topics: 404
 
 
 
Posted: Post 07:04 Tue - Jul 01, 2008

Having the same problems as Gjeep and have followed your suggestions/solutions to no avail.

Seems to be a problem with the PHP installer not correctly executing a script at the end of installation.

Your instructions state to enable/install the bcmath extentions however using the win installer it does not give a bcmath extension option and even installing all extensions on the hard drive does not solve the problem.

Using the win installer also does not give a php.ini-recommend file in the PHP directory.

Any comments would be helpful

Thanks

Steve
Reply with quote


Chaly 
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 06:59 Wed - Jul 02, 2008

ok, i've googled some minute: it seems that it IS a php.ini problem
all windows users with a bunch of "Cannot find module" error enabled php_snmp.dll
taking a look at the first post, there are at least a dozen php-extensions enabled. the bot needs two (bcmath is currently included in the windows release).

> find and copy your php_sockets.dll
it is located in your php-installation directory
(c:/php/ext/php_sockets.dll, c:/program files/php/ext/php_sockets.dll)

> if you cannot find the dll
please reinstall php and make sure you checked the sockets-extension
> copy php_sockets.dll to your ragebot directory

> edit runwin32.cmd
in your ragebot directory open the "runwin32.cmd" and edit line 3. here's the complete new file:
Code:
@echo off
:start
    php -c ./php.ini bot.php
    echo Restarting bot (no delay ..)
    pause
goto start

> if it works
you may want to remove "pause". otherwise the bot will wait for you on a bot-restart
in this guide we told php to use the php.ini file included in the release. the ini only sets ram-usage and safe-mode. no extension is included and no paths are modified. if this guide works for you, you may want to search your hdd (php-installation, windows-directory) for php.ini files and edit or rename them
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Guest 
 
Topics: 404
 
 
 
Posted: Post 08:50 Wed - Jul 02, 2008

I got it working last night.

During the installation I had to install the following:
(Choose "Entire feature will be installed on local hard drive")

1) PHP->Program
2) PHP->Exstensions->Sockets

After installation:

3) Open Php.Ini, in you're php installation dir. I had to use notepad++, normal notepad wouldn't save the file for me.
4) Find the line "error_reporting = E_ALL" line 353 for me. change it to "error_reporting = E_ALL & ~E_NOTICE"
5) After that just save the file, edit the bot config and run the bot.


I'm not at home right now, and cant test it again . But im sure I noticed a difference in spacing while editing the php.ini using notepad and notepad++ on vista.

Regards
Gjeep
Reply with quote


Chaly 
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 03:13 Wed - Jul 02, 2008

notepad++ is my favorite zwinkern Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Back Reply to topic