201
aerograf
Re: Problems with Lexicon
  • 2017/2/6 17:51

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Thank you. I will watch.
There are full of files that are not in UTF8. So far not found ...
Additionally. I have not found how to search for the letters in the national layout ....



202
aerograf
Re: Problems with Lexicon
  • 2017/2/6 17:24

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Quote:

Mamba wrote:
Please test Lexikon 1.52 Beta 2

https://github.com/mambax7/lexikon/releases

First, it is necessary to replace category.php line:
// verify ID
    
if ($ xoopsDB-> getRowsNum ($ catdata) <= 0) {
        
redirect_header 'javascript: history.go (-1)'2_MD_LEXIKON_UNKNOWNERROR);
    }

on
// verify ID
    
if ($ xoopsDB-> getRowsNum ($ catdata) <= 0) {
        
redirect_header (XOOPS_URL '/ modules / lexikon / index.php'2_MD_LEXIKON_UNKNOWNERROR.);
    }

otherwise proper operation category.php? categoryID = true unless specified.

The rest look. Thank you!



203
aerograf
Re: Problems with Lexicon
  • 2017/2/6 13:51

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Quote:

Bleekk wrote:
@aerograf

maybe it helps if you redirect to the index page if a user calls a non-existent page

go to entry.php line 81
change this
// verify result
    
if ($xoopsDB->getRowsNum($result) <= 0) {
        
redirect_header('javascript:history.go(-1)'2_MD_LEXIKON_UNKNOWNERROR);
        exit();
    }


to
// verify result
    
if ($xoopsDB->getRowsNum($result) <= 0) {
        
redirect_header(XOOPS_URL.'/modules/lexikon/index.php'2_MD_LEXIKON_UNKNOWNERROR);
        exit();
    }

Thank you!!! Less errors from robots will.
The same should be done in category.php line 117, reduced to the form:
// verify ID
    
if ($xoopsDB->getRowsNum($catdata) <= 0) {
        
redirect_header(XOOPS_URL.'/modules/lexikon/index.php'2_MD_LEXIKON_UNKNOWNERROR);
        exit();
    }

But why do we need /include/notification.inc.php? Like he should do a redirect? Or am I wrong?



204
aerograf
Re: Problems with Lexicon
  • 2017/2/6 10:43

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Two emerging field image parameters point to boot.
I have a question too, spit on the latest version of the module.
If you go to a non-existent page writes violation of network protocol. Previously redirected to "no element" or something like that.
Example:
Ok:http://www.shmel.org/lexikon/entry.php?entryID=90
Error:http://www.shmel.org/lexikon/entry.php?entryID=300
I understand that the Contact this /entry.php?entryID= but where to look?
Prompt, where it is possible to correct?
XOOPS 2.5.8.1
Lexikon 1.52 Beta 1



205
aerograf
Loginza or uLogin
  • 2017/1/12 15:39

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Hello.
Prompt, somebody tried to connect Loginza.ru or uLogin.ru?
If so, tell me how to do ...
Thank you in advance,




TopTop
« 1 ... 18 19 20 (21)



Login

Who's Online

230 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits