Home
Help
Sitemap
Login
Register
Elxis.org
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Bug reports and fixes
Elxis CMS Forum
>
Support
>
Database
>
Bug (2): PostgreSQL 8
Pages: [
1
]
« previous
next »
Print
Author
Topic: Bug (2): PostgreSQL 8 (Read 3795 times)
forgetms
Newbie
Offline
Posts: 42
Bug (2): PostgreSQL 8
«
on:
October 14, 2009, 08:28:48 »
Hitting "Save" gets the following error:
ERROR: column "browserNav" of relation "menu" does not exist at character 98
STATEMENT: INSERT INTO menu ( "menutype","name","link","type","published","componentid","parent","ordering","browserNav","access","params","language" ) VALUES ( 'topmenu','Contact Us','index.php?option=com_contact&task=view&contact_id=1','contact_item_link','1','1','0','9999','0','29','menu_image=-1
menu_image_only=0
pageclass_sfx=
page_title=1
header=','chinese_taiwan' )
elxis-bug3.jpg
(31.57 KB, 964x293 - viewed 280 times.)
Logged
forgetms
Newbie
Offline
Posts: 42
Re: Bug (2): PostgreSQL 8
«
Reply #1 on:
October 20, 2009, 08:30:49 »
Removing the double quotes from column "browserNav" appears to fix the problem:
Quote
INSERT INTO menu ( "menutype","name","link","type","published","componentid","parent","ordering",browserNav,"access","params","language" ) VALUES (...)
I am unable to find the PHP code that builds this SQL :-(
PostgreSQL's manual states:
Quote
Quoting an identifier also makes it case-sensitive, whereas unquoted names are always folded to lower case. For example, the identifiers FOO, foo, and "foo" are considered the same by PostgreSQL, but "Foo" and "FOO" are different from these three and each other. (The folding of unquoted names to lower case in PostgreSQL is incompatible with the SQL standard, which says that unquoted names should be folded to upper case. Thus, foo should be equivalent to "FOO" not "foo" according to the standard. If you want to write portable applications you are advised to always quote a particular name or never quote it.)
Logged
datahell
Elxis Team
Hero Member
Offline
Posts: 7601
Re: Bug (2): PostgreSQL 8
«
Reply #2 on:
October 20, 2009, 12:27:52 »
includes/Core/elxis.php
The problem is with "browserNav".
Elxis 2009.1 has not been checked with postgreSQL. I advice you to use MySQL.
We will make Elxis again full postgreSQL compatible on version 2009.2.
Logged
Elxis Team
|
Is Open Source
|
IOS Reservations | IOS Eshop
forgetms
Newbie
Offline
Posts: 42
Re: Bug (2): PostgreSQL 8
«
Reply #3 on:
October 27, 2009, 17:16:59 »
I have fell back to 2008.1 with PostgreSQL.
I have no idea if this bug is PostgreSQL specific. Pardon me if I should stop reporting PostgreSQL related bugs all together.
I hit "Remove" button in FrontPage Manager trying to delete an item, then I got this error from PostgreSQL:
Code:
ERROR: null value in column "mask" violates not-null constraint
UPDATE content SET "title"='SEO PRO',"seotitle"='seo-pro',"introtext"='Feel the power of Elxis <strong>SEO PRO</strong>. Search engine friendly URLs where never so easy and powerful. Just enable SEO PRO, add the nessesary htaccess file to your root directory, stand back and enjoy! Elxis will do all the hard work for you.',"state"='1',"sectionid"='1',"mask"=NULL,"catid"='1',"created"='2008-07-04 20:25:19',"created_by"='62',"modified"='2008-07-04 20:25:19',"modified_by"='62',"checked_out"='0',"checked_out_time"='1979-12-19 00:00:00',"publish_up"='1979-12-19 00:00:00',"publish_down"='2060-01-01 00:00:00',"attribs"='pageclass_sfx=
textclass_sfx=
back_button=
item_title=1
link_titles=
introtext=1
section=0
section_link=0
category=0
category_link=0
rating=
author=
createdate=
modifydate=
pdf=
rtf=
print=
email=
keyref=',"version"='1',"parentid"='0',"ordering"='5',"metakey"='seo pro, search engine friendly, seo optimization, sef url',"metadesc"='Search engine friendly URLs with Elxis SEO PRO',"access"='29',"hits"='0',"language"='english' WHERE id='9'
Logged
forgetms
Newbie
Offline
Posts: 42
Re: Bug (2): PostgreSQL 8
«
Reply #4 on:
November 01, 2009, 17:14:58 »
Another bug in 2008.1. After I select
MODULES -> SITE MUDLES -> Newsflash
I get this:
Code:
ERROR: operator does not exist: integer = character varying at character 103
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
STATEMENT: SELECT c.id AS value, s.title||' / '||c.title AS text
FROM categories c
LEFT JOIN sections s ON s.id=c.section
WHERE c.published='1' AND s.scope='content'
ORDER BY c.title
The attachment shows the column data types of tables "categories" and "sections".
Regards,
CN
script.txt
(3.02 KB - downloaded 157 times.)
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> News and announcements
-----------------------------
Support
-----------------------------
=> FAQs
=> General
=> Installation
=> Security
=> Administration
=> Database
=> Language
=> Elxis 4.x DEV
=> Elxis 2008 developers guide
=> Technical support
=> Public Speaking
-----------------------------
Extensions
-----------------------------
=> Components
=> Modules
=> Bots and plugins
=> Tools
=> Bridges
=> Templates
-----------------------------
Community
-----------------------------
=> Elxis Community
=> Elxis 2008.x Olympus (dev)
=> Build with Elxis...
-----------------------------
Ελληνικό Forum
-----------------------------
=> Γενικά Θέματα για το Elxis CMS
=> Εγκατάσταση
=> Διαχείριση
=> Γλώσσες - Πολυγλωσσία
=> Πρόσθετα
=> Ασφάλεια
=> Βάσεις Δεδομένων
=> Σχετικά με το Forum
=> Δημόσιο Βήμα
-----------------------------
International zone
-----------------------------
=> Dutch
=> Deutsch
=> Français
=> Italiano
=> Indonesian
=> فارسی - Persian
=> Русский
=> Srpski - Српски
=> Türkiye
Loading...