For someone interested, after install is completed, edit
configuration.php and set
$sef = '0'
$debug = '1'
to have site correcly working and have necessary debug, useful during
sending issue report to me.
Hoping on your helps,
Eng. Gabriele Pongelli.
JDatabasePostgreSQL::query: 0 - JLIB_DATABASE_QUERY_FAILED ERROR: LOCK
TABLE can only be used in transaction blocks SQL=LOCK TABLE "yqg6v_assets"
IN ACCESS EXCLUSIVE MODE
Call stack
# Function Location
1 JAdministrator->dispatch() /administrator/index.php:47
2 JComponentHelper::renderComponent()
/administrator/includes/application.php:153
3 JComponentHelper::executeComponent()
/libraries/joomla/application/component/helper.php:357
4 require_once()
/libraries/joomla/application/component/helper.php:387
5 JController->execute()
/administrator/components/com_config/config.php:23
6 ConfigControllerApplication->save()
/libraries/joomla/application/component/controller.php:754
7 ConfigModelApplication->save()
/administrator/components/com_config/controllers/application.php:88
8 JTableNested->store()
/administrator/components/com_config/models/application.php:111
9 JTable->_lock()
/libraries/joomla/database/tablenested.php:843
10 JDatabasePostgreSQL->lockTable()
/libraries/joomla/database/table.php:1498
11 JDatabasePostgreSQL->query()
/libraries/joomla/database/database/postgresql.php:426
12 JError::raiseError()
/libraries/joomla/database/database/postgresql.php:499
13 JError::raise()
/libraries/joomla/error/error.php:251
>--
>You received this message because you are subscribed to the Google Groups
>"Joomla! CMS Development" group.
>To post to this group, send an email to joomla-...@googlegroups.com.
>To unsubscribe from this group, send email to
>joomla-dev-cm...@googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
>
Bye,
Eng. Gabriele Pongelli
Eng. Gabriele Pongelli.
JDatabasePostgreSQL::query: 0 - JLIB_DATABASE_QUERY_FAILED ERROR: null
value in column "custom_data" violates not-null constraint SQL=INSERT INTO
"yqg6v_extensions"
("params","manifest_cache","protected","access","enabled","client_id","fold
er","element","type","name") VALUES
('{}','{"legacy":false,"name":"com_podcastmanager","type":"component","crea
tionDate":"2012-01-07","author":"Michael Babker","copyright":"(C) 2011
Michael
Babker","authorEmail":"mba...@flbab.com","authorUrl":"http:\\/\\/www.babde
v.com","version":"2.0-alpha-dev","description":"COM_PODCASTMANAGER_XML_DESC
RIPTION","group":""}','0','0','1','1','','com_podcastmanager','component','
com_podcastmanager')
Call stack
#
Function
Location
1
JAdministrator->dispatch()
/administrator/index.php:47
2
JComponentHelper::renderComponent()
/administrator/includes/application.php:153
3
JComponentHelper::executeComponent()
/libraries/joomla/application/component/helper.php:357
4
require_once()
/libraries/joomla/application/component/helper.php:387
5
JController->execute()
/administrator/components/com_installer/installer.php:23
6
InstallerControllerInstall->install()
/libraries/joomla/application/component/controller.php:754
7
InstallerModelInstall->install()
/administrator/components/com_installer/controllers/install.php:31
8
JInstaller->install()
/administrator/components/com_installer/models/install.php:111
9
JInstallerPackage->install()
/libraries/joomla/installer/installer.php:472
10
JInstaller->install()
/libraries/joomla/installer/adapters/package.php:134
11
JInstallerComponent->install()
/libraries/joomla/installer/installer.php:472
12
JTable->store()
/libraries/joomla/installer/adapters/component.php:537
13
JDatabase->insertObject()
/libraries/joomla/database/table.php:602
14
JDatabasePostgreSQL->query()
/libraries/joomla/database/database.php:865
15
JError::raiseError()
/libraries/joomla/database/database/postgresql.php:500
16
JError::raise()
/libraries/joomla/error/error.php:251
The fields that generate this error are
"custom_data" , "system_data"
because they haven't default value.
I've changed table structure definition and pushed to my branch.
Thank you again ;)
Eng. Gabriele Pongelli.
Hey
If someone testing it on ubuntu he'll need PostgreSQL driver for
PHP. So, simple install it with next command (Ubuntu 11.10):
sudo apt-get install php5-pgsql
If package not found try php-pgsql.
Continue to test :-)
Ofer Cohen
Hey Gabriele,
I've try to install plugin and I've got the next error:
JDatabasePostgreSQL::query: 0 - JLIB_DATABASE_QUERY_FAILED ERROR: duplicate key value violates unique constraint "j_extensions_pkey" DETAIL: Key (extension_id)=(2) already exists. SQL=INSERT INTO "j_extensions" ("ordering","system_data","custom_data","params","manifest_cache","protected","access","enabled","client_id","folder","element","type","name") VALUES ('0','','','{"secure_key":"secure_key","secure_value":"secure_value"}','{"legacy":false,"name":"plg_system_jisecuremysite","type":"plugin","creationDate":"May 2011","author":"Ofer Cohen","copyright":"Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved.","authorEmail":"oc...@netvision.net.il","authorUrl":"http:\\/\\/oc666.net","version":"1.0.0","description":"PLG_JISECUREMYSITE_XML_DESCRIPTION","group":""}','0','1','0','0','system','jisecuremysite','plugin','plg_system_jisecuremysite')
I think it happened cause extension_id field doesn't declare as
auto_increment field, but I'm not sure about that (this is my
second use with postgresql).
thanks.
Ofer Cohen
Hey Gabriele,
Another issue when create new article I'm getting the next error:
JDatabasePostgreSQL::query: 0 - JLIB_DATABASE_QUERY_FAILED ERROR:
invalid input syntax for type timestamp: "" LINE 1:
...ge_fulltext_alt":"","image_fulltext_caption":""}','','2012-0...
^ SQL=INSERT INTO "j_content"
("language","featured","metadata","access","metadesc","metakey","version","attribs","urls","images","publish_down","publish_up","created_by_alias","created_by","created","catid","state","fulltext","introtext","alias","title")
VALUES
('*','1','{"robots":"","author":"","rights":"","xreference":""}','1','','','1','{"show_title":"","link_titles":"","show_intro":"","show_category":"","link_category":"","show_parent_category":"","link_parent_category":"","show_author":"","link_author":"","show_create_date":"","show_modify_date":"","show_publish_date":"","show_item_navigation":"","show_icons":"","show_print_icon":"","show_email_icon":"","show_vote":"","show_hits":"","show_noauth":"","alternative_readmore":"","article_layout":"","show_publishing_options":"","show_article_options":"","show_urls_images_backend":"","show_urls_images_frontend":""}','{"urla":"","urlatext":"","targeta":"","urlb":"","urlbtext":"","targetb":"","urlc":"","urlctext":"","targetc":""}','{"image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}','','2012-01-09
20:52:36','','42','2012-01-09 20:52:36','14','1','','
Steps to reproduce: Fresh install Joomla!PSQL branch including
sample data. Then, I've just created new article with title and
simple text.
Thanks
Ofer Cohen
Hey Gabriele
On the same installation, when I'm visiting some of the categories, I'm getting the next error: Category not found
DB error log: http://uploads.oc666.net/psql.db.log (long, so I've uploaded this)
Maybe we need tracker for this?
Thanks
Ofer Cohen
Tomorrow I'll look at all these errors, thank you.
Meanwhile if you find other errors write them to me.
Eng. Gabriele Pongelli
Hey Gabriele,
The link was broken. Here is fix one: http://uploads.oc666.net/jpsql.db.log
Tell me when you fix it, I'll continue the testing.
Thanks
Ofer Cohen
Somebody knows about "xreference" field of JTableContent? Who fills it?
Last open issue is about categories, more debug on this?
Thank you,
Eng. Gabriele Pongelli.
About "xreference", I've added a default value, so it's not a problem.
With $sef = 0 it works correctly, this is the call stack when clicking
on "Using Joomla!" link on homepage
ContentModelArticle::getItem
JView::get('Item') line 482
ContentViewArticle::display line 36
___
With $sef = 1 it doesn't work, this is the call stack when clicking on
"Using Joomla!" link on homepage
ContentModelCategory::getCategory
ContentModelCategory::getItems line 212
JView::get('Items') line 482
ContentViewCategory::display line 43
As you can see it's not called the same view class, I don't know why,
the flow is that
ContentModelCategory::getCategory
will set
$this->_parent = false
on line 329 and this value is compared with "false" in
ContentViewCategory::display on line 46, so they are same and it will
return 404 error.
Now I don't know about how can fix this error, please help me
suggesting possible solution.
Thank you,
Eng Gabriele Pongelli.
I'm trying to understand why same link will redirect to two different views.
Again, I don't know about how can fix this error, please help me
I'm going on this debug session.
Eng. Gabriele Pongelli
Hey Gabriele
I've debugged the router.php of com_content (front-end).
In psql is going into ContentParseRoute method, but in mysql is
going into ContentBuildRoute.
Don't know why :-/
Continue to test...
Ofer Cohen
Please continue trying to use it searching other bugs, thank you!
Eng. Gabriele Pongelli.
Eng. Gabriele Pongelli.
I've installed 3.6 version and receive a fatal error.
Hey Gabriele,
I've retest the sef issue and it really fixed. I've even tested unicode url and it's just fine.
I can create articles and this bug also fixed.
In addition, my plugin "JISecure My Site" can be installed on
PostgreSQL, so the installation bug also squeezed.
Amazing job!! Thanks Gabriele for bringing us the PostgreSQL Driver for Joomla!
J-O-O-M-L-A R-O-C-K-S !-!-! :-)
Ofer Cohen Joomlalics Anonymous Group
OT
I'll watch your plugin, seems interesting ;)
-Chad
Regards,
Chad Windnagle
s-go Consulting, LLC
http://www.s-go.net
Office: 607-330-2574 x 103
Mobile: 607-229-6260
I will be happier if PostgreSQL will be merged now and not with 3.0 release, but I can't decide about what has to be merged and what has to be rejected inside cms.
Hey Gabriele,
Another test I've done - smart search.
I've enabled the plugin - OK
Then I've click in the component (Smart Search) on Index button -
Failed.
I've get the next error: An Error Has Occurred
Unknown column 'ta.term' in 'group statement' SQL=INSERT INTO
`j_finder_terms` (`term`, `stem`, `common`, `phrase`, `weight`,
`soundex`) SELECT tag.term, tag.stem, tag.common, tag.phrase,
tag.term_weight, SOUNDEX(tag.term) FROM
`j_finder_tokens_aggregate` AS `tag`,`j_finder_terms` AS `terms`
WHERE tag.term_id = 0 AND terms.term=tag.term AND
terms.stem=tag.stem AND terms.common=tag.common AND
terms.phrase=tag.phrase AND terms.weight=tag.term_weight AND
terms.soundex=SOUNDEX(tag.term) GROUP BY ta.term
Best Regards,
Ofer Cohen Joomlics Anonymous Group
Maybe we should make it special requirement for PostgreSQL?
Ofer Cohen
On 20/01/2012 3:50 PM, 84.le0n wrote:
> Michael is right, PostgreSQL doesn't have soundex function in a default install, only in a contrib package.
> Best solution is use php function, if it gives same result of mysql's one... I can do some tests but I don't have a big dictionary to do these tests.
> Another solution is not use soundex, but I don't know what function can be used to replace it .
>
> Eng. Gabriele Pongelli
>
> AVVERTENZE AI SENSI DEL D.LGS. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e negli eventuali files allegati, sono da considerarsi strettamente riservati. Il loro utilizzo � consentito esclusivamente al destinatario del messaggio, per le finalit� indicate nel messaggio stesso. Qualora riceveste per errore questo messaggio, Vi preghiamo cortesemente di darcene notizia all'indirizzo e-mail di cui sopra e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema; costituisce comportamento contrario ai principi dettati dal D.lgs. 196/2003 il trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalit� diverse.
> This electronic transmission is strictly confidential and intended solely for the addresses. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify us and delete the received data as soon as possible.
>
--
Sincerely,
Brad Gies
----------------------------------------------
bgies.com maxhomevalue.com
idailythought.com greenfarminvest.com
----------------------------------------------
From MySQL documentation (soundex function):
"This function, as currently implemented, is intended to work well with strings that are in the English language only. Strings in other languages may not produce reliable results."
http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_soundex
Few comments about soundex & postgresql:
And that was my 3 cents :-)
Ofer Cohen
Double metaphone works much better than Soundex (at least for English) ... and there are implementations for php, and many databases also. I know it works well for most latin-derived languages (English, Spanish, French, German), but I don't know about other languages.
On 20/01/2012 3:50 PM, 84.le0n wrote:
Michael is right, PostgreSQL doesn't have soundex function in a default install, only in a contrib package.
Best solution is use php function, if it gives same result of mysql's one... I can do some tests but I don't have a big dictionary to do these tests.
Another solution is not use soundex, but I don't know what function can be used to replace it .
Eng. Gabriele Pongelli
AVVERTENZE AI SENSI DEL D.LGS. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e negli eventuali files allegati, sono da considerarsi strettamente riservati. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceveste per errore questo messaggio, Vi preghiamo cortesemente di darcene notizia all'indirizzo e-mail di cui sopra e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema; costituisce comportamento contrario ai principi dettati dal D.lgs. 196/2003 il trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
About soundex: some time ago someone sent this link in a discussion
inside this list or in platform one.
http://www.postgresonline.com/journal/archives/158-Where-is-soundex-and-other-warm-and-fuzzy-string-things.html
I've read this and investigating about enabling soundex or other
functions (I think double metaphone works better than soundex,
expecially for language other than english, but it's not installed by
default in other databases), seems that in postgresql I've to run code
inside sql file as superuser.
It's better check if PHP's soundex works as MySQL's one, to let use
this instead of database specific code.
Eng. Gabriele Pongelli.
Thank you,
Eng. Gabriele Pongelli.
I've start testing it and, after enabled smart search plugins, doing "index" I get "undefined null null" in a modal window.
Can anyone help me debugging that?
Thank you,
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
>To post to this group, send an email to joomla-dev-cms@googlegroups.com.
>To unsubscribe from this group, send email to
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/t5XYvAsL3QYJ.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.