Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Load ADODb Drivers

Featured Replies

I'm getting an error saying the IfNull function is undefined in my sql statement (need to put in an empty string for nulls). The function runs from the adodb.inc.php file. My best guess right now is that for some reason the ADODB drivers are not loading. I've confirmed they are referenced in the php.ini files and that the .php extension is referenced in the httpd.conf file. I loaded all the adodb files into the PHP folder. I'm hoping this is just a simple mapping issue. I'm loading it at the top of the file as -

 

include_once('C:\CPSv3\UniServer3_2a\diskw\usr\local\Php\adodb.inc.php');

(I also tried it with the path as - 'W:\usr\local\Php\adodb.inc.php'. Both versions worked until I added the function.)

 

The sql statement pulled the data fine until I added the function. It is -

 

$sql = "SELECT PartNumber, PartDesc, IfNull(Serial, ""), PartModel FROM Parts"

$rs = $conn->Execute($sql) or die("Error in query: $query. " . $db->ErrorMsg());

 

Is there something special needed for using ADODb with UniformServer?

 

 

Thanks in advance for the help.

I have never tried it with Uniform Server but i do know that the file: W:\usr\local\Php\adodb.inc.php is not in that folder, unless you added it.

 

I will try and see, make sure it is loaded in the php.ini file and also the my.cnf file in W:\usr\local\mysql\bin

 

Hmm.. is this function a MySQL function or PHP function? Trying to figure something out.

 

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.