Hello -
So I'm working on a module for .8, and I noticed in my Admin->Security->System Info that the "red light" is on for the adodb extension. However, when I do an info.php on my system, it shows that it's on and working.
My question is this: Is there something I should know about why this is showing it's not working? Will adodb calls work correctly?
I know .8 isn't for production release, but I'm not sure yet why that security check is showing adodb isn't working.
Thanks -
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Module development .8 adodb question
-
- Rank: Registered User
- Registered: Sep 05, 2002
- Last visit: Apr 13, 2007
- Posts: 45
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
This refers to an additional PHP extension that speeds up adodb calls not the adodb library itself. On most systems this is expected as you specifically have to downlaod and install this PHP extension.
Assuming you know all of this it's odd. The code makes a PHP extension_loaded check to see if the extension is loaded (using the extension name 'adodb'). Could you write a very simple script to call get_loaded_extensions and see what's listed?
Thanks.
-Mark
--
Visit My homepage and Zikula themes. -
- Rank: Registered User
- Registered: Sep 05, 2002
- Last visit: Apr 13, 2007
- Posts: 45
Mark -
Thanks. I knew it was an extension, and I attempted to install it, which as far as I know completed successfully.
My extensions script returned a LOT of info, and the adodb line looked like this:
Code
ADOdb (adodb_movenext, adodb_getall)
I'm still not sure if this means the correct adodb extension is installed or not.
I can provide the link to my extensions script if needed.
Thanks!
----
my extensions script:
Code
<?php
$extensions = get_loaded_extensions();
foreach($extensions as $extension) {
echo $extension;
echo ' (', implode(', ', get_extension_funcs($extension)), ')<BR />';
}
?>
-
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
php.net
Note: extension_loaded() uses the internal extension name to test whether a certain extension is available or not. Most internal extension names are written in lower case but there may be extension available which also use uppercase letters. Be warned that this function compares case sensitive !
Perhaps we need to check for ADOdb rather than adodb?
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide
- Moderated by:
- Support
