Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Use of undefined constant UUID_FMT_BIN - assumed 'UUID_FMT_BIN' in /Applications/MAMP/htdocs/app/mjpearson-Pandra-d709595/lib/ColumnContainer.class.php on line 438 #39

Closed
paixaop opened this Issue · 2 comments

2 participants

@paixaop

Odds are I am doing something wrong but when using:

$keyspace = 'test';
$column_family = 'db';
$var = 'app';

$cf = new PandraColumnFamily();
$cf->setKeySpace($keyspace);
$cf->setName($column_family);
$cf->setType(PandraColumnContainer::TYPE_STRING);
$cf->addColumn($var, 'string');

With Cassandra ColumnFamily definition of:

<ColumnFamily Name="db" CompareWith="UTF8Type" />

I get the following PHP Notice error:

Notice: Use of undefined constant UUID_FMT_BIN - assumed 'UUID_FMT_BIN' in /Applications/MAMP/htdocs/app/mjpearson-Pandra-d709595/lib/ColumnContainer.class.php on line 438

@mjpearson
Owner

Hi, that error would appear if you're missing the OOSP UUID module. It might be easier to checkout the latest version of Pandra from the repository rather than mess around installing the module. The default UUID has been swapped with a php native implementation which should run out of the box.

@paixaop

Worked. Thanks for the fast response!!!!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.