OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



What is RST_LOADED?

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

What is RST_LOADED?

Postby Guest » Wed Aug 18, 2004 9:03 am

It turns out I need the following statement for the "rst_getMetadata" function (in the 'rstconfig.inc.php' file) to work:

define('RST_LOADED', 1);

But if I include that statement in my code, I keep getting "ACCESS DENIED" on the resulting webpage. If I try to include the rstconfig.int.php or main.inc.php files I get the same thing. I've included the include/common.php file.

I ended up including the rst.php file which has the 'define...' statement in it, but I don't need all the code from that file, just the code that makes the rst_getMetadata function work. Please advise.

Thanks.
Guest
 

Postby kevin » Wed Aug 18, 2004 8:47 pm

That define statement is used to prevent direct access to certain RST PHP files.
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Google [Bot] and 3 guests