when using the $modx->getFullTableName() function its giving the wrong output with my current install...
modx is using the DB mme_ with a prefix mme_ but when i use that function and or for example jot using it to get the jot table it giving this value `mme_`.modx_content where is should be `mme_content`...
HOW? can i fix this ASAP.??
-
MODX Staff
- 10,725 Posts
What is the value of $table_prefix in your config.inc.php?
-
☆ A M B ☆
- 1,056 Posts
[ Queues creepy, suspicious sounding music... ]
I’m not familiar enough with Jot to give you a definite answer, but this appears to be a glitch in that snippet (not 0.9.5). So I would try posting your question in the Jot forum for a quicker reply. It seems to me that the SQL query should be:
UPDATE mme_modx_jot_content SET...
and it’s being created as
UPDATE `mme_`.modx_jot_content SET...
which just looks like a minor typing error in the script.
Someone more familiar with Jot can surely point you to where to correct this if that is indeed the problem.
EDIT: See OpenGeek’s post below...
-
☆ A M B ☆
- 1,056 Posts
Quote from: pixelchutes at Dec 12, 2006, 11:42 AM
[ Queues creepy, suspicious sounding music... ]
[ Stops the music. ]
I have the same problem, downloaded the new 1.0.1 from the repository and all is ok.