1
Anthr4x
Problem with xnews 1.71 redirect
  • 2011/9/21 16:43

  • Anthr4x

  • Just popping in

  • Posts: 15

  • Since: 2011/1/27


Hello every1,

I've got a problem with xnews 1.71 module. Whenever I submit news (in admin menu or in index) I am always redirected to weird page of my website, it seems like it is an old (not modified) theme.html file.

How can I make it to redirect to normal index page of my website?

Thanks in advance

2
Anonymous
Re: Problem with xnews 1.71 redirect
  • 2011/9/21 19:04

  • Anonymous

  • Posts: 0

  • Since:


Hi Anthr4x,

Have you updated the module?
Have you cleared the cache?
Have you cleared the smarty_cache?
Have you cleared the smarty_compile?
Have you cleared the xoops_cache?
You can do the last 4 via the Control Panel>Modules>System> maintenance.

Grtz René(tjuh)


3
Anthr4x
Re: Problem with xnews 1.71 redirect
  • 2011/9/22 18:46

  • Anthr4x

  • Just popping in

  • Posts: 15

  • Since: 2011/1/27


Yes, I did this, but nothing changed... After submitting news, it redirects to some different template, rather than normal index page.

BTW, thanks for the try

4
Anthr4x
Re: Problem with xnews 1.71 redirect
  • 2011/9/23 12:25

  • Anthr4x

  • Just popping in

  • Posts: 15

  • Since: 2011/1/27


I've noticed that the same happens when I try to rate the news...
And after posting a comment...

5
mboyden
Re: Problem with xnews 1.71 redirect
  • 2011/9/23 17:52

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


Which version of XOOPS?

What are the page URLs where the template displays incorrectly? Are they the same or different for each of the scenarios?

What theme are you using? Did you modify it? Are there custom templates in the theme (is there a modules directory in the theme)?

Are you getting the redirect page in between? Does it look right?
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

6
Anthr4x
Re: Problem with xnews 1.71 redirect
  • 2011/9/24 21:23

  • Anthr4x

  • Just popping in

  • Posts: 15

  • Since: 2011/1/27


Xoops version 2.5.1a, but the same thing was on 2.5.0

The page url is mywebsitename/modules/xnews/submit.php or mywebsitename/modules/xnews/comment_post.php etc.

I am using blue_shine theme, and yes, I modified it, but only the names of links and nothing more, the structure remains the same.

Yes, there is a modules directory in the theme, and this folder contains 2 other folders: system and news

I don't get the redirect page in between, it instantly sends me to a bad theme (same theme, but with almost empty page - there are no blocks and etc. only headers of main links, but those are also incorrect (like a standard theme)...I hope you understood what I said..

7
Anthr4x
Re: Problem with xnews 1.71 redirect
  • 2011/9/24 21:27

  • Anthr4x

  • Just popping in

  • Posts: 15

  • Since: 2011/1/27


Ok, I think I know where is the problem.

I have changed system_redirect.htm file in theme/modules/system to my standard theme.htm with system_redirect.html name.

Now it redirects me to a changed theme (I mean those headers, like news, downloads and so on) but there is no menu and none of the blocks are displayed...

8
timgno
Re: Problem with xnews 1.71 redirect
  • 2011/10/27 18:17

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Another old problem:
Quote:
Error : Smarty error: [in db:nw_news_block_top.html line 915]: syntax error: unidentified token '#039;counter'' (Smarty_Compiler.class.php, line 1410)

9
timgno
Re: Problem with xnews 1.71 redirect
  • 2011/10/27 19:38

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


To run site without smarty errors, I have to delete the file from the modules directory in the theme.

Login

Who's Online

411 user(s) are online (285 user(s) are browsing Support Forums)


Members: 0


Guests: 411


more...

Donat-O-Meter

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

Latest GitHub Commits