full description doesn't display at all

annettt

No avatar

2008-05-22 21:26

Dear Mr or Mrs, please help me.
When I fill in the field "full description" in the admin page, and then click at it at the site - it looks like the page is unavailable - shows error 404.
For clearer example please see here:
http://ridnamoda.com.ua/start/?Аhоhсi,19
The main text of this page is given in "short description" field - (because if to put any(!!) text in "full description" filed - it becomes unavailable) - so it appears so-so correctly.
The first subpage is with filled "short description" and "full description" fields.
"Short" appears as it must be. But if to click at it - we receive such link:
http://ridnamoda.com.ua/start/<p>&nbsp;&#1057;&#8218;&#1056;&micro;&#1056;&#1108;&am p;#1057;&#1027;&#1057;&#8218;</p>
and message of error 404.
I've looked through file en_pages_ext.php - all the text that i've put here is stored in the file. But for some reasons it can't be shown at the site.
Could you please help me with this?
I've checked all right accesses, read all the forum and docs - but haven't found anyone with such a problem. PHPver is 4.4.8
(Other three subpages have just "short descriptions" filled in, so these descriptions appear when clicking at the subpages.)

» Quick.Cms v2.x

Anna

annettt

No avatar

2008-05-22 21:28

The links have broken in my post.
The first is - the first link from vertical menu - http://ridnamoda.com.ua/start/?&#1040;h&#1086;h&#1089;i,19
and the second is - the first subpage on the page that will appear after clicking the first one
http://ridnamoda.com.ua/start/<p>&nbsp;&#1057;&#8218;&#1056;&micro;&#1056;&#1108;& #1057;&#1027;&#1057;&#8218;</p>

Anna

treewood (OpenSolution)

Avatar: treewood

2008-05-23 08:40

beholder - problem is with your language. Please edit core/pages.php function generateCache() and change:

$this->aPages[$aExp[0]]['sLinkName'] = '?'.change2Url$this->aPages[$aExp[0]]['sName'] ).','.$aExp[0];

to

$this->aPages[$aExp[0]]['sLinkName'] = '?,'.$aExp[0];

From now Your links will not display page names

annettt

No avatar

2008-05-23 10:57

I got it!
Treewood, thanks for advice - I used it. Though it didn't make any effect on my problem - I anyway like the result of it and will use it.
I defined where my problem was! :)
I've used the 1st advice from here: http://opensolution.org/Quick.Cms/forum/?p=readTopic&nr=3

Correct solution (for my site) was:

<?php insert here PHP code ?>
if( ereg( 'link', $aData['sDescriptionShort'] ) ){
header( 'Location: '.trim( $aData['sDescriptionFull'] ) );
}



I can't work out why all other codes lead to such a mistake, because it seems they should work correctly, too...

Back to top
about us | contact