Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Wiki page name length

posts: 22 Switzerland

Hi Community..

I used 1.7.1.1 before and now updatet the page to 1.8.4..
some wiki-pages have a realy long name like "Menu Organisation-Organisation Sek".
Now if I wanna change them in 1.8.4 I got the error:

Warning: mysql error: Duplicate entry 'Menu Organisation-Organisation' for key 1 in query:
insert into `tiki_semaphores`(`semName`,`timestamp`,`user`) values(?,?,?)
in /srv/www/htdocs/tiki184public/lib/tikidblib.php on line 133

Fatal error: Call to a member function on a non-object in /srv/www/htdocs/tiki184public/lib/tikidblib.php on line 151


because, somehow not the whole name is saved in the Database?

okey I know! its not a good name for a page! and its long.. but it works at version 1.7.1.1 and hmm somehow its not realy good to change something like this.. isn't it?

Perhabs someone can tell me how I can make the DB able to get okey with such long names. Else.. I have to change the name of all this pages...

thanks for your help
matz

posts: 154 United Kingdom
Wiki page names should not have gaps in them so "Menu Organisation-Organisation" should be ))MenuOrganisation-OrganisationorMenuOrganisationOrganisation((
posts: 22 Switzerland

I see, I'll take repsect of that next time.. but.. actualy it works with gaps right? the problem are not the gaps in the name, its the length I think.. other pages with gaps works fine..

but thanks for your hint!


posts: 1092
The data page limits the pagename to 160 characters

posts: 1092

If fact, you have a problem in tiki_semaphores, the table taht gives the list of pages currently edited....
Perhaps you can empty this table -

posts: 22 Switzerland

Hi.. thanks for your answer once again..
I deletet the entrys of tiki_semaphores .. and it works .. once 😊
then I set the fieldlength of tiki_semaphores:semName to 160 like it is in tiki_pages:pageName, wouldn't it be good if these value are the same?

greez..