Menu

#5 "Error: This page should be called by ..."

open
nobody
5
2003-10-08
2003-10-08
No

I have just installed newsgrab-ui program version
newsgrab-ui-

3.0.2 the program which appears to have very good

potential.

The only problem is it doesnt work, I seem to be have
the

exact same problem that the user who posted this
ERROR

message is also having.

I have tried to look at the php code and figure out what
the

exact problem is but since I am not a programmer I dont
have

the skills to debug the application.

It seems there is some sort of error perhaps with the

index.php file. I can not get the log,rawlog or the
newsgroup

files to list, basically none of the butttons properly call
the

functions like they are supposed to.

I tried manualy logging in and listing the files with
newsgrab-

0.4.0 with the instructions in the README file and
everything

works properly.

Basically one major problem is what ever button I click
on, if

its rawlog, queue log etc it seems to just execute this

command...

else if (!isset($_GET['group'])) { $newsgrab->group_index
();

$newsgrab->html_body_end(); $newsgrab-
>html_status_menu

(); }

which then diplsays this error:

function show_group()

{

if (!isset($_GET['group'])) {

echo "Error: This page should be called by <a

href='index.php'>newsgrab-ui</a>.";

Also when clicking to list the headers and files in any
news

group it fails and the newsgoup it on the server this was

verified using newsgrab-0.4.0 ./newsgrab.pl -s mykey -g

alt.binaries.sounds.mp3.bootlegs. So the issues are not
with

newsgrab-0.4.0 or my newsgroup provider.

Any help would be appreciated.

Regards,

Previous POST::

Submitted By:

Nobody/Anonymous (nobody) Date Submitted:

2003-09-23 16:53

Last Updated By:

lowdrewl - Comment added Date Last Updated:

2003-10-07 22:52

Number of Comments:

2 Number of Attachments:

0

Category: (?)

Web interface Group: (?)

None

Assigned To: (?)

Nobody/Anonymous Priority: (?)

5

Status: (?)

Open Resolution: (?)

None

Summary: (?)

Help with "Error: This page should be called by ..."

I have successfully installed newsgrab and can use the

console to get news items.

I downloaded newsgrab-ui and followed the instructions

detailed on the installation page...

On the index page, everything loads properly (I can see

the list of subscribed newsgroups). However, I

encounter an error when I try to click on a group name

to view its headers:

Everything on the main page shows up, including the

newsgroup name just above the IFRAME, but the content

(header list) does not show up in the IFRAME. However,

this data does seem to exist, as I can view the

IFRAME's source and see the list of news item headers.

The error I'm getting is:

"Error: This page should be called by newsgrab-ui"

where newsgrab-ui is a link that points to index.php.

Any thoughts?

Discussion


Log in to post a comment.