11
loom001
Re: News Module (Selected module does not exist!)
  • 2004/1/6 2:15

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


yep I reuploaded all the files and verified they were all there.

12
CBlue
Re: News Module (Selected module does not exist!)

And the correct size? Can you get the news to submit by using the submit link for news in your main menu?

13
loom001
Re: News Module (Selected module does not exist!)
  • 2004/1/6 13:13

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


I believe the size is correct it is the same size as the one that I had working that just mysteriously stop. I can not submit news from the Main Menu nor the Admin Menu.

14
DonXoop
Re: News Module (Selected module does not exist!)

Are you using custom templates? (Generate the templates if you are).

Can you turn off the ionCube PHP Accelerator in PHP to be sure that isn't causing a problem? (I have an alternative if that is the problem).

Do other Submit actions work? Like Comments to articles, photos, etc..

15
loom001
Re: News Module (Selected module does not exist!)
  • 2004/1/6 18:34

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


I am not using custom templates.

I don't have control over the server so I can not turn off ionCube.

yes I can submit downloads and weblinks.

16
CBlue
Re: News Module (Selected module does not exist!)

Okay, just something to try until someone else can figure out this problem. Try reuploading a fresh copy of the header.php in your XOOPS root folder. Not overwriting. I would think though that if the error is in the header.php, it would show on other pages but I am suggesting you do this because the error you showed above concerns this file and you've already reuploaded the entire news module.

17
loom001
Re: News Module (Selected module does not exist!)
  • 2004/1/7 0:12

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


Ok I did this and now I have a error in header.php on line 132.

$bcachetime = $block_arr[$i]->getVar('bcachetime');

18
CBlue
Re: News Module (Selected module does not exist!)

Did you check to see if the file uploaded correctly? The same size as the original?

19
loom001
Re: News Module (Selected module does not exist!)
  • 2004/1/7 2:39

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


The size of the new one is larger 12391 then the old is 12354

20
manuel
Re: News Module (Selected module does not exist!)
  • 2004/2/25 20:43

  • manuel

  • Just popping in

  • Posts: 3

  • Since: 2004/2/25


I've just been in the same problem because of site configuration.

The problems lies in some modules that incorrectly (IMHO) uses PHP_SELF, and shoud use REQUEST_URI, both http vars.

So for module news change:

/modules/news/include/storyform.inc.php

second line:
$sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", xoops_getenv('PHP_SELF'));

change to:
$sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", xoops_getenv('REQUEST_URI'));

and for admin to change a post:

/modules/news/admin/storyform.inc.php

change:

if(!isset($submit_page)){
$submit_page = $HTTP_SERVER_VARS['PHP_SELF'];
if(strpos($submit_page,"?")) $submit_page = substr($submit_page,0,strpos($submit_page,"?"));
}

to:

if(!isset($submit_page)){
$submit_page = $HTTP_SERVER_VARS['REQUEST_URI'];
if(strpos($submit_page,"?")) $submit_page = substr($submit_page,0,strpos($submit_page,"?"));
}


Hope it helps..

I hope XOOPS team developers notice this post! ;)

Login

Who's Online

468 user(s) are online (320 user(s) are browsing Support Forums)


Members: 0


Guests: 468


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